kernel-fxtec-pro1x/net/dccp/ccids
Gerrit Renker 47a61e7b43 dccp ccid-3: Simplify and consolidate tx_parse_options
This simplifies and consolidates the TX option-parsing code:

 1. The Loss Intervals option is not currently used, so dead code related to
    this option is removed. I am aware of no plans to support the option, but
    if someone wants to implement it (e.g. for inter-op tests), it is better
    to start afresh than having to also update currently unused code.

 2. The Loss Event and Receive Rate options have a lot of code in common (both
    are 32 bit, both have same length etc.), so this is consolidated.

 3. The test against GSR is not necessary, because
    - on first loading CCID3, ccid_new() zeroes out all fields in the socket; 
    - ccid3_hc_tx_packet_recv() treats 0 and ~0U equivalently, due to

	pinv = opt_recv->ccid3or_loss_event_rate;
	if (pinv == ~0U || pinv == 0)
		hctx->p = 0;

    - as a result, the sequence number field is removed from opt_recv.
 
Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
2008-09-04 07:45:34 +02:00
..
lib dccp ccid-3: Remove ugly RTT-sampling history lookup 2008-09-04 07:45:34 +02:00
ccid2.c dccp ccid-2: Remove ccid2hc{tx,rx}_ prefixes 2008-09-04 07:45:33 +02:00
ccid2.h dccp ccid-2: Remove ccid2hc{tx,rx}_ prefixes 2008-09-04 07:45:33 +02:00
ccid3.c dccp ccid-3: Simplify and consolidate tx_parse_options 2008-09-04 07:45:34 +02:00
ccid3.h dccp ccid-3: Simplify and consolidate tx_parse_options 2008-09-04 07:45:34 +02:00
Kconfig [TFRC]: Provide central source file and debug facility 2008-01-28 14:56:39 -08:00
Makefile