aboutsummaryrefslogtreecommitdiffstats
path: root/net/dccp/ackvec.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/dccp/ackvec.h')
-rw-r--r--net/dccp/ackvec.h6
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
120extern int dccp_ackvec_update_records(struct dccp_ackvec *av, u64 seq, u8 sum); 120extern int dccp_ackvec_update_records(struct dccp_ackvec *av, u64 seq, u8 sum);
121extern void dccp_ackvec_clear_state(struct dccp_ackvec *av, const u64 ackno);
121extern u16 dccp_ackvec_buflen(const struct dccp_ackvec *av); 122extern u16 dccp_ackvec_buflen(const struct dccp_ackvec *av);
122 123
123static inline bool dccp_ackvec_is_empty(const struct dccp_ackvec *av) 124static 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
153static inline void dccp_ackvec_clear_state(struct dccp_ackvec *av,
154 const u64 ackno)
155{
156}
157
152static inline void dccp_ackvec_check_rcv_ackno(struct dccp_ackvec *av, 158static 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{