/net/ipv6/ |
D | inet6_hashtables.c | 56 const u16 hnum, in __inet6_lookup_established() argument 61 const __portpair ports = INET_COMBINED_PORTS(sport, hnum); in __inet6_lookup_established() 65 unsigned int hash = inet6_ehashfn(net, daddr, hnum, saddr, sport); in __inet6_lookup_established() 95 const unsigned short hnum, in compute_score() argument 101 if (net_eq(sock_net(sk), net) && inet_sk(sk)->inet_num == hnum && in compute_score() 121 unsigned short hnum) in lookup_reuseport() argument 127 phash = inet6_ehashfn(net, daddr, hnum, saddr, sport); in lookup_reuseport() 139 const unsigned short hnum, const int dif, const int sdif) in inet6_lhash2_lookup() argument 147 score = compute_score(sk, net, hnum, daddr, dif, sdif); in inet6_lhash2_lookup() 150 saddr, sport, daddr, hnum); in inet6_lhash2_lookup() [all …]
|
D | udp.c | 117 const struct in6_addr *daddr, unsigned short hnum, in compute_score() argument 125 udp_sk(sk)->udp_port_hash != hnum || in compute_score() 164 unsigned int hnum) in lookup_reuseport() argument 170 hash = udp6_ehashfn(net, daddr, hnum, saddr, sport); in lookup_reuseport() 180 const struct in6_addr *daddr, unsigned int hnum, in udp6_lib_lookup2() argument 191 daddr, hnum, dif, sdif); in udp6_lib_lookup2() 194 result = lookup_reuseport(net, sk, skb, saddr, sport, daddr, hnum); in udp6_lib_lookup2() 209 daddr, hnum, dif, sdif); in udp6_lib_lookup2() 221 u16 hnum) in udp6_lookup_run_bpf() argument 230 saddr, sport, daddr, hnum, &sk); in udp6_lookup_run_bpf() [all …]
|
/net/ipv4/ |
D | inet_hashtables.c | 233 const unsigned short hnum, const __be32 daddr, in compute_score() argument 238 if (net_eq(sock_net(sk), net) && sk->sk_num == hnum && in compute_score() 258 __be32 daddr, unsigned short hnum) in lookup_reuseport() argument 264 phash = inet_ehashfn(net, daddr, hnum, saddr, sport); in lookup_reuseport() 282 const __be32 daddr, const unsigned short hnum, in inet_lhash2_lookup() argument 291 score = compute_score(sk, net, hnum, daddr, dif, sdif); in inet_lhash2_lookup() 294 saddr, sport, daddr, hnum); in inet_lhash2_lookup() 310 __be32 daddr, u16 hnum) in inet_lookup_run_bpf() argument 319 saddr, sport, daddr, hnum, &sk); in inet_lookup_run_bpf() 323 reuse_sk = lookup_reuseport(net, sk, skb, doff, saddr, sport, daddr, hnum); in inet_lookup_run_bpf() [all …]
|
D | udp.c | 360 __be32 daddr, unsigned short hnum, in compute_score() argument 368 udp_sk(sk)->udp_port_hash != hnum || in compute_score() 417 __be32 daddr, unsigned short hnum) in lookup_reuseport() argument 423 hash = udp_ehashfn(net, daddr, hnum, saddr, sport); in lookup_reuseport() 433 __be32 daddr, unsigned int hnum, in udp4_lib_lookup2() argument 445 daddr, hnum, dif, sdif); in udp4_lib_lookup2() 448 result = lookup_reuseport(net, sk, skb, saddr, sport, daddr, hnum); in udp4_lib_lookup2() 463 daddr, hnum, dif, sdif); in udp4_lib_lookup2() 474 __be32 daddr, u16 hnum) in udp4_lookup_run_bpf() argument 483 saddr, sport, daddr, hnum, &sk); in udp4_lookup_run_bpf() [all …]
|