Searched refs:hash2 (Results 1 – 6 of 6) sorted by relevance
| /net/netfilter/ipvs/ |
| A D | ip_vs_mh.c | 65 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/ |
| A D | inet6_hashtables.c | 211 unsigned int hash2; in inet6_lookup_listener() local 223 hash2 = ipv6_portaddr_hash(net, daddr, hnum); in inet6_lookup_listener() 224 ilb2 = inet_lhash2_bucket(hashinfo, hash2); in inet6_lookup_listener() 233 hash2 = ipv6_portaddr_hash(net, &in6addr_any, hnum); in inet6_lookup_listener() 234 ilb2 = inet_lhash2_bucket(hashinfo, hash2); in inet6_lookup_listener()
|
| A D | udp.c | 352 unsigned int hash2; in __udp6_lib_lookup() local 354 hash2 = ipv6_portaddr_hash(net, daddr, hnum); in __udp6_lib_lookup() 355 hslot2 = udp_hashslot2(udptable, hash2); in __udp6_lib_lookup() 388 hash2 = ipv6_portaddr_hash(net, &in6addr_any, hnum); in __udp6_lib_lookup() 389 hslot2 = udp_hashslot2(udptable, hash2); in __udp6_lib_lookup() 996 hslot = &udptable->hash2[hash2].hslot; in __udp6_lib_mcast_deliver() 1029 if (use_hash2 && hash2 != hash2_any) { in __udp6_lib_mcast_deliver() 1030 hash2 = hash2_any; in __udp6_lib_mcast_deliver() 1203 unsigned int hash2; in __udp6_lib_demux_lookup() local 1207 hash2 = ipv6_portaddr_hash(net, loc_addr, hnum); in __udp6_lib_demux_lookup() [all …]
|
| /net/ipv4/ |
| A D | udp.c | 684 unsigned int hash2; in __udp4_lib_lookup() local 686 hash2 = ipv4_portaddr_hash(net, daddr, hnum); in __udp4_lib_lookup() 687 hslot2 = udp_hashslot2(udptable, hash2); in __udp4_lib_lookup() 721 hslot2 = udp_hashslot2(udptable, hash2); in __udp4_lib_lookup() 2521 hslot = &udptable->hash2[hash2].hslot; in __udp4_lib_mcast_deliver() 2549 if (use_hash2 && hash2 != hash2_any) { in __udp4_lib_mcast_deliver() 2550 hash2 = hash2_any; in __udp4_lib_mcast_deliver() 2793 unsigned int hash2; in __udp4_lib_demux_lookup() local 2798 hslot2 = udp_hashslot2(udptable, hash2); in __udp4_lib_demux_lookup() 3780 table->hash2[i].hslot.count = 0; in udp_table_init() [all …]
|
| A D | inet_hashtables.c | 436 unsigned int hash2; in __inet_lookup_listener() local 448 hash2 = ipv4_portaddr_hash(net, daddr, hnum); in __inet_lookup_listener() 449 ilb2 = inet_lhash2_bucket(hashinfo, hash2); in __inet_lookup_listener() 458 hash2 = ipv4_portaddr_hash(net, htonl(INADDR_ANY), hnum); in __inet_lookup_listener() 459 ilb2 = inet_lhash2_bucket(hashinfo, hash2); in __inet_lookup_listener()
|
| /net/unix/ |
| A D | af_unix.c | 229 unsigned int hash1, unsigned int hash2) in unix_table_double_lock() argument 231 if (hash1 == hash2) { in unix_table_double_lock() 236 if (hash1 > hash2) in unix_table_double_lock() 237 swap(hash1, hash2); in unix_table_double_lock() 240 spin_lock(&net->unx.table.locks[hash2]); in unix_table_double_lock() 244 unsigned int hash1, unsigned int hash2) in unix_table_double_unlock() argument 246 if (hash1 == hash2) { in unix_table_double_unlock() 252 spin_unlock(&net->unx.table.locks[hash2]); in unix_table_double_unlock()
|
Completed in 27 milliseconds