tmp_suning_uos_patched/net/dccp
Gerrit Renker 49aebc66d6 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>
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-11-16 22:51:23 -08:00
..
ccids dccp: Registration routines for changing feature values 2008-11-12 00:43:40 -08:00
ackvec.c This reverts "Merge branch 'dccp' of git://eden-feed.erg.abdn.ac.uk/dccp_exp" 2008-09-09 13:27:22 +02:00
ackvec.h This reverts "Merge branch 'dccp' of git://eden-feed.erg.abdn.ac.uk/dccp_exp" 2008-09-09 13:27:22 +02:00
ccid.c dccp: Query supported CCIDs 2008-11-12 00:47:26 -08:00
ccid.h dccp: Query supported CCIDs 2008-11-12 00:47:26 -08:00
dccp.h dccp: Mechanism to resolve CCID dependencies 2008-11-16 22:49:52 -08:00
diag.c This reverts "Merge branch 'dccp' of git://eden-feed.erg.abdn.ac.uk/dccp_exp" 2008-09-09 13:27:22 +02:00
feat.c dccp: Deprecate old setsockopt framework 2008-11-16 22:51:23 -08:00
feat.h dccp: Deprecate old setsockopt framework 2008-11-16 22:51:23 -08:00
input.c dccp: Per-socket initialisation of feature negotiation 2008-11-04 23:55:49 -08:00
ipv4.c net: Convert TCP & DCCP hash tables to use RCU / hlist_nulls 2008-11-16 19:40:17 -08:00
ipv6.c net: Convert TCP & DCCP hash tables to use RCU / hlist_nulls 2008-11-16 19:40:17 -08:00
ipv6.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
Kconfig This reverts "Merge branch 'dccp' of git://eden-feed.erg.abdn.ac.uk/dccp_exp" 2008-09-09 13:27:22 +02:00
Makefile This reverts "Merge branch 'dccp' of git://eden-feed.erg.abdn.ac.uk/dccp_exp" 2008-09-09 13:27:22 +02:00
minisocks.c dccp: Per-socket initialisation of feature negotiation 2008-11-04 23:55:49 -08:00
options.c dccp: Limit feature negotiation to connection setup phase 2008-11-12 00:42:58 -08:00
output.c dccp: Mechanism to resolve CCID dependencies 2008-11-16 22:49:52 -08:00
probe.c net: replace NIPQUAD() in net/*/ 2008-10-31 00:54:56 -07:00
proto.c dccp: Deprecate old setsockopt framework 2008-11-16 22:51:23 -08:00
sysctl.c This reverts "Merge branch 'dccp' of git://eden-feed.erg.abdn.ac.uk/dccp_exp" 2008-09-09 13:27:22 +02:00
timer.c dccp: Limit feature negotiation to connection setup phase 2008-11-12 00:42:58 -08:00