Home
last modified time | relevance | path

Searched refs:sktw (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/include/net/
H A Dtimewait_sock.h19 struct sock *sktw, void *twp);
23 static inline int twsk_unique(struct sock *sk, struct sock *sktw, void *twp) in twsk_unique() argument
26 return sk->sk_prot->twsk_prot->twsk_unique(sk, sktw, twp); in twsk_unique()
H A Dtcp.h339 int tcp_twsk_unique(struct sock *sk, struct sock *sktw, void *twp);
/kernel/linux/linux-6.6/include/net/
H A Dtimewait_sock.h19 struct sock *sktw, void *twp);
23 static inline int twsk_unique(struct sock *sk, struct sock *sktw, void *twp) in twsk_unique() argument
26 return sk->sk_prot->twsk_prot->twsk_unique(sk, sktw, twp); in twsk_unique()
H A Dtcp.h345 int tcp_twsk_unique(struct sock *sk, struct sock *sktw, void *twp);
/kernel/linux/linux-5.10/net/ipv4/
H A Dtcp_ipv4.c109 int tcp_twsk_unique(struct sock *sk, struct sock *sktw, void *twp) in tcp_twsk_unique() argument
112 const struct inet_timewait_sock *tw = inet_twsk(sktw); in tcp_twsk_unique()
113 const struct tcp_timewait_sock *tcptw = tcp_twsk(sktw); in tcp_twsk_unique()
159 if (unlikely(!refcount_inc_not_zero(&sktw->sk_refcnt))) in tcp_twsk_unique()
/kernel/linux/linux-6.6/net/ipv4/
H A Dtcp_ipv4.c110 int tcp_twsk_unique(struct sock *sk, struct sock *sktw, void *twp) in tcp_twsk_unique() argument
113 const struct inet_timewait_sock *tw = inet_twsk(sktw); in tcp_twsk_unique()
114 const struct tcp_timewait_sock *tcptw = tcp_twsk(sktw); in tcp_twsk_unique()
177 sock_hold(sktw); in tcp_twsk_unique()

Completed in 17 milliseconds