Home
last modified time | relevance | path

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

/openbmc/linux/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.h1357 struct timewait_sock_ops *twsk_prot; member
/openbmc/linux/net/core/
H A Dsock.c3846 static void tw_prot_cleanup(struct timewait_sock_ops *twsk_prot) in tw_prot_cleanup() argument
3848 if (!twsk_prot) in tw_prot_cleanup()
3850 kfree(twsk_prot->twsk_slab_name); in tw_prot_cleanup()
3851 twsk_prot->twsk_slab_name = NULL; in tw_prot_cleanup()
3852 kmem_cache_destroy(twsk_prot->twsk_slab); in tw_prot_cleanup()
3853 twsk_prot->twsk_slab = NULL; in tw_prot_cleanup()
3858 struct timewait_sock_ops *twsk_prot = prot->twsk_prot; in tw_prot_init() local
3860 if (!twsk_prot) in tw_prot_init()
3863 twsk_prot->twsk_slab_name = kasprintf(GFP_KERNEL, "tw_sock_%s", in tw_prot_init()
3865 if (!twsk_prot->twsk_slab_name) in tw_prot_init()
[all …]
/openbmc/linux/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.c3165 .twsk_prot = &tcp_timewait_sock_ops,
/openbmc/linux/net/dccp/
H A Dipv4.c983 .twsk_prot = &dccp_timewait_sock_ops,
H A Dipv6.c1065 .twsk_prot = &dccp6_timewait_sock_ops,
/openbmc/linux/net/ipv6/
H A Dtcp_ipv6.c2178 .twsk_prot = &tcp6_timewait_sock_ops,