diff options
author | Gerrit Renker <gerrit@erg.abdn.ac.uk> | 2008-11-16 22:49:52 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-11-16 22:49:52 -0800 |
commit | 0c1168398ecbfacbb27203b281bde20ec9f78017 (patch) | |
tree | 3298379e950bba174b46e53102f265829340fa6d /net/dccp/dccp.h | |
parent | 3f2c31d90327f21d76d296af34aa4ca547932ff4 (diff) | |
download | talos-obmc-linux-0c1168398ecbfacbb27203b281bde20ec9f78017.tar.gz talos-obmc-linux-0c1168398ecbfacbb27203b281bde20ec9f78017.zip |
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>
Diffstat (limited to 'net/dccp/dccp.h')
-rw-r--r-- | net/dccp/dccp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/dccp/dccp.h b/net/dccp/dccp.h index 1881527bdcd7..e656dafb5d96 100644 --- a/net/dccp/dccp.h +++ b/net/dccp/dccp.h @@ -443,6 +443,7 @@ static inline int dccp_ack_pending(const struct sock *sk) } extern int dccp_feat_finalise_settings(struct dccp_sock *dp); +extern int dccp_feat_server_ccid_dependencies(struct dccp_request_sock *dreq); extern void dccp_feat_list_purge(struct list_head *fn_list); extern int dccp_insert_options(struct sock *sk, struct sk_buff *skb); |