Home
last modified time | relevance | path

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

/Linux-v5.10/net/ipv6/
Dinet6_hashtables.c56 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 …]
Dudp.c103 const struct in6_addr *daddr, unsigned short hnum, in compute_score() argument
111 udp_sk(sk)->udp_port_hash != hnum || in compute_score()
149 unsigned int hnum) in lookup_reuseport() argument
155 hash = udp6_ehashfn(net, daddr, hnum, saddr, sport); in lookup_reuseport()
165 const struct in6_addr *daddr, unsigned int hnum, in udp6_lib_lookup2() argument
176 daddr, hnum, dif, sdif); in udp6_lib_lookup2()
179 saddr, sport, daddr, hnum); in udp6_lib_lookup2()
197 u16 hnum) in udp6_lookup_run_bpf() argument
206 saddr, sport, daddr, hnum, &sk); in udp6_lookup_run_bpf()
210 reuse_sk = lookup_reuseport(net, sk, skb, saddr, sport, daddr, hnum); in udp6_lookup_run_bpf()
[all …]
/Linux-v5.10/include/net/
Dinet6_hashtables.h48 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()
Dinet_hashtables.h262 const unsigned short hnum,
329 const __be32 daddr, const u16 hnum,
350 u16 hnum = ntohs(dport); in __inet_lookup() local
354 daddr, hnum, dif, sdif); in __inet_lookup()
360 sport, daddr, hnum, dif, sdif); in __inet_lookup()
/Linux-v5.10/net/ipv4/
Dinet_hashtables.c233 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()
256 __be32 daddr, unsigned short hnum) in lookup_reuseport() argument
262 phash = inet_ehashfn(net, daddr, hnum, saddr, sport); in lookup_reuseport()
280 const __be32 daddr, const unsigned short hnum, in inet_lhash2_lookup() argument
289 score = compute_score(sk, net, hnum, daddr, dif, sdif); in inet_lhash2_lookup()
292 saddr, sport, daddr, hnum); in inet_lhash2_lookup()
308 __be32 daddr, u16 hnum) in inet_lookup_run_bpf() argument
317 saddr, sport, daddr, hnum, &sk); in inet_lookup_run_bpf()
321 reuse_sk = lookup_reuseport(net, sk, skb, doff, saddr, sport, daddr, hnum); in inet_lookup_run_bpf()
[all …]
Dudp.c359 __be32 daddr, unsigned short hnum, in compute_score() argument
367 udp_sk(sk)->udp_port_hash != hnum || in compute_score()
415 __be32 daddr, unsigned short hnum) in lookup_reuseport() argument
421 hash = udp_ehashfn(net, daddr, hnum, saddr, sport); in lookup_reuseport()
431 __be32 daddr, unsigned int hnum, in udp4_lib_lookup2() argument
443 daddr, hnum, dif, sdif); in udp4_lib_lookup2()
446 saddr, sport, daddr, hnum); in udp4_lib_lookup2()
462 __be32 daddr, u16 hnum) in udp4_lookup_run_bpf() argument
471 saddr, sport, daddr, hnum, &sk); in udp4_lookup_run_bpf()
475 reuse_sk = lookup_reuseport(net, sk, skb, saddr, sport, daddr, hnum); in udp4_lookup_run_bpf()
[all …]