diff options
author | Octavian Purdila <octavian.purdila@intel.com> | 2014-06-25 10:09:53 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-06-27 18:53:35 -0400 |
commit | 16bea70aa7302b6f3bf3502d5a0efb4ea2ce4712 (patch) | |
tree | c4ea18d24ad49b0ebb47211e810dd50e1b67f404 /include/net/tcp.h | |
parent | 476eab8251641ea2ae4666ca8a1436ebc2b8e9c3 (diff) |
tcp: add init_req method to tcp_request_sock_ops
Move the specific IPv4/IPv6 intializations to a new method in
tcp_request_sock_ops in preparation for unifying 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 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/tcp.h b/include/net/tcp.h index 39e47c4e4f19..7ad8ce296c3b 100644 --- a/include/net/tcp.h +++ b/include/net/tcp.h | |||
@@ -1613,6 +1613,8 @@ struct tcp_request_sock_ops { | |||
1613 | const struct request_sock *req, | 1613 | const struct request_sock *req, |
1614 | const struct sk_buff *skb); | 1614 | const struct sk_buff *skb); |
1615 | #endif | 1615 | #endif |
1616 | void (*init_req)(struct request_sock *req, struct sock *sk, | ||
1617 | struct sk_buff *skb); | ||
1616 | }; | 1618 | }; |
1617 | 1619 | ||
1618 | int tcpv4_offload_init(void); | 1620 | int tcpv4_offload_init(void); |