Searched refs:twsk_prot (Results 1 - 16 of 16) sorted by relevance
/kernel/linux/linux-5.10/include/net/ |
H A D | timewait_sock.h | 25 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 D | sock.h | 1268 struct timewait_sock_ops *twsk_prot; member
|
/kernel/linux/linux-6.6/include/net/ |
H A D | timewait_sock.h | 25 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 D | sock.h | 1355 struct timewait_sock_ops *twsk_prot; member
|
/kernel/linux/linux-6.6/net/core/ |
H A D | sock.c | 3847 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 D | inet_timewait_sock.c | 73 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 D | tcp_ipv4.c | 2838 .twsk_prot = &tcp_timewait_sock_ops,
|
/kernel/linux/linux-6.6/net/ipv4/ |
H A D | inet_timewait_sock.c | 80 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 D | tcp_ipv4.c | 3150 .twsk_prot = &tcp_timewait_sock_ops,
|
/kernel/linux/linux-5.10/net/core/ |
H A D | sock.c | 3452 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 D | ipv4.c | 964 .twsk_prot = &dccp_timewait_sock_ops,
|
H A D | ipv6.c | 1047 .twsk_prot = &dccp6_timewait_sock_ops,
|
/kernel/linux/linux-6.6/net/dccp/ |
H A D | ipv4.c | 980 .twsk_prot = &dccp_timewait_sock_ops,
|
H A D | ipv6.c | 1062 .twsk_prot = &dccp6_timewait_sock_ops,
|
/kernel/linux/linux-5.10/net/ipv6/ |
H A D | tcp_ipv6.c | 2163 .twsk_prot = &tcp6_timewait_sock_ops,
|
/kernel/linux/linux-6.6/net/ipv6/ |
H A D | tcp_ipv6.c | 2185 .twsk_prot = &tcp6_timewait_sock_ops,
|
Completed in 45 milliseconds