/linux-6.1.9/include/net/ |
D | inet_hashtables.h | 185 return sk->sk_prot->h.hashinfo ? : in tcp_or_dccp_get_hashinfo() 186 sock_net(sk)->ipv4.tcp_death_row.hashinfo; in tcp_or_dccp_get_hashinfo() 188 return sock_net(sk)->ipv4.tcp_death_row.hashinfo; in tcp_or_dccp_get_hashinfo() 199 struct inet_hashinfo *hashinfo, in inet_ehash_bucket() argument 202 return &hashinfo->ehash[hash & hashinfo->ehash_mask]; in inet_ehash_bucket() 206 struct inet_hashinfo *hashinfo, in inet_ehash_lockp() argument 209 return &hashinfo->ehash_locks[hash & hashinfo->ehash_locks_mask]; in inet_ehash_lockp() 212 int inet_ehash_locks_alloc(struct inet_hashinfo *hashinfo); 220 static inline void inet_ehash_locks_free(struct inet_hashinfo *hashinfo) in inet_ehash_locks_free() argument 222 kvfree(hashinfo->ehash_locks); in inet_ehash_locks_free() [all …]
|
D | inet6_hashtables.h | 44 struct inet_hashinfo *hashinfo, 52 struct inet_hashinfo *hashinfo, 61 struct inet_hashinfo *hashinfo, in __inet6_lookup() argument 70 struct sock *sk = __inet6_lookup_established(net, hashinfo, saddr, in __inet6_lookup() 77 return inet6_lookup_listener(net, hashinfo, skb, doff, saddr, sport, in __inet6_lookup() 81 static inline struct sock *__inet6_lookup_skb(struct inet_hashinfo *hashinfo, in __inet6_lookup_skb() argument 93 return __inet6_lookup(dev_net(skb_dst(skb)->dev), hashinfo, skb, in __inet6_lookup_skb() 99 struct sock *inet6_lookup(struct net *net, struct inet_hashinfo *hashinfo,
|
D | raw.h | 39 static inline void raw_hashinfo_init(struct raw_hashinfo *hashinfo) in raw_hashinfo_init() argument 43 spin_lock_init(&hashinfo->lock); in raw_hashinfo_init() 45 INIT_HLIST_NULLS_HEAD(&hashinfo->ht[i], i); in raw_hashinfo_init()
|
D | inet_timewait_sock.h | 93 struct inet_hashinfo *hashinfo); 100 struct inet_hashinfo *hashinfo); 117 void inet_twsk_purge(struct inet_hashinfo *hashinfo, int family);
|
/linux-6.1.9/net/ipv4/ |
D | inet_timewait_sock.c | 30 struct inet_hashinfo *hashinfo) in inet_twsk_bind_unhash() argument 40 inet_bind_bucket_destroy(hashinfo->bind_bucket_cachep, tb); in inet_twsk_bind_unhash() 44 inet_bind2_bucket_destroy(hashinfo->bind2_bucket_cachep, tb2); in inet_twsk_bind_unhash() 52 struct inet_hashinfo *hashinfo = tw->tw_dr->hashinfo; in inet_twsk_kill() local 53 spinlock_t *lock = inet_ehash_lockp(hashinfo, tw->tw_hash); in inet_twsk_kill() 61 bhead = &hashinfo->bhash[inet_bhashfn(twsk_net(tw), tw->tw_num, in inet_twsk_kill() 62 hashinfo->bhash_size)]; in inet_twsk_kill() 63 bhead2 = inet_bhashfn_portaddr(hashinfo, (struct sock *)tw, in inet_twsk_kill() 68 inet_twsk_bind_unhash(tw, hashinfo); in inet_twsk_kill() 118 struct inet_hashinfo *hashinfo) in inet_twsk_hashdance() argument [all …]
|
D | inet_hashtables.c | 176 struct inet_hashinfo *hashinfo = tcp_or_dccp_get_hashinfo(sk); in __inet_put_port() local 182 bhash = inet_bhashfn(net, inet_sk(sk)->inet_num, hashinfo->bhash_size); in __inet_put_port() 183 head = &hashinfo->bhash[bhash]; in __inet_put_port() 184 head2 = inet_bhashfn_portaddr(hashinfo, sk, net, inet_sk(sk)->inet_num); in __inet_put_port() 191 inet_bind_bucket_destroy(hashinfo->bind_bucket_cachep, tb); in __inet_put_port() 199 inet_bind2_bucket_destroy(hashinfo->bind2_bucket_cachep, tb2); in __inet_put_port() 386 struct inet_hashinfo *hashinfo, in inet_lookup_run_bpf() argument 394 if (hashinfo != net->ipv4.tcp_death_row.hashinfo) in inet_lookup_run_bpf() 409 struct inet_hashinfo *hashinfo, in __inet_lookup_listener() argument 421 result = inet_lookup_run_bpf(net, hashinfo, skb, doff, in __inet_lookup_listener() [all …]
|
D | raw_diag.c | 59 struct raw_hashinfo *hashinfo = raw_get_hashinfo(r); in raw_sock_get() local 65 if (IS_ERR(hashinfo)) in raw_sock_get() 66 return ERR_CAST(hashinfo); in raw_sock_get() 70 hlist = &hashinfo->ht[slot]; in raw_sock_get() 142 struct raw_hashinfo *hashinfo = raw_get_hashinfo(r); in raw_diag_dump() local 151 if (IS_ERR(hashinfo)) in raw_diag_dump() 163 hlist = &hashinfo->ht[slot]; in raw_diag_dump()
|
D | tcp_diag.c | 186 hinfo = sock_net(cb->skb->sk)->ipv4.tcp_death_row.hashinfo; in tcp_diag_dump() 196 hinfo = sock_net(cb->skb->sk)->ipv4.tcp_death_row.hashinfo; in tcp_diag_dump_one() 210 hinfo = net->ipv4.tcp_death_row.hashinfo; in tcp_diag_destroy()
|
D | inet_diag.c | 511 struct inet_hashinfo *hashinfo, in inet_diag_find_one_icsk() argument 518 sk = inet_lookup(net, hashinfo, NULL, 0, req->id.idiag_dst[0], in inet_diag_find_one_icsk() 525 sk = inet_lookup(net, hashinfo, NULL, 0, req->id.idiag_dst[3], in inet_diag_find_one_icsk() 529 sk = inet6_lookup(net, hashinfo, NULL, 0, in inet_diag_find_one_icsk() 554 int inet_diag_dump_one_icsk(struct inet_hashinfo *hashinfo, in inet_diag_dump_one_icsk() argument 565 sk = inet_diag_find_one_icsk(net, hashinfo, req); in inet_diag_dump_one_icsk() 1009 void inet_diag_dump_icsk(struct inet_hashinfo *hashinfo, struct sk_buff *skb, in inet_diag_dump_icsk() argument 1031 for (i = s_i; i <= hashinfo->lhash2_mask; i++) { in inet_diag_dump_icsk() 1036 ilb = &hashinfo->lhash2[i]; in inet_diag_dump_icsk() 1084 for (i = s_i; i <= hashinfo->ehash_mask; i++) { in inet_diag_dump_icsk() [all …]
|
D | tcp_ipv4.c | 487 sk = __inet_lookup_established(net, net->ipv4.tcp_death_row.hashinfo, in tcp_v4_err() 752 sk1 = __inet_lookup_listener(net, net->ipv4.tcp_death_row.hashinfo, in tcp_v4_send_reset() 1738 sk = __inet_lookup_established(net, net->ipv4.tcp_death_row.hashinfo, in tcp_v4_early_demux() 1966 sk = __inet_lookup_skb(net->ipv4.tcp_death_row.hashinfo, in tcp_v4_rcv() 2150 net->ipv4.tcp_death_row.hashinfo, in tcp_v4_rcv() 2301 struct inet_hashinfo *hinfo = seq_file_net(seq)->ipv4.tcp_death_row.hashinfo; in listening_get_first() 2347 hinfo = seq_file_net(seq)->ipv4.tcp_death_row.hashinfo; in listening_get_next() 2382 struct inet_hashinfo *hinfo = seq_file_net(seq)->ipv4.tcp_death_row.hashinfo; in established_get_first() 2408 struct inet_hashinfo *hinfo = seq_file_net(seq)->ipv4.tcp_death_row.hashinfo; in established_get_next() 2461 struct inet_hashinfo *hinfo = seq_file_net(seq)->ipv4.tcp_death_row.hashinfo; in tcp_seek_last_pos() [all …]
|
D | tcp_minisocks.c | 322 inet_twsk_hashdance(tw, sk, net->ipv4.tcp_death_row.hashinfo); in tcp_time_wait() 356 if (net->ipv4.tcp_death_row.hashinfo->pernet) { in tcp_twsk_purge() 358 inet_twsk_purge(net->ipv4.tcp_death_row.hashinfo, family); in tcp_twsk_purge()
|
D | inet_connection_sock.c | 931 struct inet_hashinfo *hashinfo = tcp_or_dccp_get_hashinfo(sk); in reqsk_queue_unlink() local 932 spinlock_t *lock = inet_ehash_lockp(hashinfo, req->rsk_hash); in reqsk_queue_unlink()
|
/linux-6.1.9/net/ipv6/ |
D | inet6_hashtables.c | 50 struct inet_hashinfo *hashinfo, in __inet6_lookup_established() argument 64 unsigned int slot = hash & hashinfo->ehash_mask; in __inet6_lookup_established() 65 struct inet_ehash_bucket *head = &hashinfo->ehash[slot]; in __inet6_lookup_established() 160 struct inet_hashinfo *hashinfo, in inet6_lookup_run_bpf() argument 170 if (hashinfo != net->ipv4.tcp_death_row.hashinfo) in inet6_lookup_run_bpf() 185 struct inet_hashinfo *hashinfo, in inet6_lookup_listener() argument 197 result = inet6_lookup_run_bpf(net, hashinfo, skb, doff, in inet6_lookup_listener() 204 ilb2 = inet_lhash2_bucket(hashinfo, hash2); in inet6_lookup_listener() 214 ilb2 = inet_lhash2_bucket(hashinfo, hash2); in inet6_lookup_listener() 226 struct sock *inet6_lookup(struct net *net, struct inet_hashinfo *hashinfo, in inet6_lookup() argument [all …]
|
D | tcp_ipv6.c | 396 sk = __inet6_lookup_established(net, net->ipv4.tcp_death_row.hashinfo, in tcp_v6_err() 1030 sk1 = inet6_lookup_listener(net, net->ipv4.tcp_death_row.hashinfo, in tcp_v6_send_reset() 1633 sk = __inet6_lookup_skb(net->ipv4.tcp_death_row.hashinfo, skb, __tcp_hdrlen(th), in tcp_v6_rcv() 1808 sk2 = inet6_lookup_listener(net, net->ipv4.tcp_death_row.hashinfo, in tcp_v6_rcv() 1859 sk = __inet6_lookup_established(net, net->ipv4.tcp_death_row.hashinfo, in tcp_v6_early_demux() 2191 .h.hashinfo = NULL,
|
/linux-6.1.9/include/linux/ |
D | inet_diag.h | 53 int inet_diag_dump_one_icsk(struct inet_hashinfo *hashinfo, 58 struct inet_hashinfo *hashinfo,
|
/linux-6.1.9/net/ipv6/netfilter/ |
D | nf_socket_ipv6.c | 86 return inet6_lookup(net, net->ipv4.tcp_death_row.hashinfo, in nf_socket_get_sock_v6()
|
D | nf_tproxy_ipv6.c | 83 struct inet_hashinfo *hinfo = net->ipv4.tcp_death_row.hashinfo; in nf_tproxy_get_sock_v6()
|
/linux-6.1.9/net/ipv4/netfilter/ |
D | nf_tproxy_ipv4.c | 82 struct inet_hashinfo *hinfo = net->ipv4.tcp_death_row.hashinfo; in nf_tproxy_get_sock_v4()
|
D | nf_socket_ipv4.c | 74 return inet_lookup(net, net->ipv4.tcp_death_row.hashinfo, in nf_socket_get_sock_v4()
|
/linux-6.1.9/include/net/netns/ |
D | ipv4.h | 38 struct inet_hashinfo *hashinfo ____cacheline_aligned_in_smp;
|
/linux-6.1.9/net/dccp/ |
D | minisocks.c | 27 .hashinfo = &dccp_hashinfo,
|
D | ipv4.c | 980 .h.hashinfo = &dccp_hashinfo,
|
/linux-6.1.9/drivers/net/ethernet/netronome/nfp/crypto/ |
D | tls.c | 498 sk = inet_lookup_established(net, net->ipv4.tcp_death_row.hashinfo, in nfp_net_tls_rx_resync_req() 504 sk = __inet6_lookup_established(net, net->ipv4.tcp_death_row.hashinfo, in nfp_net_tls_rx_resync_req()
|
/linux-6.1.9/net/mptcp/ |
D | mptcp_diag.c | 87 hinfo = net->ipv4.tcp_death_row.hashinfo; in mptcp_diag_dump_listeners()
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
D | ktls_rx.c | 502 sk = inet_lookup_established(net, net->ipv4.tcp_death_row.hashinfo, in resync_update_sn() 512 sk = __inet6_lookup_established(net, net->ipv4.tcp_death_row.hashinfo, in resync_update_sn()
|