diff options
author | Gerrit Renker <gerrit@erg.abdn.ac.uk> | 2008-09-04 07:30:19 +0200 |
---|---|---|
committer | Gerrit Renker <gerrit@erg.abdn.ac.uk> | 2008-09-04 07:45:27 +0200 |
commit | 668144f7b41716a9efe1b398e15ead32a26cd101 (patch) | |
tree | ed535a5e2e2dc2dd8509336d2682aeaae66e4c00 /net/ipv6 | |
parent | d4c8741c431e07cfc66eb2b4c3a17b8d4975d9c0 (diff) | |
download | op-kernel-dev-668144f7b41716a9efe1b398e15ead32a26cd101.zip op-kernel-dev-668144f7b41716a9efe1b398e15ead32a26cd101.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>
Diffstat (limited to 'net/ipv6')
0 files changed, 0 insertions, 0 deletions