diff options
author | Arnaldo Carvalho de Melo <acme@ghostprotocols.net> | 2005-08-09 23:11:24 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2005-08-29 18:49:20 -0400 |
commit | 9f1d2604c71498579609b1532fedc5a89276bb00 (patch) | |
tree | b87d6b9a610f015889b0b1f91b8669adfb600763 /include | |
parent | 3f421baa4720b708022f8bcc52a61e5cd6f10bf8 (diff) |
[ICSK]: Introduce inet_csk_clone
Signed-off-by: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/net/inet_connection_sock.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/net/inet_connection_sock.h b/include/net/inet_connection_sock.h index 97e002001c1a..a50f4a4b7b4b 100644 --- a/include/net/inet_connection_sock.h +++ b/include/net/inet_connection_sock.h | |||
@@ -77,6 +77,10 @@ static inline struct inet_connection_sock *inet_csk(const struct sock *sk) | |||
77 | return (struct inet_connection_sock *)sk; | 77 | return (struct inet_connection_sock *)sk; |
78 | } | 78 | } |
79 | 79 | ||
80 | extern struct sock *inet_csk_clone(struct sock *sk, | ||
81 | const struct request_sock *req, | ||
82 | const unsigned int __nocast priority); | ||
83 | |||
80 | enum inet_csk_ack_state_t { | 84 | enum inet_csk_ack_state_t { |
81 | ICSK_ACK_SCHED = 1, | 85 | ICSK_ACK_SCHED = 1, |
82 | ICSK_ACK_TIMER = 2, | 86 | ICSK_ACK_TIMER = 2, |