Home
last modified time | relevance | path

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

/linux/net/ipv6/
H A Dinet6_hashtables.c54 const u16 hnum, in __inet6_lookup_established() argument
59 const __portpair ports = INET_COMBINED_PORTS(sport, hnum); in __inet6_lookup_established()
63 unsigned int hash = inet6_ehashfn(net, daddr, hnum, saddr, sport); in __inet6_lookup_established()
93 const unsigned short hnum, in compute_score() argument
99 if (net_eq(sock_net(sk), net) && 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.c130 const struct in6_addr *daddr, unsigned short hnum, in compute_score() argument
138 udp_sk(sk)->udp_port_hash != hnum || in compute_score()
196 unsigned int hnum, int dif, int sdif, in udp6_lib_lookup1() argument
199 unsigned int slot = udp_hashfn(net, hnum, udptable->mask); in udp6_lib_lookup1()
206 saddr, sport, daddr, hnum, dif, sdif); in udp6_lib_lookup1()
219 const struct in6_addr *daddr, unsigned int hnum, in udp6_lib_lookup2() argument
233 sport, daddr, hnum, dif, sdif); in udp6_lib_lookup2()
246 saddr, sport, daddr, hnum, udp6_ehashfn); in udp6_lib_lookup2()
277 unsigned int hnum, int dif, int sdif, in udp6_lib_lookup4() argument
290 unsigned int hnum, int dif, int sdif, in udp6_lib_lookup4() argument
[all …]
/linux/include/net/
H A Dinet6_hashtables.h48 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 Dinet_hashtables.h312 const unsigned short hnum,
374 const __be32 daddr, const u16 hnum,
388 __be32 daddr, unsigned short hnum,
395 __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.c314 const unsigned short hnum, const __be32 daddr, in compute_score() argument
319 if (net_eq(sock_net(sk), net) && sk->sk_num == hnum && in compute_score()
354 __be32 daddr, unsigned short hnum, in inet_lookup_reuseport() argument
362 net, daddr, hnum, saddr, sport); in inet_lookup_reuseport()
381 const __be32 daddr, const unsigned short hnum, in inet_lhash2_lookup() argument
389 score = compute_score(sk, net, hnum, daddr, dif, sdif); in inet_lhash2_lookup()
392 saddr, sport, daddr, hnum, inet_ehashfn); in inet_lhash2_lookup()
408 __be32 daddr, u16 hnum, const int dif, in inet_lookup_run_sk_lookup() argument
415 daddr, hnum, dif, &sk); in inet_lookup_run_sk_lookup()
419 reuse_sk = inet_lookup_reuseport(net, sk, skb, doff, saddr, sport, daddr, hnum, in inet_lookup_run_sk_lookup()
[all …]
H A Dudp.c371 __be32 daddr, unsigned short hnum, in compute_score() argument
379 udp_sk(sk)->udp_port_hash != hnum || in compute_score()
445 __be32 daddr, unsigned int hnum, in udp4_lib_lookup1() argument
449 unsigned int slot = udp_hashfn(net, hnum, udptable->mask); in udp4_lib_lookup1()
456 saddr, sport, daddr, hnum, dif, sdif); in udp4_lib_lookup1()
469 __be32 daddr, unsigned int hnum, in udp4_lib_lookup2() argument
484 sport, daddr, hnum, dif, sdif); in udp4_lib_lookup2()
497 saddr, sport, daddr, hnum, udp_ehashfn); in udp4_lib_lookup2()
527 __be32 daddr, unsigned int hnum, in udp4_lib_lookup4() argument
545 __be32 daddr, unsigned int hnum, in udp4_lib_lookup4() argument
[all …]