Lines Matching refs:hnum
145 unsigned short hnum, in compute_score() argument
154 udp_sk(sk)->udp_port_hash != hnum || in compute_score()
192 unsigned short hnum, int dif) in compute_score2() argument
198 udp_sk(sk)->udp_port_hash != hnum || in compute_score2()
232 const struct in6_addr *daddr, unsigned int hnum, int dif, in udp6_lib_lookup2() argument
245 daddr, hnum, dif); in udp6_lib_lookup2()
251 hash = udp6_ehashfn(net, daddr, hnum, in udp6_lib_lookup2()
276 daddr, hnum, dif) < badness)) { in udp6_lib_lookup2()
291 unsigned short hnum = ntohs(dport); in __udp6_lib_lookup() local
292 unsigned int hash2, slot2, slot = udp_hashfn(net, hnum, udptable->mask); in __udp6_lib_lookup()
299 hash2 = udp6_portaddr_hash(net, daddr, hnum); in __udp6_lib_lookup()
306 daddr, hnum, dif, in __udp6_lib_lookup()
309 hash2 = udp6_portaddr_hash(net, &in6addr_any, hnum); in __udp6_lib_lookup()
316 &in6addr_any, hnum, dif, in __udp6_lib_lookup()
326 score = compute_score(sk, net, hnum, saddr, sport, daddr, dport, dif); in __udp6_lib_lookup()
332 hash = udp6_ehashfn(net, daddr, hnum, in __udp6_lib_lookup()
354 else if (unlikely(compute_score(result, net, hnum, saddr, sport, in __udp6_lib_lookup()
720 int dif, unsigned short hnum) in __udp_v6_is_mcast_sock() argument
727 if (udp_sk(sk)->udp_port_hash != hnum || in __udp_v6_is_mcast_sock()
789 unsigned short hnum = ntohs(uh->dest); in __udp6_lib_mcast_deliver() local
790 struct udp_hslot *hslot = udp_hashslot(udptable, net, hnum); in __udp6_lib_mcast_deliver()
797 hash2_any = udp6_portaddr_hash(net, &in6addr_any, hnum) & in __udp6_lib_mcast_deliver()
799 hash2 = udp6_portaddr_hash(net, daddr, hnum) & udp_table.mask; in __udp6_lib_mcast_deliver()
810 dif, hnum) && in __udp6_lib_mcast_deliver()