Home
last modified time | relevance | path

Searched refs:twsk_prot (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.15/include/net/
Dtimewait_sock.h25 if (sk->sk_prot->twsk_prot->twsk_unique != NULL) in twsk_unique()
26 return sk->sk_prot->twsk_prot->twsk_unique(sk, sktw, twp); in twsk_unique()
32 if (sk->sk_prot->twsk_prot->twsk_destructor != NULL) in twsk_destructor()
33 sk->sk_prot->twsk_prot->twsk_destructor(sk); in twsk_destructor()
Dsock.h1243 struct timewait_sock_ops *twsk_prot; member
/Linux-v5.15/net/core/
Dsock.c3566 static void tw_prot_cleanup(struct timewait_sock_ops *twsk_prot) in tw_prot_cleanup() argument
3568 if (!twsk_prot) in tw_prot_cleanup()
3570 kfree(twsk_prot->twsk_slab_name); in tw_prot_cleanup()
3571 twsk_prot->twsk_slab_name = NULL; in tw_prot_cleanup()
3572 kmem_cache_destroy(twsk_prot->twsk_slab); in tw_prot_cleanup()
3573 twsk_prot->twsk_slab = NULL; in tw_prot_cleanup()
3578 struct timewait_sock_ops *twsk_prot = prot->twsk_prot; in tw_prot_init() local
3580 if (!twsk_prot) in tw_prot_init()
3583 twsk_prot->twsk_slab_name = kasprintf(GFP_KERNEL, "tw_sock_%s", in tw_prot_init()
3585 if (!twsk_prot->twsk_slab_name) in tw_prot_init()
[all …]
/Linux-v5.15/net/ipv4/
Dinet_timewait_sock.c73 kmem_cache_free(tw->tw_prot->twsk_prot->twsk_slab, tw); in inet_twsk_free()
164 tw = kmem_cache_alloc(sk->sk_prot_creator->twsk_prot->twsk_slab, in inet_twsk_alloc()
Dtcp_ipv4.c3091 .twsk_prot = &tcp_timewait_sock_ops,
/Linux-v5.15/net/dccp/
Dipv4.c972 .twsk_prot = &dccp_timewait_sock_ops,
Dipv6.c1057 .twsk_prot = &dccp6_timewait_sock_ops,
/Linux-v5.15/net/ipv6/
Dtcp_ipv6.c2198 .twsk_prot = &tcp6_timewait_sock_ops,