Home
last modified time | relevance | path

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

/kernel/linux/linux-5.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()
150 unsigned int hnum) in lookup_reuseport() argument
156 hash = udp6_ehashfn(net, daddr, hnum, saddr, sport); in lookup_reuseport()
166 const struct in6_addr *daddr, unsigned int hnum, in udp6_lib_lookup2() argument
177 daddr, hnum, dif, sdif); in udp6_lib_lookup2()
180 saddr, sport, daddr, hnum); in udp6_lib_lookup2()
198 u16 hnum) in udp6_lookup_run_bpf() argument
207 saddr, sport, daddr, hnum, &sk); in udp6_lookup_run_bpf()
211 reuse_sk = lookup_reuseport(net, sk, skb, saddr, sport, daddr, hnum); in udp6_lookup_run_bpf()
[all …]
/kernel/linux/common_modules/newip/third_party/linux-5.10/net/newip/
Dninet_hashtables.c307 const u16 hnum, in __ninet_lookup_established() argument
313 const __portpair ports = INET_COMBINED_PORTS(sport, hnum); in __ninet_lookup_established()
315 unsigned int hash = ninet_ehashfn(net, daddr, hnum, saddr, sport); in __ninet_lookup_established()
346 const unsigned short hnum, in nip_tcp_compute_score() argument
352 if (inet_sk(sk)->inet_num == hnum && sk->sk_family == PF_NINET && in nip_tcp_compute_score()
375 const struct nip_addr *daddr, const unsigned short hnum, in ninet_lhash2_lookup() argument
390 score = nip_tcp_compute_score(sk, net, hnum, daddr, dif, sdif); in ninet_lhash2_lookup()
398 phash = ninet_ehashfn(net, daddr, hnum, saddr, sport); in ninet_lhash2_lookup()
416 const unsigned short hnum, const int dif, const int sdif) in ninet_lookup_listener() argument
420 unsigned int hash2 = nip_portaddr_hash(net, daddr, hnum); in ninet_lookup_listener()
[all …]
Dudp.c145 const struct nip_addr *daddr, unsigned short hnum, in nip_udp_compute_score() argument
152 udp_sk(sk)->udp_port_hash != hnum || in nip_udp_compute_score()
202 unsigned short hnum, in nip_udp_lib_lookup2() argument
212 int score = nip_udp_compute_score(sk, net, saddr, sport, daddr, hnum, dif, sdif); in nip_udp_lib_lookup2()
229 unsigned short hnum = ntohs(dport); in __nip_udp_lib_lookup() local
234 hash2 = nip_udp_portaddr_hash(net, daddr, hnum); in __nip_udp_lib_lookup()
240 daddr, hnum, dif, sdif, in __nip_udp_lib_lookup()
246 hash2 = nip_udp_portaddr_hash(net, &nip_any_addr, hnum); in __nip_udp_lib_lookup()
251 &nip_any_addr, hnum, dif, sdif, in __nip_udp_lib_lookup()
/kernel/linux/linux-5.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.h251 const unsigned short hnum,
313 const __be32 daddr, const u16 hnum,
334 u16 hnum = ntohs(dport); in __inet_lookup() local
338 daddr, hnum, dif, sdif); in __inet_lookup()
344 sport, daddr, hnum, dif, sdif); in __inet_lookup()
/kernel/linux/common_modules/newip/third_party/linux-5.10/include/net/
Dninet_hashtables.h50 const u16 hnum, const int dif);
58 const unsigned short hnum, const int dif, const int sdif);
66 const u16 hnum, in __ninet_lookup() argument
70 sport, daddr, hnum, dif); in __ninet_lookup()
76 daddr, hnum, dif, 0); in __ninet_lookup()
/kernel/linux/linux-5.10/net/ipv4/
Dinet_hashtables.c242 const unsigned short hnum, const __be32 daddr, in compute_score() argument
247 if (net_eq(sock_net(sk), net) && sk->sk_num == hnum && in compute_score()
267 __be32 daddr, unsigned short hnum) in lookup_reuseport() argument
273 phash = inet_ehashfn(net, daddr, hnum, saddr, sport); in lookup_reuseport()
291 const __be32 daddr, const unsigned short hnum, in inet_lhash2_lookup() argument
300 score = compute_score(sk, net, hnum, daddr, dif, sdif); in inet_lhash2_lookup()
303 saddr, sport, daddr, hnum); in inet_lhash2_lookup()
319 __be32 daddr, u16 hnum) in inet_lookup_run_bpf() argument
328 saddr, sport, daddr, hnum, &sk); in inet_lookup_run_bpf()
332 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()
416 __be32 daddr, unsigned short hnum) in lookup_reuseport() argument
422 hash = udp_ehashfn(net, daddr, hnum, saddr, sport); in lookup_reuseport()
432 __be32 daddr, unsigned int hnum, in udp4_lib_lookup2() argument
444 daddr, hnum, dif, sdif); in udp4_lib_lookup2()
447 saddr, sport, daddr, hnum); in udp4_lib_lookup2()
463 __be32 daddr, u16 hnum) in udp4_lookup_run_bpf() argument
472 saddr, sport, daddr, hnum, &sk); in udp4_lookup_run_bpf()
476 reuse_sk = lookup_reuseport(net, sk, skb, saddr, sport, daddr, hnum); in udp4_lookup_run_bpf()
[all …]