Home
last modified time | relevance | path

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

/net/netfilter/ipvs/
Dip_vs_mh.c65 hsiphash_key_t hash1, hash2; member
71 hsiphash_key_t *hash2) in generate_hash_secret() argument
76 hash2->key[0] = 2654446892UL; in generate_hash_secret()
77 hash2->key[1] = 2654446892UL; in generate_hash_secret()
147 dest->port, &s->hash2, 0) % in ip_vs_mh_permutate()
398 generate_hash_secret(&s->hash1, &s->hash2); in ip_vs_mh_init_svc()
/net/ipv6/
Dinet6_hashtables.c212 unsigned int hash2; in inet6_lookup_listener() local
224 hash2 = ipv6_portaddr_hash(net, daddr, hnum); in inet6_lookup_listener()
225 ilb2 = inet_lhash2_bucket(hashinfo, hash2); in inet6_lookup_listener()
234 hash2 = ipv6_portaddr_hash(net, &in6addr_any, hnum); in inet6_lookup_listener()
235 ilb2 = inet_lhash2_bucket(hashinfo, hash2); in inet6_lookup_listener()
Dudp.c231 unsigned int hash2, slot2; in __udp6_lib_lookup() local
235 hash2 = ipv6_portaddr_hash(net, daddr, hnum); in __udp6_lib_lookup()
236 slot2 = hash2 & udptable->mask; in __udp6_lib_lookup()
237 hslot2 = &udptable->hash2[slot2]; in __udp6_lib_lookup()
263 hash2 = ipv6_portaddr_hash(net, &in6addr_any, hnum); in __udp6_lib_lookup()
264 slot2 = hash2 & udptable->mask; in __udp6_lib_lookup()
265 hslot2 = &udptable->hash2[slot2]; in __udp6_lib_lookup()
857 unsigned int hash2 = 0, hash2_any = 0, use_hash2 = (hslot->count > 10); in __udp6_lib_mcast_deliver() local
866 hash2 = ipv6_portaddr_hash(net, daddr, hnum) & udptable->mask; in __udp6_lib_mcast_deliver()
868 hslot = &udptable->hash2[hash2]; in __udp6_lib_mcast_deliver()
[all …]
/net/ipv4/
Dudp.c491 unsigned int hash2, slot2; in __udp4_lib_lookup() local
495 hash2 = ipv4_portaddr_hash(net, daddr, hnum); in __udp4_lib_lookup()
496 slot2 = hash2 & udptable->mask; in __udp4_lib_lookup()
497 hslot2 = &udptable->hash2[slot2]; in __udp4_lib_lookup()
523 hash2 = ipv4_portaddr_hash(net, htonl(INADDR_ANY), hnum); in __udp4_lib_lookup()
524 slot2 = hash2 & udptable->mask; in __udp4_lib_lookup()
525 hslot2 = &udptable->hash2[slot2]; in __udp4_lib_lookup()
2268 unsigned int hash2 = 0, hash2_any = 0, use_hash2 = (hslot->count > 10); in __udp4_lib_mcast_deliver() local
2278 hash2 = ipv4_portaddr_hash(net, daddr, hnum) & udptable->mask; in __udp4_lib_mcast_deliver()
2280 hslot = &udptable->hash2[hash2]; in __udp4_lib_mcast_deliver()
[all …]
Dinet_hashtables.c441 unsigned int hash2; in __inet_lookup_listener() local
453 hash2 = ipv4_portaddr_hash(net, daddr, hnum); in __inet_lookup_listener()
454 ilb2 = inet_lhash2_bucket(hashinfo, hash2); in __inet_lookup_listener()
463 hash2 = ipv4_portaddr_hash(net, htonl(INADDR_ANY), hnum); in __inet_lookup_listener()
464 ilb2 = inet_lhash2_bucket(hashinfo, hash2); in __inet_lookup_listener()
/net/unix/
Daf_unix.c161 unsigned int hash1, unsigned int hash2) in unix_table_double_lock() argument
163 if (hash1 == hash2) { in unix_table_double_lock()
168 if (hash1 > hash2) in unix_table_double_lock()
169 swap(hash1, hash2); in unix_table_double_lock()
172 spin_lock_nested(&net->unx.table.locks[hash2], SINGLE_DEPTH_NESTING); in unix_table_double_lock()
176 unsigned int hash1, unsigned int hash2) in unix_table_double_unlock() argument
178 if (hash1 == hash2) { in unix_table_double_unlock()
184 spin_unlock(&net->unx.table.locks[hash2]); in unix_table_double_unlock()