aboutsummaryrefslogtreecommitdiff
path: root/net/dccp/ackvec.h
diff options
context:
space:
mode:
authorGerrit Renker <gerrit@erg.abdn.ac.uk>2010-11-10 21:21:02 +0100
committerGerrit Renker <gerrit@erg.abdn.ac.uk>2010-11-10 21:21:02 +0100
commit7d870936602533836bba821bd5c679c62c52a95f (patch)
tree35ffc317699b1700b27dfd8c5da4512d87848e65 /net/dccp/ackvec.h
parentf17a37c9b8c4b32c01e501a84fa6f30e344c6110 (diff)
dccp ccid-2: Separate internals of Ack Vectors from option-parsing code
This patch * separates Ack Vector housekeeping code from option-insertion code; * shifts option-specific code from ackvec.c into options.c; * introduces a dedicated routine to take care of the Ack Vector records; * simplifies the dccp_ackvec_insert_avr() routine: the BUG_ON was redundant, since the list is automatically arranged in descending order of ack_seqno. Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
Diffstat (limited to 'net/dccp/ackvec.h')
-rw-r--r--net/dccp/ackvec.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/dccp/ackvec.h b/net/dccp/ackvec.h
index ebcbbc726cff..3e894a0173a7 100644
--- a/net/dccp/ackvec.h
+++ b/net/dccp/ackvec.h
@@ -111,7 +111,7 @@ extern int dccp_ackvec_parse(struct sock *sk, const struct sk_buff *skb,
u64 *ackno, const u8 opt,
const u8 *value, const u8 len);
-extern int dccp_insert_option_ackvec(struct sock *sk, struct sk_buff *skb);
+extern int dccp_ackvec_update_records(struct dccp_ackvec *av, u64 seq, u8 sum);
static inline int dccp_ackvec_pending(const struct dccp_ackvec *av)
{