Home
last modified time | relevance | path

Searched refs:hnum (Results 1 – 6 of 6) sorted by relevance

/linux/net/ipv6/
H A Dinet6_hashtables.c53 const u16 hnum, in __inet6_lookup_established() argument
56 const __portpair ports = INET_COMBINED_PORTS(sport, hnum); in __inet6_lookup_established()
64 hash = inet6_ehashfn(net, daddr, hnum, saddr, sport); in __inet6_lookup_established()
92 const unsigned short hnum, in compute_score() argument
99 READ_ONCE(inet_sk(sk)->inet_num) == hnum && in compute_score()
134 unsigned short hnum, in inet6_lookup_reuseport() argument
142 net, daddr, hnum, saddr, sport); in inet6_lookup_reuseport()
155 const unsigned short hnum, const int dif, const int sdif) in inet6_lhash2_lookup() argument
162 score = compute_score(sk, net, hnum, daddr, dif, sdif); in inet6_lhash2_lookup()
165 saddr, sport, daddr, hnum, inet6_ehashfn); in inet6_lhash2_lookup()
[all …]
H A Dudp.c132 const struct in6_addr *daddr, unsigned short hnum, in compute_score() argument
140 udp_sk(sk)->udp_port_hash != hnum || in compute_score()
198 unsigned int hnum, int dif, int sdif, in udp6_lib_lookup1() argument
201 unsigned int slot = udp_hashfn(net, hnum, udptable->mask); in udp6_lib_lookup1()
208 saddr, sport, daddr, hnum, dif, sdif); in udp6_lib_lookup1()
221 const struct in6_addr *daddr, unsigned int hnum, in udp6_lib_lookup2() argument
235 sport, daddr, hnum, dif, sdif); in udp6_lib_lookup2()
248 saddr, sport, daddr, hnum, udp6_ehashfn); in udp6_lib_lookup2()
279 unsigned int hnum, int dif, int sdif, in udp6_lib_lookup4() argument
292 unsigned int hnum, int dif, int sdif, in udp6_lib_lookup4() argument
[all …]
/linux/include/net/
H A Dinet6_hashtables.h47 const u16 hnum, const int dif,
63 unsigned short hnum,
71 const unsigned short hnum,
80 const u16 hnum, const int dif,
88 const u16 hnum, in __inet6_lookup() argument
93 daddr, hnum, in __inet6_lookup()
100 daddr, hnum, dif, sdif); in __inet6_lookup()
H A Dinet_hashtables.h315 const unsigned short hnum,
376 const __be32 daddr, const u16 hnum,
390 __be32 daddr, unsigned short hnum,
397 __be32 daddr, u16 hnum, const int dif,
416 u16 hnum = ntohs(dport); in __inet_lookup() local
420 daddr, hnum, dif, sdif); in __inet_lookup()
426 sport, daddr, hnum, dif, sdif); in __inet_lookup()
/linux/net/ipv4/
H A Dinet_hashtables.c350 const unsigned short hnum, const __be32 daddr, in compute_score() argument
355 if (net_eq(sock_net(sk), net) && READ_ONCE(sk->sk_num) == hnum && in compute_score()
390 __be32 daddr, unsigned short hnum, in inet_lookup_reuseport() argument
398 net, daddr, hnum, saddr, sport); in inet_lookup_reuseport()
417 const __be32 daddr, const unsigned short hnum, in inet_lhash2_lookup() argument
425 score = compute_score(sk, net, hnum, daddr, dif, sdif); in inet_lhash2_lookup()
428 saddr, sport, daddr, hnum, inet_ehashfn); in inet_lhash2_lookup()
444 __be32 daddr, u16 hnum, const int dif, in inet_lookup_run_sk_lookup() argument
451 daddr, hnum, dif, &sk); in inet_lookup_run_sk_lookup()
455 reuse_sk = inet_lookup_reuseport(net, sk, skb, doff, saddr, sport, daddr, hnum, in inet_lookup_run_sk_lookup()
[all …]
H A Dudp.c370 __be32 daddr, unsigned short hnum, in compute_score() argument
378 udp_sk(sk)->udp_port_hash != hnum || in compute_score()
444 __be32 daddr, unsigned int hnum, in udp4_lib_lookup1() argument
448 unsigned int slot = udp_hashfn(net, hnum, udptable->mask); in udp4_lib_lookup1()
455 saddr, sport, daddr, hnum, dif, sdif); in udp4_lib_lookup1()
468 __be32 daddr, unsigned int hnum, in udp4_lib_lookup2() argument
483 sport, daddr, hnum, dif, sdif); in udp4_lib_lookup2()
496 saddr, sport, daddr, hnum, udp_ehashfn); in udp4_lib_lookup2()
526 __be32 daddr, unsigned int hnum, in udp4_lib_lookup4() argument
544 __be32 daddr, unsigned int hnum, in udp4_lib_lookup4() argument
[all …]