Searched refs:hash2 (Results 1 – 2 of 2) sorted by relevance
/net/ipv4/ |
D | udp.c | 471 unsigned int hash2, slot2, slot = udp_hashfn(net, hnum, udptable->mask); in __udp4_lib_lookup() local 478 hash2 = udp4_portaddr_hash(net, daddr, hnum); in __udp4_lib_lookup() 479 slot2 = hash2 & udptable->mask; in __udp4_lib_lookup() 480 hslot2 = &udptable->hash2[slot2]; in __udp4_lib_lookup() 488 hash2 = udp4_portaddr_hash(net, htonl(INADDR_ANY), hnum); in __udp4_lib_lookup() 489 slot2 = hash2 & udptable->mask; in __udp4_lib_lookup() 490 hslot2 = &udptable->hash2[slot2]; in __udp4_lib_lookup() 2270 table->hash2 = table->hash + (table->mask + 1); in udp_table_init() 2277 INIT_HLIST_NULLS_HEAD(&table->hash2[i].head, i); in udp_table_init() 2278 table->hash2[i].count = 0; in udp_table_init() [all …]
|
/net/ipv6/ |
D | udp.c | 262 unsigned int hash2, slot2, slot = udp_hashfn(net, hnum, udptable->mask); in __udp6_lib_lookup() local 269 hash2 = udp6_portaddr_hash(net, daddr, hnum); in __udp6_lib_lookup() 270 slot2 = hash2 & udptable->mask; in __udp6_lib_lookup() 271 hslot2 = &udptable->hash2[slot2]; in __udp6_lib_lookup() 279 hash2 = udp6_portaddr_hash(net, &in6addr_any, hnum); in __udp6_lib_lookup() 280 slot2 = hash2 & udptable->mask; in __udp6_lib_lookup() 281 hslot2 = &udptable->hash2[slot2]; in __udp6_lib_lookup()
|