summaryrefslogtreecommitdiffstats
path: root/net/dccp/feat.h
diff options
context:
space:
mode:
authorGerrit Renker <gerrit@erg.abdn.ac.uk>2008-11-24 01:09:11 +0100
committerDavid S. Miller <davem@davemloft.net>2008-11-24 01:09:11 +0100
commitd371056695ef993d36c57b73d654e66080377a9c (patch)
tree85e587e5558cf00232d8b24b4e28a390d3856d2a /net/dccp/feat.h
parentdccp: Increase the scope of variable-length htonl/ntohl functions (diff)
downloadlinux-d371056695ef993d36c57b73d654e66080377a9c.tar.xz
linux-d371056695ef993d36c57b73d654e66080377a9c.zip
dccp: Support for Mandatory options
Support for Mandatory options is provided by this patch, which will be used by subsequent feature-negotiation patches. Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk> Acked-by: Ian McDonald <ian.mcdonald@jandi.co.nz> Acked-by: Arnaldo Carvalho de Melo <acme@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dccp/feat.h')
-rw-r--r--net/dccp/feat.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/dccp/feat.h b/net/dccp/feat.h
index a8ab9e1e8b17..f8e4878dfc28 100644
--- a/net/dccp/feat.h
+++ b/net/dccp/feat.h
@@ -139,4 +139,6 @@ extern int dccp_feat_init(struct sock *sk);
extern void dccp_encode_value_var(const u64 value, u8 *to, const u8 len);
extern u64 dccp_decode_value_var(const u8 *bf, const u8 len);
+
+extern int dccp_insert_option_mandatory(struct sk_buff *skb);
#endif /* _DCCP_FEAT_H */