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>
This commit is contained in:
committed by
David S. Miller
parent
695da14eb0
commit
1fb6f159fd
@@ -1574,6 +1574,9 @@ void tcp4_proc_exit(void);
|
||||
#endif
|
||||
|
||||
int tcp_rtx_synack(struct sock *sk, struct request_sock *req);
|
||||
int tcp_conn_request(struct request_sock_ops *rsk_ops,
|
||||
const struct tcp_request_sock_ops *af_ops,
|
||||
struct sock *sk, struct sk_buff *skb);
|
||||
|
||||
/* TCP af-specific functions */
|
||||
struct tcp_sock_af_ops {
|
||||
|
||||
Reference in New Issue
Block a user