alistair23-linux/net/dccp
Gerrit Renker fade756f18 dccp: Set per-connection CCIDs via socket options
With this patch, TX/RX CCIDs can now be changed on a per-connection basis, which
overrides the defaults set by the global sysctl variables for TX/RX CCIDs.

To make full use of this facility, the remaining patches of this patch set are
needed, which track dependencies and activate negotiated feature values.

Note on the maximum number of CCIDs that can be registered:
-----------------------------------------------------------
The maximum number of CCIDs that can be registered on the socket is constrained
by the space in a Confirm/Change feature negotiation option. 

The space in these in turn depends on the size of header options as defined
in RFC 4340, 5.8. Since this is a recurring constant, it has been moved from
ackvec.h into linux/dccp.h, clarifying its purpose.

Relative to this size, the maximum number of CCID identifiers that can be 
present in a Confirm option (which always consumes 1 byte more than a Change
option, cf. 6.1) is 2 bytes less than the maximum TLV size: one for the
CCID-feature-type and one for the selected value.

Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
2008-09-04 07:45:28 +02:00
..
ccids dccp: Registration routines for changing feature values 2008-09-04 07:45:27 +02:00
ackvec.c dccp: Set per-connection CCIDs via socket options 2008-09-04 07:45:28 +02:00
ackvec.h dccp: Set per-connection CCIDs via socket options 2008-09-04 07:45:28 +02:00
ccid.c dccp: Query supported CCIDs 2008-09-04 07:45:27 +02:00
ccid.h dccp: Query supported CCIDs 2008-09-04 07:45:27 +02:00
dccp.h dccp: Deprecate Ack Ratio sysctl 2008-09-04 07:45:28 +02:00
diag.c
feat.c dccp: Deprecate old setsockopt framework 2008-09-04 07:45:27 +02:00
feat.h dccp: Set per-connection CCIDs via socket options 2008-09-04 07:45:28 +02:00
input.c dccp: Per-socket initialisation of feature negotiation 2008-09-04 07:45:26 +02:00
ipv4.c dccp: Cleanup routines for feature negotiation 2008-09-04 07:45:26 +02:00
ipv6.c dccp: Cleanup routines for feature negotiation 2008-09-04 07:45:26 +02:00
ipv6.h
Kconfig [DCCP]: Promote CCID2 as default CCID 2008-01-28 14:54:46 -08:00
Makefile
minisocks.c dccp: Deprecate Ack Ratio sysctl 2008-09-04 07:45:28 +02:00
options.c dccp: Deprecate Ack Ratio sysctl 2008-09-04 07:45:28 +02:00
output.c dccp: Mechanism to resolve CCID dependencies 2008-09-04 07:45:27 +02:00
probe.c dccp: Fix sparse warnings 2008-06-11 11:19:09 +01:00
proto.c dccp: Set per-connection CCIDs via socket options 2008-09-04 07:45:28 +02:00
sysctl.c dccp: Deprecate Ack Ratio sysctl 2008-09-04 07:45:28 +02:00
timer.c dccp: Limit feature negotiation to connection setup phase 2008-09-04 07:45:27 +02:00