kernel-ark/net/dccp
Gerrit Renker 668144f7b4 dccp: Deprecate old setsockopt framework
The previous setsockopt interface, which passed socket options via struct 
dccp_so_feat, is complicated/difficult to use. Continuing to support it leads to
ugly code since the old approach did not distinguish between NN and SP values.

This patch removes the old setsockopt interface and replaces it with two new
functions to register NN/SP values for feature negotiation. These are 
essentially wrappers around the internal __feat_register functions, with 
checking added to avoid
 * wrong usage (type);
 * changing values while the connection is in progress.

Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
2008-09-04 07:45:27 +02:00
..
ccids dccp: Registration routines for changing feature values 2008-09-04 07:45:27 +02:00
ackvec.c dccp: Fix sparse warnings 2008-06-11 11:19:09 +01:00
ackvec.h
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: Mechanism to resolve CCID dependencies 2008-09-04 07:45:27 +02:00
diag.c
feat.c dccp: Deprecate old setsockopt framework 2008-09-04 07:45:27 +02:00
feat.h dccp: Deprecate old setsockopt framework 2008-09-04 07:45:27 +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
Makefile
minisocks.c dccp: Per-socket initialisation of feature negotiation 2008-09-04 07:45:26 +02:00
options.c dccp: Limit feature negotiation to connection setup phase 2008-09-04 07:45:27 +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: Deprecate old setsockopt framework 2008-09-04 07:45:27 +02:00
sysctl.c
timer.c dccp: Limit feature negotiation to connection setup phase 2008-09-04 07:45:27 +02:00