diff options
Diffstat (limited to 'net/dccp/ackvec.h')
-rw-r--r-- | net/dccp/ackvec.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/net/dccp/ackvec.h b/net/dccp/ackvec.h index 92f65b0fef5b..b757e9b4110f 100644 --- a/net/dccp/ackvec.h +++ b/net/dccp/ackvec.h | |||
@@ -118,6 +118,7 @@ extern int dccp_ackvec_parse(struct sock *sk, const struct sk_buff *skb, | |||
118 | const u8 *value, const u8 len); | 118 | const u8 *value, const u8 len); |
119 | 119 | ||
120 | extern int dccp_ackvec_update_records(struct dccp_ackvec *av, u64 seq, u8 sum); | 120 | extern int dccp_ackvec_update_records(struct dccp_ackvec *av, u64 seq, u8 sum); |
121 | extern void dccp_ackvec_clear_state(struct dccp_ackvec *av, const u64 ackno); | ||
121 | extern u16 dccp_ackvec_buflen(const struct dccp_ackvec *av); | 122 | extern u16 dccp_ackvec_buflen(const struct dccp_ackvec *av); |
122 | 123 | ||
123 | static inline bool dccp_ackvec_is_empty(const struct dccp_ackvec *av) | 124 | static inline bool dccp_ackvec_is_empty(const struct dccp_ackvec *av) |
@@ -149,6 +150,11 @@ static inline int dccp_ackvec_add(struct dccp_ackvec *av, const struct sock *sk, | |||
149 | return -1; | 150 | return -1; |
150 | } | 151 | } |
151 | 152 | ||
153 | static inline void dccp_ackvec_clear_state(struct dccp_ackvec *av, | ||
154 | const u64 ackno) | ||
155 | { | ||
156 | } | ||
157 | |||
152 | static inline void dccp_ackvec_check_rcv_ackno(struct dccp_ackvec *av, | 158 | static inline void dccp_ackvec_check_rcv_ackno(struct dccp_ackvec *av, |
153 | struct sock *sk, const u64 ackno) | 159 | struct sock *sk, const u64 ackno) |
154 | { | 160 | { |