Lines Matching refs:hnum
337 unsigned short hnum, in compute_score() argument
342 if (net_eq(sock_net(sk), net) && udp_sk(sk)->udp_port_hash == hnum && in compute_score()
376 __be32 daddr, unsigned int hnum, int dif) in compute_score2() argument
385 if (inet->inet_num != hnum) in compute_score2()
412 __be32 daddr, unsigned int hnum, int dif, in udp4_lib_lookup2() argument
425 daddr, hnum, dif); in udp4_lib_lookup2()
431 hash = inet_ehashfn(net, daddr, hnum, in udp4_lib_lookup2()
453 daddr, hnum, dif) < badness)) { in udp4_lib_lookup2()
470 unsigned short hnum = ntohs(dport); in __udp4_lib_lookup() local
471 unsigned int hash2, slot2, slot = udp_hashfn(net, hnum, udptable->mask); in __udp4_lib_lookup()
478 hash2 = udp4_portaddr_hash(net, daddr, hnum); in __udp4_lib_lookup()
485 daddr, hnum, dif, in __udp4_lib_lookup()
488 hash2 = udp4_portaddr_hash(net, htonl(INADDR_ANY), hnum); in __udp4_lib_lookup()
495 htonl(INADDR_ANY), hnum, dif, in __udp4_lib_lookup()
505 score = compute_score(sk, net, saddr, hnum, sport, in __udp4_lib_lookup()
512 hash = inet_ehashfn(net, daddr, hnum, in __udp4_lib_lookup()
534 else if (unlikely(compute_score(result, net, saddr, hnum, sport, in __udp4_lib_lookup()
574 unsigned short hnum = ntohs(loc_port); in udp_v4_mcast_next() local
580 udp_sk(s)->udp_port_hash != hnum || in udp_v4_mcast_next()