Home
last modified time | relevance | path

Searched refs:tcp_hashinfo (Results 1 – 10 of 10) sorted by relevance

/net/ipv4/
Dtcp_diag.c184 inet_diag_dump_icsk(&tcp_hashinfo, skb, cb, r, bc); in tcp_diag_dump()
190 return inet_diag_dump_one_icsk(&tcp_hashinfo, in_skb, nlh, req); in tcp_diag_dump_one()
198 struct sock *sk = inet_diag_find_one_icsk(net, &tcp_hashinfo, req); in tcp_diag_destroy()
Dtcp_ipv4.c90 struct inet_hashinfo tcp_hashinfo; variable
91 EXPORT_SYMBOL(tcp_hashinfo);
444 sk = __inet_lookup_established(net, &tcp_hashinfo, iph->daddr, in tcp_v4_err()
718 sk1 = __inet_lookup_listener(net, &tcp_hashinfo, NULL, 0, in tcp_v4_send_reset()
1653 sk = __inet_lookup_established(dev_net(skb->dev), &tcp_hashinfo, in tcp_v4_early_demux()
1872 sk = __inet_lookup_skb(&tcp_hashinfo, skb, __tcp_hdrlen(th), th->source, in tcp_v4_rcv()
2028 &tcp_hashinfo, skb, in tcp_v4_rcv()
2183 ilb = &tcp_hashinfo.listening_hash[st->bucket]; in listening_get_next()
2189 ilb = &tcp_hashinfo.listening_hash[st->bucket]; in listening_get_next()
2226 return hlist_nulls_empty(&tcp_hashinfo.ehash[st->bucket].chain); in empty_bucket()
[all …]
Dtcp.c3999 inet_hashinfo_init(&tcp_hashinfo); in tcp_init()
4000 inet_hashinfo2_init(&tcp_hashinfo, "tcp_listen_portaddr_hash", in tcp_init()
4003 tcp_hashinfo.bind_bucket_cachep = in tcp_init()
4013 tcp_hashinfo.ehash = in tcp_init()
4020 &tcp_hashinfo.ehash_mask, in tcp_init()
4023 for (i = 0; i <= tcp_hashinfo.ehash_mask; i++) in tcp_init()
4024 INIT_HLIST_NULLS_HEAD(&tcp_hashinfo.ehash[i].chain, i); in tcp_init()
4026 if (inet_ehash_locks_alloc(&tcp_hashinfo)) in tcp_init()
4028 tcp_hashinfo.bhash = in tcp_init()
4031 tcp_hashinfo.ehash_mask + 1, in tcp_init()
[all …]
Dtcp_minisocks.c329 inet_twsk_hashdance(tw, sk, &tcp_hashinfo); in tcp_time_wait()
/net/ipv4/netfilter/
Dnf_tproxy_ipv4.c95 sk = inet_lookup_listener(net, &tcp_hashinfo, skb, in nf_tproxy_get_sock_v4()
111 sk = inet_lookup_established(net, &tcp_hashinfo, in nf_tproxy_get_sock_v4()
Dnf_socket_ipv4.c82 return inet_lookup(net, &tcp_hashinfo, skb, doff, in nf_socket_get_sock_v4()
/net/ipv6/netfilter/
Dnf_tproxy_ipv6.c96 sk = inet6_lookup_listener(net, &tcp_hashinfo, skb, in nf_tproxy_get_sock_v6()
111 sk = __inet6_lookup_established(net, &tcp_hashinfo, in nf_tproxy_get_sock_v6()
Dnf_socket_ipv6.c86 return inet6_lookup(net, &tcp_hashinfo, skb, doff, in nf_socket_get_sock_v6()
/net/ipv6/
Dtcp_ipv6.c386 sk = __inet6_lookup_established(net, &tcp_hashinfo, in tcp_v6_err()
982 &tcp_hashinfo, NULL, 0, in tcp_v6_send_reset()
1548 sk = __inet6_lookup_skb(&tcp_hashinfo, skb, __tcp_hdrlen(th), in tcp_v6_rcv()
1700 sk2 = inet6_lookup_listener(dev_net(skb->dev), &tcp_hashinfo, in tcp_v6_rcv()
1750 sk = __inet6_lookup_established(dev_net(skb->dev), &tcp_hashinfo, in tcp_v6_early_demux()
2071 .h.hashinfo = &tcp_hashinfo,
2108 inet_twsk_purge(&tcp_hashinfo, AF_INET6); in tcpv6_net_exit_batch()
/net/core/
Dfilter.c5258 sk = __inet_lookup(net, &tcp_hashinfo, NULL, 0, in sk_lookup()
5272 sk = __inet6_lookup(net, &tcp_hashinfo, NULL, 0, in sk_lookup()