Home
last modified time | relevance | path

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

/linux/net/ipv6/
H A Dinet6_hashtables.c88 const u16 hnum, in __inet6_lookup_established() argument
91 const __portpair ports = INET_COMBINED_PORTS(sport, hnum); in __inet6_lookup_established()
99 hash = inet6_ehashfn(net, daddr, hnum, saddr, sport); in __inet6_lookup_established()
127 const unsigned short hnum, in compute_score() argument
134 READ_ONCE(inet_sk(sk)->inet_num) == hnum && in compute_score()
169 unsigned short hnum, in inet6_lookup_reuseport() argument
177 net, daddr, hnum, saddr, sport); in inet6_lookup_reuseport()
190 const unsigned short hnum, const int dif, const int sdif) in inet6_lhash2_lookup() argument
197 score = compute_score(sk, net, hnum, daddr, dif, sdif); in inet6_lhash2_lookup()
200 saddr, sport, daddr, hnum, inet6_ehashfn); in inet6_lhash2_lookup()
[all …]
/linux/include/net/
H A Dinet6_hashtables.h49 const u16 hnum, const int dif,
65 unsigned short hnum,
73 const unsigned short hnum,
82 const u16 hnum, const int dif,
90 const u16 hnum, in __inet6_lookup() argument
95 daddr, hnum, in __inet6_lookup()
102 daddr, hnum, dif, sdif); in __inet6_lookup()
H A Dinet_hashtables.h314 const unsigned short hnum,
375 const __be32 daddr, const u16 hnum,
389 __be32 daddr, unsigned short hnum,
396 __be32 daddr, u16 hnum, const int dif,
415 u16 hnum = ntohs(dport); in __inet_lookup() local
419 daddr, hnum, dif, sdif); in __inet_lookup()
425 sport, daddr, hnum, dif, sdif); in __inet_lookup()
/linux/net/ipv4/
H A Dinet_hashtables.c355 const unsigned short hnum, const __be32 daddr, in compute_score() argument
360 if (net_eq(sock_net(sk), net) && READ_ONCE(sk->sk_num) == hnum && in compute_score()
395 __be32 daddr, unsigned short hnum, in inet_lookup_reuseport() argument
403 net, daddr, hnum, saddr, sport); in inet_lookup_reuseport()
422 const __be32 daddr, const unsigned short hnum, in inet_lhash2_lookup() argument
430 score = compute_score(sk, net, hnum, daddr, dif, sdif); in inet_lhash2_lookup()
433 saddr, sport, daddr, hnum, inet_ehashfn); in inet_lhash2_lookup()
449 __be32 daddr, u16 hnum, const int dif, in inet_lookup_run_sk_lookup() argument
456 daddr, hnum, dif, &sk); in inet_lookup_run_sk_lookup()
460 reuse_sk = inet_lookup_reuseport(net, sk, skb, doff, saddr, sport, daddr, hnum, in inet_lookup_run_sk_lookup()
[all …]
H A Dudp.c364 unsigned short hnum, int dif, int sdif) in compute_score() argument
371 udp_sk(sk)->udp_port_hash != hnum || in compute_score()
436 __be32 daddr, unsigned int hnum, in udp4_lib_lookup1() argument
440 unsigned int slot = udp_hashfn(net, hnum, udptable->mask); in udp4_lib_lookup1()
447 saddr, sport, daddr, hnum, dif, sdif); in udp4_lib_lookup1()
460 __be32 daddr, unsigned int hnum, in udp4_lib_lookup2() argument
475 sport, daddr, hnum, dif, sdif); in udp4_lib_lookup2()
488 saddr, sport, daddr, hnum, udp_ehashfn); in udp4_lib_lookup2()
518 __be32 daddr, unsigned int hnum, in udp4_lib_lookup4() argument
536 __be32 daddr, unsigned int hnum, in udp4_lib_lookup4() argument
[all …]