diff options
Diffstat (limited to 'net/dccp/feat.h')
-rw-r--r-- | net/dccp/feat.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/net/dccp/feat.h b/net/dccp/feat.h index 90b957d34d26..0e75cebb2187 100644 --- a/net/dccp/feat.h +++ b/net/dccp/feat.h | |||
@@ -107,13 +107,13 @@ extern unsigned long sysctl_dccp_sequence_window; | |||
107 | extern int sysctl_dccp_rx_ccid; | 107 | extern int sysctl_dccp_rx_ccid; |
108 | extern int sysctl_dccp_tx_ccid; | 108 | extern int sysctl_dccp_tx_ccid; |
109 | 109 | ||
110 | extern int dccp_feat_init(struct sock *sk); | 110 | int dccp_feat_init(struct sock *sk); |
111 | extern void dccp_feat_initialise_sysctls(void); | 111 | void dccp_feat_initialise_sysctls(void); |
112 | extern int dccp_feat_register_sp(struct sock *sk, u8 feat, u8 is_local, | 112 | int dccp_feat_register_sp(struct sock *sk, u8 feat, u8 is_local, |
113 | u8 const *list, u8 len); | 113 | u8 const *list, u8 len); |
114 | extern int dccp_feat_parse_options(struct sock *, struct dccp_request_sock *, | 114 | int dccp_feat_parse_options(struct sock *, struct dccp_request_sock *, |
115 | u8 mand, u8 opt, u8 feat, u8 *val, u8 len); | 115 | u8 mand, u8 opt, u8 feat, u8 *val, u8 len); |
116 | extern int dccp_feat_clone_list(struct list_head const *, struct list_head *); | 116 | int dccp_feat_clone_list(struct list_head const *, struct list_head *); |
117 | 117 | ||
118 | /* | 118 | /* |
119 | * Encoding variable-length options and their maximum length. | 119 | * Encoding variable-length options and their maximum length. |
@@ -127,11 +127,11 @@ extern int dccp_feat_clone_list(struct list_head const *, struct list_head *); | |||
127 | */ | 127 | */ |
128 | #define DCCP_OPTVAL_MAXLEN 6 | 128 | #define DCCP_OPTVAL_MAXLEN 6 |
129 | 129 | ||
130 | extern void dccp_encode_value_var(const u64 value, u8 *to, const u8 len); | 130 | void dccp_encode_value_var(const u64 value, u8 *to, const u8 len); |
131 | extern u64 dccp_decode_value_var(const u8 *bf, const u8 len); | 131 | u64 dccp_decode_value_var(const u8 *bf, const u8 len); |
132 | extern u64 dccp_feat_nn_get(struct sock *sk, u8 feat); | 132 | u64 dccp_feat_nn_get(struct sock *sk, u8 feat); |
133 | 133 | ||
134 | extern int dccp_insert_option_mandatory(struct sk_buff *skb); | 134 | int dccp_insert_option_mandatory(struct sk_buff *skb); |
135 | extern int dccp_insert_fn_opt(struct sk_buff *skb, u8 type, u8 feat, | 135 | int dccp_insert_fn_opt(struct sk_buff *skb, u8 type, u8 feat, u8 *val, u8 len, |
136 | u8 *val, u8 len, bool repeat_first); | 136 | bool repeat_first); |
137 | #endif /* _DCCP_FEAT_H */ | 137 | #endif /* _DCCP_FEAT_H */ |