diff options
author | Octavian Purdila <octavian.purdila@intel.com> | 2014-06-25 10:10:02 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-06-27 18:53:37 -0400 |
commit | 1fb6f159fd21c640a28eb65fbd62ce8c9f6a777e (patch) | |
tree | b7ba1708058d6c13ee686da1fce92a7d71b84c0f /include/net/tcp.h | |
parent | 695da14eb0af21129187ed3810e329b21262e45f (diff) |
tcp: add tcp_conn_request
Create tcp_conn_request and remove most of the code from
tcp_v4_conn_request and tcp_v6_conn_request.
Signed-off-by: Octavian Purdila <octavian.purdila@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/tcp.h')
-rw-r--r-- | include/net/tcp.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/net/tcp.h b/include/net/tcp.h index cec6e2cf0610..0d5389aecf18 100644 --- a/include/net/tcp.h +++ b/include/net/tcp.h | |||
@@ -1574,6 +1574,9 @@ void tcp4_proc_exit(void); | |||
1574 | #endif | 1574 | #endif |
1575 | 1575 | ||
1576 | int tcp_rtx_synack(struct sock *sk, struct request_sock *req); | 1576 | int tcp_rtx_synack(struct sock *sk, struct request_sock *req); |
1577 | int tcp_conn_request(struct request_sock_ops *rsk_ops, | ||
1578 | const struct tcp_request_sock_ops *af_ops, | ||
1579 | struct sock *sk, struct sk_buff *skb); | ||
1577 | 1580 | ||
1578 | /* TCP af-specific functions */ | 1581 | /* TCP af-specific functions */ |
1579 | struct tcp_sock_af_ops { | 1582 | struct tcp_sock_af_ops { |