diff options
author | Gerrit Renker <gerrit@erg.abdn.ac.uk> | 2009-01-16 23:36:30 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-01-21 14:34:04 -0800 |
commit | f90f92eed74251034f251e3cdf4fa5c4c1f09df0 (patch) | |
tree | 85ed44fee79d91d7bf1ebc6624a90e50af46063f /include/linux/dccp.h | |
parent | 5cda9364f1fbc330f0d82f534505a8e375d0a66c (diff) | |
download | op-kernel-dev-f90f92eed74251034f251e3cdf4fa5c4c1f09df0.zip op-kernel-dev-f90f92eed74251034f251e3cdf4fa5c4c1f09df0.tar.gz |
dccp: Initialisation framework for feature negotiation
This initialises feature negotiation from two tables, which are in
turn are initialised from sysctls.
As a novel feature, specifics of the implementation (e.g. that short
seqnos and ECN are not yet available) are advertised for robustness.
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 'include/linux/dccp.h')
-rw-r--r-- | include/linux/dccp.h | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/include/linux/dccp.h b/include/linux/dccp.h index 61734e2..990e97f 100644 --- a/include/linux/dccp.h +++ b/include/linux/dccp.h @@ -369,28 +369,9 @@ static inline unsigned int dccp_hdr_len(const struct sk_buff *skb) * Will be used to pass the state from dccp_request_sock to dccp_sock. * * @dccpms_sequence_window - Sequence Window Feature (section 7.5.2) - * @dccpms_pending - List of features being negotiated - * @dccpms_conf - */ struct dccp_minisock { __u64 dccpms_sequence_window; - struct list_head dccpms_pending; - struct list_head dccpms_conf; -}; - -struct dccp_opt_conf { - __u8 *dccpoc_val; - __u8 dccpoc_len; -}; - -struct dccp_opt_pend { - struct list_head dccpop_node; - __u8 dccpop_type; - __u8 dccpop_feat; - __u8 *dccpop_val; - __u8 dccpop_len; - int dccpop_conf; - struct dccp_opt_conf *dccpop_sc; }; extern void dccp_minisock_init(struct dccp_minisock *dmsk); |