Searched refs:twsk_prot (Results 1 – 8 of 8) sorted by relevance
| /Linux-v5.4/include/net/ |
| 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()
|
| D | sock.h | 1164 struct timewait_sock_ops *twsk_prot; member
|
| /Linux-v5.4/net/ipv4/ |
| 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()
|
| D | tcp_ipv4.c | 2607 .twsk_prot = &tcp_timewait_sock_ops,
|
| /Linux-v5.4/net/core/ |
| D | sock.c | 3391 if (prot->twsk_prot != NULL) { in proto_register() 3392 prot->twsk_prot->twsk_slab_name = kasprintf(GFP_KERNEL, "tw_sock_%s", prot->name); in proto_register() 3394 if (prot->twsk_prot->twsk_slab_name == NULL) in proto_register() 3397 prot->twsk_prot->twsk_slab = in proto_register() 3398 kmem_cache_create(prot->twsk_prot->twsk_slab_name, in proto_register() 3399 prot->twsk_prot->twsk_obj_size, in proto_register() 3404 if (prot->twsk_prot->twsk_slab == NULL) in proto_register() 3420 if (alloc_slab && prot->twsk_prot) in proto_register() 3421 kfree(prot->twsk_prot->twsk_slab_name); in proto_register() 3446 if (prot->twsk_prot != NULL && prot->twsk_prot->twsk_slab != NULL) { in proto_unregister() [all …]
|
| /Linux-v5.4/net/dccp/ |
| D | ipv4.c | 962 .twsk_prot = &dccp_timewait_sock_ops,
|
| D | ipv6.c | 1050 .twsk_prot = &dccp6_timewait_sock_ops,
|
| /Linux-v5.4/net/ipv6/ |
| D | tcp_ipv6.c | 2042 .twsk_prot = &tcp6_timewait_sock_ops,
|