/kernel/linux/linux-5.10/include/net/ |
H A D | inet_hashtables.h | 173 struct inet_hashinfo *hashinfo, in inet_ehash_bucket() 176 return &hashinfo->ehash[hash & hashinfo->ehash_mask]; in inet_ehash_bucket() 180 struct inet_hashinfo *hashinfo, in inet_ehash_lockp() 183 return &hashinfo->ehash_locks[hash & hashinfo->ehash_locks_mask]; in inet_ehash_lockp() 186 int inet_ehash_locks_alloc(struct inet_hashinfo *hashinfo); 194 static inline void inet_ehash_locks_free(struct inet_hashinfo *hashinfo) in inet_ehash_locks_free() argument 196 kvfree(hashinfo->ehash_locks); in inet_ehash_locks_free() 197 hashinfo in inet_ehash_locks_free() 172 inet_ehash_bucket( struct inet_hashinfo *hashinfo, unsigned int hash) inet_ehash_bucket() argument 179 inet_ehash_lockp( struct inet_hashinfo *hashinfo, unsigned int hash) inet_ehash_lockp() argument 254 inet_lookup_listener(struct net *net, struct inet_hashinfo *hashinfo, struct sk_buff *skb, int doff, __be32 saddr, __be16 sport, __be32 daddr, __be16 dport, int dif, int sdif) inet_lookup_listener() argument 317 inet_lookup_established(struct net *net, struct inet_hashinfo *hashinfo, const __be32 saddr, const __be16 sport, const __be32 daddr, const __be16 dport, const int dif) inet_lookup_established() argument 326 __inet_lookup(struct net *net, struct inet_hashinfo *hashinfo, struct sk_buff *skb, int doff, const __be32 saddr, const __be16 sport, const __be32 daddr, const __be16 dport, const int dif, const int sdif, bool *refcounted) __inet_lookup() argument 347 inet_lookup(struct net *net, struct inet_hashinfo *hashinfo, struct sk_buff *skb, int doff, const __be32 saddr, const __be16 sport, const __be32 daddr, const __be16 dport, const int dif) inet_lookup() argument 365 __inet_lookup_skb(struct inet_hashinfo *hashinfo, struct sk_buff *skb, int doff, const __be16 sport, const __be16 dport, const int sdif, bool *refcounted) __inet_lookup_skb() argument [all...] |
H A D | inet6_hashtables.h | 44 struct inet_hashinfo *hashinfo, 52 struct inet_hashinfo *hashinfo, 61 struct inet_hashinfo *hashinfo, in __inet6_lookup() 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, 60 __inet6_lookup(struct net *net, struct inet_hashinfo *hashinfo, struct sk_buff *skb, int doff, const struct in6_addr *saddr, const __be16 sport, const struct in6_addr *daddr, const u16 hnum, const int dif, const int sdif, bool *refcounted) __inet6_lookup() argument
|
H A D | inet_timewait_sock.h | 89 struct inet_hashinfo *hashinfo); 96 struct inet_hashinfo *hashinfo); 113 void inet_twsk_purge(struct inet_hashinfo *hashinfo, int family);
|
/kernel/linux/linux-6.6/include/net/ |
H A 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() 202 return &hashinfo->ehash[hash & hashinfo->ehash_mask]; in inet_ehash_bucket() 206 struct inet_hashinfo *hashinfo, in inet_ehash_lockp() 209 return &hashinfo->ehash_locks[hash & hashinfo->ehash_locks_mask]; in inet_ehash_lockp() 212 int inet_ehash_locks_alloc(struct inet_hashinfo *hashinfo); 198 inet_ehash_bucket( struct inet_hashinfo *hashinfo, unsigned int hash) inet_ehash_bucket() argument 205 inet_ehash_lockp( struct inet_hashinfo *hashinfo, unsigned int hash) inet_ehash_lockp() argument 220 inet_ehash_locks_free(struct inet_hashinfo *hashinfo) inet_ehash_locks_free() argument 320 inet_lookup_listener(struct net *net, struct inet_hashinfo *hashinfo, struct sk_buff *skb, int doff, __be32 saddr, __be16 sport, __be32 daddr, __be16 dport, int dif, int sdif) inet_lookup_listener() argument 404 inet_lookup_established(struct net *net, struct inet_hashinfo *hashinfo, const __be32 saddr, const __be16 sport, const __be32 daddr, const __be16 dport, const int dif) inet_lookup_established() argument 413 __inet_lookup(struct net *net, struct inet_hashinfo *hashinfo, struct sk_buff *skb, int doff, const __be32 saddr, const __be16 sport, const __be32 daddr, const __be16 dport, const int dif, const int sdif, bool *refcounted) __inet_lookup() argument 434 inet_lookup(struct net *net, struct inet_hashinfo *hashinfo, struct sk_buff *skb, int doff, const __be32 saddr, const __be16 sport, const __be32 daddr, const __be16 dport, const int dif) inet_lookup() argument 492 __inet_lookup_skb(struct inet_hashinfo *hashinfo, struct sk_buff *skb, int doff, const __be16 sport, const __be16 dport, const int sdif, bool *refcounted) __inet_lookup_skb() argument [all...] |
H A D | inet6_hashtables.h | 44 struct inet_hashinfo *hashinfo, 68 struct inet_hashinfo *hashinfo, 86 struct inet_hashinfo *hashinfo, in __inet6_lookup() 95 struct sock *sk = __inet6_lookup_established(net, hashinfo, saddr, in __inet6_lookup() 102 return inet6_lookup_listener(net, hashinfo, skb, doff, saddr, sport, in __inet6_lookup() 146 static inline struct sock *__inet6_lookup_skb(struct inet_hashinfo *hashinfo, in __inet6_lookup_skb() argument 164 return __inet6_lookup(net, hashinfo, skb, in __inet6_lookup_skb() 170 struct sock *inet6_lookup(struct net *net, struct inet_hashinfo *hashinfo, 85 __inet6_lookup(struct net *net, struct inet_hashinfo *hashinfo, struct sk_buff *skb, int doff, const struct in6_addr *saddr, const __be16 sport, const struct in6_addr *daddr, const u16 hnum, const int dif, const int sdif, bool *refcounted) __inet6_lookup() argument
|
H A D | raw.h | 48 static inline void raw_hashinfo_init(struct raw_hashinfo *hashinfo) in raw_hashinfo_init() argument 52 spin_lock_init(&hashinfo->lock); in raw_hashinfo_init() 54 INIT_HLIST_HEAD(&hashinfo->ht[i]); in raw_hashinfo_init()
|
H A 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);
|
/kernel/linux/linux-6.6/net/ipv4/ |
H A D | inet_timewait_sock.c | 23 * @hashinfo: hashinfo pointer 30 struct inet_hashinfo *hashinfo) in inet_twsk_bind_unhash() 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 in inet_twsk_kill() 29 inet_twsk_bind_unhash(struct inet_timewait_sock *tw, struct inet_hashinfo *hashinfo) inet_twsk_bind_unhash() argument 114 inet_twsk_hashdance(struct inet_timewait_sock *tw, struct sock *sk, struct inet_hashinfo *hashinfo) inet_twsk_hashdance() argument 282 inet_twsk_purge(struct inet_hashinfo *hashinfo, int family) inet_twsk_purge() argument [all...] |
H A D | inet_hashtables.c | 183 struct inet_hashinfo *hashinfo = tcp_or_dccp_get_hashinfo(sk); in __inet_put_port() local 189 bhash = inet_bhashfn(net, inet_sk(sk)->inet_num, hashinfo->bhash_size); in __inet_put_port() 190 head = &hashinfo->bhash[bhash]; in __inet_put_port() 191 head2 = inet_bhashfn_portaddr(hashinfo, sk, net, inet_sk(sk)->inet_num); in __inet_put_port() 198 inet_bind_bucket_destroy(hashinfo->bind_bucket_cachep, tb); in __inet_put_port() 206 inet_bind2_bucket_destroy(hashinfo->bind2_bucket_cachep, tb2); in __inet_put_port() 433 struct inet_hashinfo *hashinfo, in __inet_lookup_listener() 445 hashinfo == net->ipv4.tcp_death_row.hashinfo) { in __inet_lookup_listener() 454 ilb2 = inet_lhash2_bucket(hashinfo, hash in __inet_lookup_listener() 432 __inet_lookup_listener(struct net *net, struct inet_hashinfo *hashinfo, struct sk_buff *skb, int doff, const __be32 saddr, __be16 sport, const __be32 daddr, const unsigned short hnum, const int dif, const int sdif) __inet_lookup_listener() argument 497 __inet_lookup_established(struct net *net, struct inet_hashinfo *hashinfo, const __be32 saddr, const __be16 sport, const __be32 daddr, const u16 hnum, const int dif, const int sdif) __inet_lookup_established() argument 663 struct inet_hashinfo *hashinfo = tcp_or_dccp_get_hashinfo(sk); inet_ehash_insert() local 735 struct inet_hashinfo *hashinfo = tcp_or_dccp_get_hashinfo(sk); __inet_hash() local 781 struct inet_hashinfo *hashinfo = tcp_or_dccp_get_hashinfo(sk); inet_unhash() local 1230 inet_ehash_locks_alloc(struct inet_hashinfo *hashinfo) inet_ehash_locks_alloc() argument 1255 inet_pernet_hashinfo_alloc(struct inet_hashinfo *hashinfo, unsigned int ehash_entries) inet_pernet_hashinfo_alloc() argument 1291 inet_pernet_hashinfo_free(struct inet_hashinfo *hashinfo) inet_pernet_hashinfo_free() argument [all...] |
H A D | raw_diag.c | 59 struct raw_hashinfo *hashinfo = raw_get_hashinfo(r); in raw_sock_get() local 64 if (IS_ERR(hashinfo)) in raw_sock_get() 65 return ERR_CAST(hashinfo); in raw_sock_get() 69 hlist = &hashinfo->ht[slot]; in raw_sock_get() 141 struct raw_hashinfo *hashinfo = raw_get_hashinfo(r); in raw_diag_dump() local 149 if (IS_ERR(hashinfo)) in raw_diag_dump() 161 hlist = &hashinfo->ht[slot]; in raw_diag_dump()
|
H A 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()
|
H A D | inet_diag.c | 511 struct inet_hashinfo *hashinfo, in inet_diag_find_one_icsk() 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 in inet_diag_dump_icsk() 510 inet_diag_find_one_icsk(struct net *net, struct inet_hashinfo *hashinfo, const struct inet_diag_req_v2 *req) inet_diag_find_one_icsk() argument [all...] |
H A D | tcp_ipv4.c | 488 sk = __inet_lookup_established(net, net->ipv4.tcp_death_row.hashinfo, in tcp_v4_err() 754 sk1 = __inet_lookup_listener(net, net->ipv4.tcp_death_row.hashinfo, in tcp_v4_send_reset() 1796 sk = __inet_lookup_established(net, net->ipv4.tcp_death_row.hashinfo, in tcp_v4_early_demux() 2025 sk = __inet_lookup_skb(net->ipv4.tcp_death_row.hashinfo, in tcp_v4_rcv() 2210 net->ipv4.tcp_death_row.hashinfo, in tcp_v4_rcv() 2362 struct inet_hashinfo *hinfo = seq_file_net(seq)->ipv4.tcp_death_row.hashinfo; in listening_get_first() 2408 hinfo = seq_file_net(seq)->ipv4.tcp_death_row.hashinfo; in listening_get_next() 2443 struct inet_hashinfo *hinfo = seq_file_net(seq)->ipv4.tcp_death_row.hashinfo; in established_get_first() 2471 struct inet_hashinfo *hinfo = seq_file_net(seq)->ipv4.tcp_death_row.hashinfo; in established_get_next() 2524 struct inet_hashinfo *hinfo = seq_file_net(seq)->ipv4.tcp_death_row.hashinfo; in tcp_seek_last_pos() [all...] |
H A D | tcp_minisocks.c | 336 inet_twsk_hashdance(tw, sk, net->ipv4.tcp_death_row.hashinfo); in tcp_time_wait() 372 if (net->ipv4.tcp_death_row.hashinfo->pernet) { in tcp_twsk_purge() 374 inet_twsk_purge(net->ipv4.tcp_death_row.hashinfo, family); in tcp_twsk_purge()
|
/kernel/linux/linux-5.10/net/ipv4/ |
H A D | inet_hashtables.c | 117 struct inet_hashinfo *hashinfo = sk->sk_prot->h.hashinfo; in __inet_put_port() local 119 hashinfo->bhash_size); in __inet_put_port() 120 struct inet_bind_hashbucket *head = &hashinfo->bhash[bhash]; in __inet_put_port() 128 inet_bind_bucket_destroy(hashinfo->bind_bucket_cachep, tb); in __inet_put_port() 142 struct inet_hashinfo *table = sk->sk_prot->h.hashinfo; in __inet_inherit_port() 316 struct inet_hashinfo *hashinfo, in inet_lookup_run_bpf() 324 if (hashinfo != &tcp_hashinfo) in inet_lookup_run_bpf() 339 struct inet_hashinfo *hashinfo, in __inet_lookup_listener() 351 result = inet_lookup_run_bpf(net, hashinfo, sk in __inet_lookup_listener() 315 inet_lookup_run_bpf(struct net *net, struct inet_hashinfo *hashinfo, struct sk_buff *skb, int doff, __be32 saddr, __be16 sport, __be32 daddr, u16 hnum) inet_lookup_run_bpf() argument 338 __inet_lookup_listener(struct net *net, struct inet_hashinfo *hashinfo, struct sk_buff *skb, int doff, const __be32 saddr, __be16 sport, const __be32 daddr, const unsigned short hnum, const int dif, const int sdif) __inet_lookup_listener() argument 401 __inet_lookup_established(struct net *net, struct inet_hashinfo *hashinfo, const __be32 saddr, const __be16 sport, const __be32 daddr, const u16 hnum, const int dif, const int sdif) __inet_lookup_established() argument 567 struct inet_hashinfo *hashinfo = sk->sk_prot->h.hashinfo; inet_ehash_insert() local 639 struct inet_hashinfo *hashinfo = sk->sk_prot->h.hashinfo; __inet_hash() local 693 struct inet_hashinfo *hashinfo = sk->sk_prot->h.hashinfo; __inet_unhash() local 704 struct inet_hashinfo *hashinfo = sk->sk_prot->h.hashinfo; inet_unhash() local 934 inet_ehash_locks_alloc(struct inet_hashinfo *hashinfo) inet_ehash_locks_alloc() argument [all...] |
H A D | inet_timewait_sock.c | 23 * @hashinfo: hashinfo pointer 30 struct inet_hashinfo *hashinfo) in inet_twsk_bind_unhash() 39 inet_bind_bucket_destroy(hashinfo->bind_bucket_cachep, tb); in inet_twsk_bind_unhash() 46 struct inet_hashinfo *hashinfo = tw->tw_dr->hashinfo; in inet_twsk_kill() local 47 spinlock_t *lock = inet_ehash_lockp(hashinfo, tw->tw_hash); in inet_twsk_kill() 55 bhead = &hashinfo->bhash[inet_bhashfn(twsk_net(tw), tw->tw_num, in inet_twsk_kill() 56 hashinfo->bhash_size)]; in inet_twsk_kill() 59 inet_twsk_bind_unhash(tw, hashinfo); in inet_twsk_kill() 29 inet_twsk_bind_unhash(struct inet_timewait_sock *tw, struct inet_hashinfo *hashinfo) inet_twsk_bind_unhash() argument 101 inet_twsk_hashdance(struct inet_timewait_sock *tw, struct sock *sk, struct inet_hashinfo *hashinfo) inet_twsk_hashdance() argument 258 inet_twsk_purge(struct inet_hashinfo *hashinfo, int family) inet_twsk_purge() argument [all...] |
H A D | raw_diag.c | 60 struct raw_hashinfo *hashinfo = raw_get_hashinfo(r); in raw_sock_get() local 64 if (IS_ERR(hashinfo)) in raw_sock_get() 65 return ERR_CAST(hashinfo); in raw_sock_get() 67 read_lock(&hashinfo->lock); in raw_sock_get() 69 sk_for_each(s, &hashinfo->ht[slot]) { in raw_sock_get() 77 * hashinfo->lock here. in raw_sock_get() 85 read_unlock(&hashinfo->lock); in raw_sock_get() 145 struct raw_hashinfo *hashinfo = raw_get_hashinfo(r); in raw_diag_dump() local 152 if (IS_ERR(hashinfo)) in raw_diag_dump() 160 read_lock(&hashinfo in raw_diag_dump() [all...] |
H A D | inet_diag.c | 505 struct inet_hashinfo *hashinfo, in inet_diag_find_one_icsk() 512 sk = inet_lookup(net, hashinfo, NULL, 0, req->id.idiag_dst[0], in inet_diag_find_one_icsk() 519 sk = inet_lookup(net, hashinfo, NULL, 0, req->id.idiag_dst[3], in inet_diag_find_one_icsk() 523 sk = inet6_lookup(net, hashinfo, NULL, 0, in inet_diag_find_one_icsk() 548 int inet_diag_dump_one_icsk(struct inet_hashinfo *hashinfo, in inet_diag_dump_one_icsk() argument 559 sk = inet_diag_find_one_icsk(net, hashinfo, req); in inet_diag_dump_one_icsk() 1004 void inet_diag_dump_icsk(struct inet_hashinfo *hashinfo, struct sk_buff *skb, in inet_diag_dump_icsk() argument 1031 ilb = &hashinfo->listening_hash[i]; in inet_diag_dump_icsk() 1078 for (i = s_i; i <= hashinfo->ehash_mask; i++) { in inet_diag_dump_icsk() 1079 struct inet_ehash_bucket *head = &hashinfo in inet_diag_dump_icsk() 504 inet_diag_find_one_icsk(struct net *net, struct inet_hashinfo *hashinfo, const struct inet_diag_req_v2 *req) inet_diag_find_one_icsk() argument [all...] |
H A D | inet_connection_sock.c | 189 struct inet_hashinfo *hinfo = sk->sk_prot->h.hashinfo; in inet_csk_find_open_port() 362 struct inet_hashinfo *hinfo = sk->sk_prot->h.hashinfo; in inet_csk_get_port() 716 struct inet_hashinfo *hashinfo = req_to_sk(req)->sk_prot->h.hashinfo; in reqsk_queue_unlink() local 720 spinlock_t *lock = inet_ehash_lockp(hashinfo, req->rsk_hash); in reqsk_queue_unlink()
|
/kernel/linux/common_modules/newip/third_party/linux-5.10/net/newip/ |
H A D | ninet_hashtables.c | 192 struct inet_hashinfo *hashinfo = sk->sk_prot->h.hashinfo; in __ninet_hash() local 203 ilb = &hashinfo->listening_hash[inet_sk_listen_hashfn(sk)]; in __ninet_hash() 209 ninet_hash2(hashinfo, sk); in __ninet_hash() 255 struct inet_hashinfo *hashinfo = sk->sk_prot->h.hashinfo; in __ninet_unhash() local 257 ninet_unhash2(hashinfo, sk); in __ninet_unhash() 267 struct inet_hashinfo *hashinfo = sk->sk_prot->h.hashinfo; in ninet_unhash() local 275 ilb = &hashinfo in ninet_unhash() 304 __ninet_lookup_established(struct net *net, struct inet_hashinfo *hashinfo, const struct nip_addr *saddr, const __be16 sport, const struct nip_addr *daddr, const u16 hnum, const int dif) __ninet_lookup_established() argument 412 ninet_lookup_listener(struct net *net, struct inet_hashinfo *hashinfo, struct sk_buff *skb, int doff, const struct nip_addr *saddr, const __be16 sport, const struct nip_addr *daddr, const unsigned short hnum, const int dif, const int sdif) ninet_lookup_listener() argument [all...] |
/kernel/linux/common_modules/newip/third_party/linux-5.10/include/net/ |
H A D | ninet_hashtables.h | 46 struct inet_hashinfo *hashinfo, 53 struct inet_hashinfo *hashinfo, 61 struct inet_hashinfo *hashinfo, in __ninet_lookup() 69 struct sock *sk = __ninet_lookup_established(net, hashinfo, saddr, in __ninet_lookup() 75 return ninet_lookup_listener(net, hashinfo, skb, doff, saddr, sport, in __ninet_lookup() 79 static inline struct sock *__ninet_lookup_skb(struct inet_hashinfo *hashinfo, in __ninet_lookup_skb() argument 92 return __ninet_lookup(dev_net(skb->dev), hashinfo, skb, in __ninet_lookup_skb() 60 __ninet_lookup(struct net *net, struct inet_hashinfo *hashinfo, struct sk_buff *skb, int doff, const struct nip_addr *saddr, const __be16 sport, const struct nip_addr *daddr, const u16 hnum, const int dif, bool *refcounted) __ninet_lookup() argument
|
/kernel/linux/linux-5.10/net/ipv6/ |
H A D | inet6_hashtables.c | 52 struct inet_hashinfo *hashinfo, in __inet6_lookup_established() 66 unsigned int slot = hash & hashinfo->ehash_mask; in __inet6_lookup_established() 67 struct inet_ehash_bucket *head = &hashinfo->ehash[slot]; in __inet6_lookup_established() 163 struct inet_hashinfo *hashinfo, in inet6_lookup_run_bpf() 173 if (hashinfo != &tcp_hashinfo) in inet6_lookup_run_bpf() 188 struct inet_hashinfo *hashinfo, in inet6_lookup_listener() 200 result = inet6_lookup_run_bpf(net, hashinfo, skb, doff, in inet6_lookup_listener() 207 ilb2 = inet_lhash2_bucket(hashinfo, hash2); in inet6_lookup_listener() 217 ilb2 = inet_lhash2_bucket(hashinfo, hash2); in inet6_lookup_listener() 229 struct sock *inet6_lookup(struct net *net, struct inet_hashinfo *hashinfo, in inet6_lookup() argument 51 __inet6_lookup_established(struct net *net, struct inet_hashinfo *hashinfo, const struct in6_addr *saddr, const __be16 sport, const struct in6_addr *daddr, const u16 hnum, const int dif, const int sdif) __inet6_lookup_established() argument 162 inet6_lookup_run_bpf(struct net *net, struct inet_hashinfo *hashinfo, struct sk_buff *skb, int doff, const struct in6_addr *saddr, const __be16 sport, const struct in6_addr *daddr, const u16 hnum) inet6_lookup_run_bpf() argument 187 inet6_lookup_listener(struct net *net, struct inet_hashinfo *hashinfo, struct sk_buff *skb, int doff, const struct in6_addr *saddr, const __be16 sport, const struct in6_addr *daddr, const unsigned short hnum, const int dif, const int sdif) inet6_lookup_listener() argument [all...] |
/kernel/linux/linux-6.6/net/ipv6/ |
H A D | inet6_hashtables.c | 51 struct inet_hashinfo *hashinfo, in __inet6_lookup_established() 65 unsigned int slot = hash & hashinfo->ehash_mask; in __inet6_lookup_established() 66 struct inet_ehash_bucket *head = &hashinfo->ehash[slot]; in __inet6_lookup_established() 204 struct inet_hashinfo *hashinfo, in inet6_lookup_listener() 216 hashinfo == net->ipv4.tcp_death_row.hashinfo) { in inet6_lookup_listener() 225 ilb2 = inet_lhash2_bucket(hashinfo, hash2); in inet6_lookup_listener() 235 ilb2 = inet_lhash2_bucket(hashinfo, hash2); in inet6_lookup_listener() 247 struct sock *inet6_lookup(struct net *net, struct inet_hashinfo *hashinfo, in inet6_lookup() argument 256 sk = __inet6_lookup(net, hashinfo, sk in inet6_lookup() 50 __inet6_lookup_established(struct net *net, struct inet_hashinfo *hashinfo, const struct in6_addr *saddr, const __be16 sport, const struct in6_addr *daddr, const u16 hnum, const int dif, const int sdif) __inet6_lookup_established() argument 203 inet6_lookup_listener(struct net *net, struct inet_hashinfo *hashinfo, struct sk_buff *skb, int doff, const struct in6_addr *saddr, const __be16 sport, const struct in6_addr *daddr, const unsigned short hnum, const int dif, const int sdif) inet6_lookup_listener() argument [all...] |
/kernel/linux/linux-5.10/include/linux/ |
H A D | inet_diag.h | 53 int inet_diag_dump_one_icsk(struct inet_hashinfo *hashinfo, 58 struct inet_hashinfo *hashinfo,
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | inet_diag.h | 53 int inet_diag_dump_one_icsk(struct inet_hashinfo *hashinfo, 58 struct inet_hashinfo *hashinfo,
|