aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/tcp.h
diff options
context:
space:
mode:
authorOctavian Purdila <octavian.purdila@intel.com>2014-06-25 10:09:57 -0400
committerDavid S. Miller <davem@davemloft.net>2014-06-27 18:53:36 -0400
commit936b8bdb53f90840e658904530f9db8d02ac804b (patch)
treee3886a46d0391a200db08fac4257fc64020990e5 /include/net/tcp.h
parent9403715977075c89b1dbcdd7713ab542807a04ac (diff)
tcp: add init_seq method to tcp_request_sock_ops
More work in preparation of unifying tcp_v4_conn_request and tcp_v6_conn_request: indirect the init sequence calls via the tcp_request_sock_ops. 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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/tcp.h b/include/net/tcp.h
index 59fcc5934c79..8cacf0d6ed4d 100644
--- a/include/net/tcp.h
+++ b/include/net/tcp.h
@@ -1608,6 +1608,7 @@ struct tcp_request_sock_ops {
1608 struct dst_entry *(*route_req)(struct sock *sk, struct flowi *fl, 1608 struct dst_entry *(*route_req)(struct sock *sk, struct flowi *fl,
1609 const struct request_sock *req, 1609 const struct request_sock *req,
1610 bool *strict); 1610 bool *strict);
1611 __u32 (*init_seq)(const struct sk_buff *skb);
1611}; 1612};
1612 1613
1613#ifdef CONFIG_SYN_COOKIES 1614#ifdef CONFIG_SYN_COOKIES