Home
last modified time | relevance | path

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

/Linux-v4.19/include/net/
Dtimewait_sock.h29 if (sk->sk_prot->twsk_prot->twsk_unique != NULL) in twsk_unique()
30 return sk->sk_prot->twsk_prot->twsk_unique(sk, sktw, twp); in twsk_unique()
36 if (sk->sk_prot->twsk_prot->twsk_destructor != NULL) in twsk_destructor()
37 sk->sk_prot->twsk_prot->twsk_destructor(sk); in twsk_destructor()
Dsock.h1145 struct timewait_sock_ops *twsk_prot; member
/Linux-v4.19/net/ipv4/
Dinet_timewait_sock.c72 kmem_cache_free(tw->tw_prot->twsk_prot->twsk_slab, tw); in inet_twsk_free()
163 tw = kmem_cache_alloc(sk->sk_prot_creator->twsk_prot->twsk_slab, in inet_twsk_alloc()
Dtcp_ipv4.c2483 .twsk_prot = &tcp_timewait_sock_ops,
/Linux-v4.19/net/core/
Dsock.c3274 if (prot->twsk_prot != NULL) { in proto_register()
3275 prot->twsk_prot->twsk_slab_name = kasprintf(GFP_KERNEL, "tw_sock_%s", prot->name); in proto_register()
3277 if (prot->twsk_prot->twsk_slab_name == NULL) in proto_register()
3280 prot->twsk_prot->twsk_slab = in proto_register()
3281 kmem_cache_create(prot->twsk_prot->twsk_slab_name, in proto_register()
3282 prot->twsk_prot->twsk_obj_size, in proto_register()
3287 if (prot->twsk_prot->twsk_slab == NULL) in proto_register()
3299 kfree(prot->twsk_prot->twsk_slab_name); in proto_register()
3322 if (prot->twsk_prot != NULL && prot->twsk_prot->twsk_slab != NULL) { in proto_unregister()
3323 kmem_cache_destroy(prot->twsk_prot->twsk_slab); in proto_unregister()
[all …]
/Linux-v4.19/net/dccp/
Dipv4.c963 .twsk_prot = &dccp_timewait_sock_ops,
Dipv6.c1050 .twsk_prot = &dccp6_timewait_sock_ops,
/Linux-v4.19/net/ipv6/
Dtcp_ipv6.c1983 .twsk_prot = &tcp6_timewait_sock_ops,