]> git.baikalelectronics.ru Git - kernel.git/commit
dccp: Mechanism to resolve CCID dependencies
authorGerrit Renker <gerrit@erg.abdn.ac.uk>
Mon, 17 Nov 2008 06:49:52 +0000 (22:49 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 17 Nov 2008 06:49:52 +0000 (22:49 -0800)
commitc91801154771b223f20e4a2602651f366aa7823f
tree3298379e950bba174b46e53102f265829340fa6d
parent2f4b768105b154c3538338a97f354aac2d3663a6
dccp: Mechanism to resolve CCID dependencies

This adds a hook to resolve features whose value depends on the choice of
CCID. It is done at the server since it can only be done after the CCID
values have been negotiated; i.e. the client will add its CCID preference
list on the Change options sent in the Request, which will be reconciled
with the local preference list of the server.

The concept is documented on
http://www.erg.abdn.ac.uk/users/gerrit/dccp/notes/feature_negotiation/\
implementation_notes.html#ccid_dependencies

Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
Acked-by: Ian McDonald <ian.mcdonald@jandi.co.nz>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dccp/dccp.h
net/dccp/feat.c
net/dccp/output.c