aboutsummaryrefslogtreecommitdiffstats
path: root/net/dccp/dccp.h
diff options
context:
space:
mode:
authorGerrit Renker <gerrit@erg.abdn.ac.uk>2008-09-04 01:30:19 -0400
committerGerrit Renker <gerrit@erg.abdn.ac.uk>2008-09-04 01:45:27 -0400
commitd4c8741c431e07cfc66eb2b4c3a17b8d4975d9c0 (patch)
treef7639e6ffb4ca9c71c60df14733a78341453e65e /net/dccp/dccp.h
parent093e1f46cf162913d05e1d4eeb01baa3e297b683 (diff)
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>
Diffstat (limited to 'net/dccp/dccp.h')
-rw-r--r--net/dccp/dccp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/dccp/dccp.h b/net/dccp/dccp.h
index 1881527bdcd..e656dafb5d9 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)
443} 443}
444 444
445extern int dccp_feat_finalise_settings(struct dccp_sock *dp); 445extern int dccp_feat_finalise_settings(struct dccp_sock *dp);
446extern int dccp_feat_server_ccid_dependencies(struct dccp_request_sock *dreq);
446extern void dccp_feat_list_purge(struct list_head *fn_list); 447extern void dccp_feat_list_purge(struct list_head *fn_list);
447 448
448extern int dccp_insert_options(struct sock *sk, struct sk_buff *skb); 449extern int dccp_insert_options(struct sock *sk, struct sk_buff *skb);