diff options
author | Gerrit Renker <gerrit@erg.abdn.ac.uk> | 2008-11-16 22:51:23 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-11-16 22:51:23 -0800 |
commit | 49aebc66d6b896f9c7c5739d85c4548c00015aa7 (patch) | |
tree | 0b12afdd2e742c3eb481aef8d2adcb7b1aeca9f1 /include/asm-x86 | |
parent | 0c1168398ecbfacbb27203b281bde20ec9f78017 (diff) | |
download | op-kernel-dev-49aebc66d6b896f9c7c5739d85c4548c00015aa7.zip op-kernel-dev-49aebc66d6b896f9c7c5739d85c4548c00015aa7.tar.gz |
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>
Diffstat (limited to 'include/asm-x86')
0 files changed, 0 insertions, 0 deletions