Searched refs:net_hash_mix (Results 1 – 24 of 24) sorted by relevance
| /linux-6.15/net/tipc/ |
| H A D | core.h | 206 return net_hash_mix(&init_net) ^ net_hash_mix(net) ^ tn_rand; in tipc_net_hash_mixes()
|
| /linux-6.15/include/net/netns/ |
| H A D | hash.h | 7 static inline u32 net_hash_mix(const struct net *net) in net_hash_mix() function
|
| /linux-6.15/include/net/ |
| H A D | raw.h | 45 return hash_32(net_hash_mix(net) ^ proto, RAW_HTABLE_LOG); in raw_hashfunc()
|
| H A D | inet_hashtables.h | 258 return (lport + net_hash_mix(net)) & (bhash_size - 1); in inet_bhashfn()
|
| H A D | ip.h | 711 return jhash_1word((__force u32)saddr, net_hash_mix(net)) ^ port; in ipv4_portaddr_hash()
|
| H A D | ipv6.h | 794 unsigned int hash, mix = net_hash_mix(net); in ipv6_portaddr_hash()
|
| /linux-6.15/net/mptcp/ |
| H A D | syncookies.c | 52 i = jhash_3words(seq, net_hash_mix(net), in mptcp_join_entry_hash()
|
| /linux-6.15/net/ipv4/ |
| H A D | tcp_metrics.c | 277 hash ^= net_hash_mix(net); in __tcp_get_metrics_req() 322 hash ^= net_hash_mix(net); in tcp_get_metrics() 870 hash ^= net_hash_mix(net); in tcp_metrics_nl_cmd_get() 950 hash ^= net_hash_mix(net); in tcp_metrics_nl_cmd_del()
|
| H A D | fib_semantics.c | 331 return hash_32(val ^ net_hash_mix(net), net->ipv4.fib_info_hash_bits); in fib_info_hashfn_result() 360 slot = hash_32(net_hash_mix(net) ^ (__force u32)val, hash_bits); in fib_info_laddrhash_bucket()
|
| H A D | ping.c | 65 u32 res = (num + net_hash_mix(net)) & mask; in ping_hashfn()
|
| H A D | inet_hashtables.c | 39 inet_ehash_secret + net_hash_mix(net)); in inet_ehashfn()
|
| H A D | devinet.c | 116 u32 val = __ipv4_addr_hash(addr, net_hash_mix(net)); in inet_addr_hash()
|
| H A D | udp.c | 418 udp_ehash_secret + net_hash_mix(net)); in udp_ehashfn()
|
| /linux-6.15/include/linux/ |
| H A D | udp.h | 32 return (num + net_hash_mix(net)) & mask; in udp_hashfn()
|
| /linux-6.15/include/net/sctp/ |
| H A D | sctp.h | 498 return (net_hash_mix(net) + lport) & (sctp_port_hashsize - 1); in sctp_phashfn() 504 return (net_hash_mix(net) + lport) & (sctp_ep_hashsize - 1); in sctp_ep_hashfn()
|
| /linux-6.15/net/ipv6/ |
| H A D | inet6_hashtables.c | 39 inet6_ehash_secret + net_hash_mix(net)); in inet6_ehashfn()
|
| H A D | anycast.c | 55 u32 val = __ipv6_addr_jhash(addr, net_hash_mix(net)); in inet6_acaddr_hash()
|
| H A D | udp.c | 93 udp6_ehash_secret + net_hash_mix(net)); in udp6_ehashfn()
|
| H A D | addrconf.c | 1020 u32 val = __ipv6_addr_jhash(addr, net_hash_mix(net)); in inet6_addr_hash()
|
| /linux-6.15/net/netfilter/ |
| H A D | nf_conntrack_expect.c | 98 combined.net_mix = net_hash_mix(n); in nf_ct_expect_dst_hash()
|
| H A D | nf_nat_core.c | 174 combined.net_mix = net_hash_mix(net); in hash_by_src()
|
| H A D | nf_conntrack_core.c | 221 key.key[1] ^= net_hash_mix(net); in hash_conntrack_raw()
|
| /linux-6.15/net/sctp/ |
| H A D | input.c | 836 (__force __u32)lport, net_hash_mix(net), seed); in sctp_hashfn()
|
| /linux-6.15/net/xfrm/ |
| H A D | xfrm_policy.c | 1497 return jhash_3words(a, k->if_id, net_hash_mix(read_pnet(&k->net)), in xfrm_pol_bin_key()
|