Home
last modified time | relevance | path

Searched refs:hash2 (Results 1 – 2 of 2) sorted by relevance

/net/ipv4/
Dudp.c487 unsigned int hash2, slot2, slot = udp_hashfn(net, hnum, udptable->mask); in __udp4_lib_lookup() local
494 hash2 = udp4_portaddr_hash(net, daddr, hnum); in __udp4_lib_lookup()
495 slot2 = hash2 & udptable->mask; in __udp4_lib_lookup()
496 hslot2 = &udptable->hash2[slot2]; in __udp4_lib_lookup()
504 hash2 = udp4_portaddr_hash(net, htonl(INADDR_ANY), hnum); in __udp4_lib_lookup()
505 slot2 = hash2 & udptable->mask; in __udp4_lib_lookup()
506 hslot2 = &udptable->hash2[slot2]; in __udp4_lib_lookup()
1660 unsigned int hash2 = 0, hash2_any = 0, use_hash2 = (hslot->count > 10); in __udp4_lib_mcast_deliver() local
1665 hash2 = udp4_portaddr_hash(net, daddr, hnum) & udp_table.mask; in __udp4_lib_mcast_deliver()
1667 hslot = &udp_table.hash2[hash2]; in __udp4_lib_mcast_deliver()
[all …]
/net/ipv6/
Dudp.c280 unsigned int hash2, slot2, slot = udp_hashfn(net, hnum, udptable->mask); in __udp6_lib_lookup() local
287 hash2 = udp6_portaddr_hash(net, daddr, hnum); in __udp6_lib_lookup()
288 slot2 = hash2 & udptable->mask; in __udp6_lib_lookup()
289 hslot2 = &udptable->hash2[slot2]; in __udp6_lib_lookup()
297 hash2 = udp6_portaddr_hash(net, &in6addr_any, hnum); in __udp6_lib_lookup()
298 slot2 = hash2 & udptable->mask; in __udp6_lib_lookup()
299 hslot2 = &udptable->hash2[slot2]; in __udp6_lib_lookup()
785 unsigned int hash2 = 0, hash2_any = 0, use_hash2 = (hslot->count > 10); in __udp6_lib_mcast_deliver() local
790 hash2 = udp6_portaddr_hash(net, daddr, hnum) & udp_table.mask; in __udp6_lib_mcast_deliver()
792 hslot = &udp_table.hash2[hash2]; in __udp6_lib_mcast_deliver()
[all …]