OSDN Git Service

tcp: add init_seq method to tcp_request_sock_ops
[sagit-ice-cold/kernel_xiaomi_msm8998.git] / include / net / tcp.h
index 59fcc59..8cacf0d 100644 (file)
@@ -1608,6 +1608,7 @@ struct tcp_request_sock_ops {
        struct dst_entry *(*route_req)(struct sock *sk, struct flowi *fl,
                                       const struct request_sock *req,
                                       bool *strict);
+       __u32 (*init_seq)(const struct sk_buff *skb);
 };
 
 #ifdef CONFIG_SYN_COOKIES