dccp: Process incoming Change feature-negotiation options
authorGerrit Renker <gerrit@erg.abdn.ac.uk>
Tue, 2 Dec 2008 07:32:35 +0000 (23:32 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 2 Dec 2008 07:32:35 +0000 (23:32 -0800)
commite77b8363b2ea7c0d89919547c1a8b0562f298b57
tree9fdef240be3aeb49c012fd00d41f9ee90afe776c
parent75757a7d0c54f8fdd414c74a6005d275032b0115
dccp: Process incoming Change feature-negotiation options

This adds/replaces code for processing incoming ChangeL/R options.
The main difference is that:
 * mandatory FN options are now interpreted inside the function
  (there are too many individual cases to do this externally);
 * the function returns an appropriate Reset code or 0,
   which is then used to fill in the data for the Reset packet.

Old code, which is no longer used or referenced, has been removed.

Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dccp/feat.c
net/dccp/feat.h
net/dccp/options.c