diff options
author | Gerrit Renker <gerrit@erg.abdn.ac.uk> | 2007-12-13 12:38:11 -0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 14:57:52 -0800 |
commit | af3b867e2f6b72422bc7aacb1f1e26f47a9649bc (patch) | |
tree | c675b01b9f1ae5099ea0be7c13942f6e2a98a676 /net/dccp/dccp.h | |
parent | b4d4f7c70fd3361c6c889752e08ea9be304cf5f4 (diff) | |
download | op-kernel-dev-af3b867e2f6b72422bc7aacb1f1e26f47a9649bc.zip op-kernel-dev-af3b867e2f6b72422bc7aacb1f1e26f47a9649bc.tar.gz |
[DCCP]: Support inserting options during the 3-way handshake
This provides a separate routine to insert options during the initial handshake.
The main purpose is to conduct feature negotiation, for the moment the only user
is the timestamp echo needed for the (CCID3) handshake RTT sample.
Padding of options has been put into a small separate routine, to be shared among
the two functions. This could also be used as a generic routine to finish inserting
options.
Also removed an `XXX' comment since its content was obvious.
Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
Signed-off-by: Ian McDonald <ian.mcdonald@jandi.co.nz>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
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 3af3320..b138e20 100644 --- a/net/dccp/dccp.h +++ b/net/dccp/dccp.h @@ -428,6 +428,7 @@ static inline int dccp_ack_pending(const struct sock *sk) } extern int dccp_insert_options(struct sock *sk, struct sk_buff *skb); +extern int dccp_insert_options_rsk(struct dccp_request_sock*, struct sk_buff*); extern int dccp_insert_option_elapsed_time(struct sock *sk, struct sk_buff *skb, u32 elapsed_time); |