Home
last modified time | relevance | path

Searched refs:twsk_prot (Results 1 - 16 of 16) sorted by relevance

/kernel/linux/linux-5.10/include/net/
H A 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()
H A Dsock.h1268 struct timewait_sock_ops *twsk_prot; member
/kernel/linux/linux-6.6/include/net/
H A 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()
H A Dsock.h1355 struct timewait_sock_ops *twsk_prot; member
/kernel/linux/linux-6.6/net/core/
H A Dsock.c3847 static void tw_prot_cleanup(struct timewait_sock_ops *twsk_prot) in tw_prot_cleanup() argument
3849 if (!twsk_prot) in tw_prot_cleanup()
3851 kfree(twsk_prot->twsk_slab_name); in tw_prot_cleanup()
3852 twsk_prot->twsk_slab_name = NULL; in tw_prot_cleanup()
3853 kmem_cache_destroy(twsk_prot->twsk_slab); in tw_prot_cleanup()
3854 twsk_prot->twsk_slab = NULL; in tw_prot_cleanup()
3859 struct timewait_sock_ops *twsk_prot = prot->twsk_prot; in tw_prot_init() local
3861 if (!twsk_prot) in tw_prot_init()
3864 twsk_prot in tw_prot_init()
[all...]
/kernel/linux/linux-5.10/net/ipv4/
H A 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()
H A Dtcp_ipv4.c2838 .twsk_prot = &tcp_timewait_sock_ops,
/kernel/linux/linux-6.6/net/ipv4/
H A Dinet_timewait_sock.c80 kmem_cache_free(tw->tw_prot->twsk_prot->twsk_slab, tw); in inet_twsk_free()
185 tw = kmem_cache_alloc(sk->sk_prot_creator->twsk_prot->twsk_slab, in inet_twsk_alloc()
H A Dtcp_ipv4.c3150 .twsk_prot = &tcp_timewait_sock_ops,
/kernel/linux/linux-5.10/net/core/
H A Dsock.c3452 static void tw_prot_cleanup(struct timewait_sock_ops *twsk_prot) in tw_prot_cleanup() argument
3454 if (!twsk_prot) in tw_prot_cleanup()
3456 kfree(twsk_prot->twsk_slab_name); in tw_prot_cleanup()
3457 twsk_prot->twsk_slab_name = NULL; in tw_prot_cleanup()
3458 kmem_cache_destroy(twsk_prot->twsk_slab); in tw_prot_cleanup()
3459 twsk_prot->twsk_slab = NULL; in tw_prot_cleanup()
3518 if (prot->twsk_prot != NULL) { in proto_register()
3519 prot->twsk_prot->twsk_slab_name = kasprintf(GFP_KERNEL, "tw_sock_%s", prot->name); in proto_register()
3521 if (prot->twsk_prot->twsk_slab_name == NULL) in proto_register()
3524 prot->twsk_prot in proto_register()
[all...]
/kernel/linux/linux-5.10/net/dccp/
H A Dipv4.c964 .twsk_prot = &dccp_timewait_sock_ops,
H A Dipv6.c1047 .twsk_prot = &dccp6_timewait_sock_ops,
/kernel/linux/linux-6.6/net/dccp/
H A Dipv4.c980 .twsk_prot = &dccp_timewait_sock_ops,
H A Dipv6.c1062 .twsk_prot = &dccp6_timewait_sock_ops,
/kernel/linux/linux-5.10/net/ipv6/
H A Dtcp_ipv6.c2163 .twsk_prot = &tcp6_timewait_sock_ops,
/kernel/linux/linux-6.6/net/ipv6/
H A Dtcp_ipv6.c2185 .twsk_prot = &tcp6_timewait_sock_ops,

Completed in 45 milliseconds