Lines Matching refs:hnum
103 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()
223 unsigned short hnum = ntohs(dport); in __udp6_lib_lookup() local
228 hash2 = ipv6_portaddr_hash(net, daddr, hnum); in __udp6_lib_lookup()
234 daddr, hnum, dif, sdif, in __udp6_lib_lookup()
242 saddr, sport, daddr, hnum); in __udp6_lib_lookup()
254 hash2 = ipv6_portaddr_hash(net, &in6addr_any, hnum); in __udp6_lib_lookup()
259 &in6addr_any, hnum, dif, sdif, in __udp6_lib_lookup()
762 int dif, int sdif, unsigned short hnum) in __udp_v6_is_mcast_sock() argument
769 if (udp_sk(sk)->udp_port_hash != hnum || in __udp_v6_is_mcast_sock()
803 unsigned short hnum = ntohs(uh->dest); in __udp6_lib_mcast_deliver() local
804 struct udp_hslot *hslot = udp_hashslot(udptable, net, hnum); in __udp6_lib_mcast_deliver()
813 hash2_any = ipv6_portaddr_hash(net, &in6addr_any, hnum) & in __udp6_lib_mcast_deliver()
815 hash2 = ipv6_portaddr_hash(net, daddr, hnum) & udptable->mask; in __udp6_lib_mcast_deliver()
824 hnum)) in __udp6_lib_mcast_deliver()
1012 unsigned short hnum = ntohs(loc_port); in __udp6_lib_demux_lookup() local
1013 unsigned int hash2 = ipv6_portaddr_hash(net, loc_addr, hnum); in __udp6_lib_demux_lookup()
1016 const __portpair ports = INET_COMBINED_PORTS(rmt_port, hnum); in __udp6_lib_demux_lookup()