linux/net/dccp
Gerrit Renker 7e87fe8430 dccp ccid-2: Separate option parsing from CCID processing
This patch replaces an almost identical replication of code: large parts
of dccp_parse_options() re-appeared as ccid2_ackvector() in ccid2.c.

Apart from the duplication, this caused two more problems:
 1. CCIDs should not need to be concerned with parsing header options;
 2. one can not assume that Ack Vectors appear as a contiguous area within an
    skb, it is legal to insert other options and/or padding in between. The
    current code would throw an error and stop reading in such a case.

Since Ack Vectors provide CCID-specific information, they are now processed
by the CCID directly, separating this functionality from the main DCCP code.

Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
2010-11-15 07:12:01 +01:00
..
ccids dccp ccid-2: Separate option parsing from CCID processing 2010-11-15 07:12:01 +01:00
ackvec.c dccp ccid-2: Separate option parsing from CCID processing 2010-11-15 07:12:01 +01:00
ackvec.h dccp ccid-2: Separate option parsing from CCID processing 2010-11-15 07:12:01 +01:00
ccid.c
ccid.h dccp: Return-value convention of hc_tx_send_packet() 2010-10-28 10:27:00 -07:00
dccp.h dccp ccid-2: Implementation of circular Ack Vector buffer with overflow handling 2010-11-10 21:21:35 +01:00
diag.c
feat.c
feat.h
input.c dccp ccid-2: Consolidate Ack-Vector processing within main DCCP module 2010-11-15 07:11:59 +01:00
ipv4.c
ipv6.c
ipv6.h
Kconfig
Makefile
minisocks.c
options.c dccp ccid-2: Separate option parsing from CCID processing 2010-11-15 07:12:01 +01:00
output.c dccp ccid-2: Schedule Sync as out-of-band mechanism 2010-11-15 07:12:00 +01:00
probe.c
proto.c dccp: Refine the wait-for-ccid mechanism 2010-10-28 10:27:01 -07:00
sysctl.c
timer.c dccp: Refine the wait-for-ccid mechanism 2010-10-28 10:27:01 -07:00