Searched refs:twsk_prot (Results 1 – 8 of 8) sorted by relevance
| /OK3568_Linux_fs/kernel/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 | 1266 struct timewait_sock_ops *twsk_prot; member
|
| /OK3568_Linux_fs/kernel/net/core/ |
| H A D | sock.c | 3437 static void tw_prot_cleanup(struct timewait_sock_ops *twsk_prot) in tw_prot_cleanup() argument 3439 if (!twsk_prot) in tw_prot_cleanup() 3441 kfree(twsk_prot->twsk_slab_name); in tw_prot_cleanup() 3442 twsk_prot->twsk_slab_name = NULL; in tw_prot_cleanup() 3443 kmem_cache_destroy(twsk_prot->twsk_slab); in tw_prot_cleanup() 3444 twsk_prot->twsk_slab = NULL; in tw_prot_cleanup() 3503 if (prot->twsk_prot != NULL) { in proto_register() 3504 prot->twsk_prot->twsk_slab_name = kasprintf(GFP_KERNEL, "tw_sock_%s", prot->name); in proto_register() 3506 if (prot->twsk_prot->twsk_slab_name == NULL) in proto_register() 3509 prot->twsk_prot->twsk_slab = in proto_register() [all …]
|
| /OK3568_Linux_fs/kernel/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 | 2821 .twsk_prot = &tcp_timewait_sock_ops,
|
| /OK3568_Linux_fs/kernel/net/dccp/ |
| H A D | ipv4.c | 964 .twsk_prot = &dccp_timewait_sock_ops,
|
| H A D | ipv6.c | 1049 .twsk_prot = &dccp6_timewait_sock_ops,
|
| /OK3568_Linux_fs/kernel/net/ipv6/ |
| H A D | tcp_ipv6.c | 2166 .twsk_prot = &tcp6_timewait_sock_ops,
|