/linux-6.1.9/net/ipv6/ |
D | inet6_hashtables.c | 54 const u16 hnum, in __inet6_lookup_established() argument 59 const __portpair ports = INET_COMBINED_PORTS(sport, hnum); in __inet6_lookup_established() 63 unsigned int hash = inet6_ehashfn(net, daddr, hnum, saddr, sport); in __inet6_lookup_established() 93 const unsigned short hnum, in compute_score() argument 99 if (net_eq(sock_net(sk), net) && inet_sk(sk)->inet_num == hnum && in compute_score() 119 unsigned short hnum) in lookup_reuseport() argument 125 phash = inet6_ehashfn(net, daddr, hnum, saddr, sport); in lookup_reuseport() 137 const unsigned short hnum, const int dif, const int sdif) in inet6_lhash2_lookup() argument 144 score = compute_score(sk, net, hnum, daddr, dif, sdif); in inet6_lhash2_lookup() 147 saddr, sport, daddr, hnum); in inet6_lhash2_lookup() [all …]
|
D | udp.c | 119 const struct in6_addr *daddr, unsigned short hnum, in compute_score() argument 127 udp_sk(sk)->udp_port_hash != hnum || in compute_score() 167 unsigned int hnum) in lookup_reuseport() argument 173 hash = udp6_ehashfn(net, daddr, hnum, saddr, sport); in lookup_reuseport() 183 const struct in6_addr *daddr, unsigned int hnum, in udp6_lib_lookup2() argument 194 daddr, hnum, dif, sdif); in udp6_lib_lookup2() 197 saddr, sport, daddr, hnum); in udp6_lib_lookup2() 215 u16 hnum, const int dif) in udp6_lookup_run_bpf() argument 224 daddr, hnum, dif, &sk); in udp6_lookup_run_bpf() 228 reuse_sk = lookup_reuseport(net, sk, skb, saddr, sport, daddr, hnum); in udp6_lookup_run_bpf() [all …]
|
/linux-6.1.9/include/net/ |
D | inet6_hashtables.h | 48 const u16 hnum, const int dif, 57 const unsigned short hnum, 66 const u16 hnum, in __inet6_lookup() argument 71 sport, daddr, hnum, in __inet6_lookup() 78 daddr, hnum, dif, sdif); in __inet6_lookup()
|
D | inet_hashtables.h | 317 const unsigned short hnum, 379 const __be32 daddr, const u16 hnum, 400 u16 hnum = ntohs(dport); in __inet_lookup() local 404 daddr, hnum, dif, sdif); in __inet_lookup() 410 sport, daddr, hnum, dif, sdif); in __inet_lookup()
|
/linux-6.1.9/net/ipv4/ |
D | inet_hashtables.c | 313 const unsigned short hnum, const __be32 daddr, in compute_score() argument 318 if (net_eq(sock_net(sk), net) && sk->sk_num == hnum && in compute_score() 338 __be32 daddr, unsigned short hnum) in lookup_reuseport() argument 344 phash = inet_ehashfn(net, daddr, hnum, saddr, sport); in lookup_reuseport() 362 const __be32 daddr, const unsigned short hnum, in inet_lhash2_lookup() argument 370 score = compute_score(sk, net, hnum, daddr, dif, sdif); in inet_lhash2_lookup() 373 saddr, sport, daddr, hnum); in inet_lhash2_lookup() 389 __be32 daddr, u16 hnum, const int dif) in inet_lookup_run_bpf() argument 398 daddr, hnum, dif, &sk); in inet_lookup_run_bpf() 402 reuse_sk = lookup_reuseport(net, sk, skb, doff, saddr, sport, daddr, hnum); in inet_lookup_run_bpf() [all …]
|
D | udp.c | 361 __be32 daddr, unsigned short hnum, in compute_score() argument 369 udp_sk(sk)->udp_port_hash != hnum || in compute_score() 418 __be32 daddr, unsigned short hnum) in lookup_reuseport() argument 424 hash = udp_ehashfn(net, daddr, hnum, saddr, sport); in lookup_reuseport() 434 __be32 daddr, unsigned int hnum, in udp4_lib_lookup2() argument 446 daddr, hnum, dif, sdif); in udp4_lib_lookup2() 449 saddr, sport, daddr, hnum); in udp4_lib_lookup2() 465 __be32 daddr, u16 hnum, const int dif) in udp4_lookup_run_bpf() argument 474 daddr, hnum, dif, &sk); in udp4_lookup_run_bpf() 478 reuse_sk = lookup_reuseport(net, sk, skb, saddr, sport, daddr, hnum); in udp4_lookup_run_bpf() [all …]
|