/openbmc/linux/net/ipv6/ |
H A D | inet6_hashtables.c | 55 const u16 hnum, in __inet6_lookup_established() argument 60 const __portpair ports = INET_COMBINED_PORTS(sport, hnum); in __inet6_lookup_established() 64 unsigned int hash = inet6_ehashfn(net, daddr, hnum, saddr, sport); in __inet6_lookup_established() 94 const unsigned short hnum, in compute_score() argument 100 if (net_eq(sock_net(sk), net) && inet_sk(sk)->inet_num == hnum && in compute_score() 135 unsigned short hnum, in inet6_lookup_reuseport() argument 143 net, daddr, hnum, saddr, sport); in inet6_lookup_reuseport() 156 const unsigned short hnum, const int dif, const int sdif) in inet6_lhash2_lookup() argument 163 score = compute_score(sk, net, hnum, daddr, dif, sdif); in inet6_lhash2_lookup() 166 saddr, sport, daddr, hnum, inet6_ehashfn); in inet6_lhash2_lookup() [all …]
|
H A D | udp.c | 122 const struct in6_addr *daddr, unsigned short hnum, in compute_score() argument 130 udp_sk(sk)->udp_port_hash != hnum || in compute_score() 168 const struct in6_addr *daddr, unsigned int hnum, in udp6_lib_lookup2() argument 182 sport, daddr, hnum, dif, sdif); in udp6_lib_lookup2() 195 saddr, sport, daddr, hnum, udp6_ehashfn); in udp6_lib_lookup2() 229 unsigned short hnum = ntohs(dport); in __udp6_lib_lookup() local 234 hash2 = ipv6_portaddr_hash(net, daddr, hnum); in __udp6_lib_lookup() 240 daddr, hnum, dif, sdif, in __udp6_lib_lookup() 249 saddr, sport, daddr, hnum, dif, in __udp6_lib_lookup() 262 hash2 = ipv6_portaddr_hash(net, &in6addr_any, hnum); in __udp6_lib_lookup() [all …]
|
/openbmc/linux/include/net/ |
H A D | inet6_hashtables.h | 48 const u16 hnum, const int dif, 64 unsigned short hnum, 73 const unsigned short hnum, 82 const u16 hnum, const int dif, 91 const u16 hnum, in __inet6_lookup() argument 96 sport, daddr, hnum, in __inet6_lookup() 103 daddr, hnum, dif, sdif); in __inet6_lookup()
|
H A D | inet_hashtables.h | 317 const unsigned short hnum, 379 const __be32 daddr, const u16 hnum, 393 __be32 daddr, unsigned short hnum, 400 __be32 daddr, u16 hnum, const int dif, 421 u16 hnum = ntohs(dport); in __inet_lookup() local 425 daddr, hnum, dif, sdif); in __inet_lookup() 431 sport, daddr, hnum, dif, sdif); in __inet_lookup()
|
/openbmc/linux/net/ipv4/ |
H A D | inet_hashtables.c | 320 const unsigned short hnum, const __be32 daddr, in compute_score() argument 325 if (net_eq(sock_net(sk), net) && sk->sk_num == hnum && in compute_score() 360 __be32 daddr, unsigned short hnum, in inet_lookup_reuseport() argument 368 net, daddr, hnum, saddr, sport); in inet_lookup_reuseport() 387 const __be32 daddr, const unsigned short hnum, in inet_lhash2_lookup() argument 395 score = compute_score(sk, net, hnum, daddr, dif, sdif); in inet_lhash2_lookup() 398 saddr, sport, daddr, hnum, inet_ehashfn); in inet_lhash2_lookup() 414 __be32 daddr, u16 hnum, const int dif, in inet_lookup_run_sk_lookup() argument 421 daddr, hnum, dif, &sk); in inet_lookup_run_sk_lookup() 425 reuse_sk = inet_lookup_reuseport(net, sk, skb, doff, saddr, sport, daddr, hnum, in inet_lookup_run_sk_lookup() [all …]
|
H A D | udp.c | 370 __be32 daddr, unsigned short hnum, in compute_score() argument 378 udp_sk(sk)->udp_port_hash != hnum || in compute_score() 427 __be32 daddr, unsigned int hnum, in udp4_lib_lookup2() argument 442 sport, daddr, hnum, dif, sdif); in udp4_lib_lookup2() 455 saddr, sport, daddr, hnum, udp_ehashfn); in udp4_lib_lookup2() 489 unsigned short hnum = ntohs(dport); in __udp4_lib_lookup() local 494 hash2 = ipv4_portaddr_hash(net, daddr, hnum); in __udp4_lib_lookup() 500 daddr, hnum, dif, sdif, in __udp4_lib_lookup() 509 saddr, sport, daddr, hnum, dif, in __udp4_lib_lookup() 522 hash2 = ipv4_portaddr_hash(net, htonl(INADDR_ANY), hnum); in __udp4_lib_lookup() [all …]
|