Home
last modified time | relevance | path

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

/net/ipv4/
Dtcp_ipv4.c91 struct inet_hashinfo tcp_hashinfo; variable
92 EXPORT_SYMBOL(tcp_hashinfo);
481 sk = __inet_lookup_established(net, &tcp_hashinfo, iph->daddr, in tcp_v4_err()
743 sk1 = __inet_lookup_listener(net, &tcp_hashinfo, NULL, 0, in tcp_v4_send_reset()
1792 sk = __inet_lookup_established(dev_net(skb->dev), &tcp_hashinfo, in tcp_v4_early_demux()
2019 sk = __inet_lookup_skb(&tcp_hashinfo, skb, __tcp_hdrlen(th), th->source, in tcp_v4_rcv()
2190 &tcp_hashinfo, skb, in tcp_v4_rcv()
2344 for (; st->bucket <= tcp_hashinfo.lhash2_mask; st->bucket++) { in listening_get_first()
2349 ilb2 = &tcp_hashinfo.lhash2[st->bucket]; in listening_get_first()
2387 ilb2 = &tcp_hashinfo.lhash2[st->bucket]; in listening_get_next()
[all …]
Dtcp_diag.c184 inet_diag_dump_icsk(&tcp_hashinfo, skb, cb, r); in tcp_diag_dump()
190 return inet_diag_dump_one_icsk(&tcp_hashinfo, cb, req); in tcp_diag_dump_one()
198 struct sock *sk = inet_diag_find_one_icsk(net, &tcp_hashinfo, req); in tcp_diag_destroy()
Dtcp.c4573 inet_hashinfo_init(&tcp_hashinfo); in tcp_init()
4574 inet_hashinfo2_init(&tcp_hashinfo, "tcp_listen_portaddr_hash", in tcp_init()
4577 tcp_hashinfo.bind_bucket_cachep = in tcp_init()
4589 tcp_hashinfo.ehash = in tcp_init()
4596 &tcp_hashinfo.ehash_mask, in tcp_init()
4599 for (i = 0; i <= tcp_hashinfo.ehash_mask; i++) in tcp_init()
4600 INIT_HLIST_NULLS_HEAD(&tcp_hashinfo.ehash[i].chain, i); in tcp_init()
4602 if (inet_ehash_locks_alloc(&tcp_hashinfo)) in tcp_init()
4604 tcp_hashinfo.bhash = in tcp_init()
4607 tcp_hashinfo.ehash_mask + 1, in tcp_init()
[all …]
Dtcp_minisocks.c329 inet_twsk_hashdance(tw, sk, &tcp_hashinfo); in tcp_time_wait()
Dinet_hashtables.c315 if (hashinfo != &tcp_hashinfo) in inet_lookup_run_bpf()
Desp4.c163 sk = inet_lookup_established(xs_net(x), &tcp_hashinfo, x->id.daddr.a4, in esp_find_tcp_sk()
/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.c74 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/
Dinet6_hashtables.c24 extern struct inet_hashinfo tcp_hashinfo;
173 if (hashinfo != &tcp_hashinfo) in inet6_lookup_run_bpf()
Dtcp_ipv6.c391 sk = __inet6_lookup_established(net, &tcp_hashinfo, in tcp_v6_err()
1075 &tcp_hashinfo, NULL, 0, in tcp_v6_send_reset()
1664 sk = __inet6_lookup_skb(&tcp_hashinfo, skb, __tcp_hdrlen(th), in tcp_v6_rcv()
1825 sk2 = inet6_lookup_listener(dev_net(skb->dev), &tcp_hashinfo, in tcp_v6_rcv()
1875 sk = __inet6_lookup_established(dev_net(skb->dev), &tcp_hashinfo, in tcp_v6_early_demux()
2199 .h.hashinfo = &tcp_hashinfo,
2233 inet_twsk_purge(&tcp_hashinfo, AF_INET6); in tcpv6_net_exit_batch()
Desp6.c181 sk = __inet6_lookup_established(xs_net(x), &tcp_hashinfo, &x->id.daddr.in6, in esp6_find_tcp_sk()
/net/mptcp/
Dmptcp_diag.c92 ilb = &tcp_hashinfo.listening_hash[i]; in mptcp_diag_dump_listeners()
/net/core/
Dfilter.c6189 sk = __inet_lookup(net, &tcp_hashinfo, NULL, 0, in sk_lookup()
6203 sk = __inet6_lookup(net, &tcp_hashinfo, NULL, 0, in sk_lookup()