Searched refs:net_hash_mix (Results 1 – 6 of 6) sorted by relevance
7 static inline u32 net_hash_mix(const struct net *net) in net_hash_mix() function
39 return (num + net_hash_mix(net)) & mask; in udp_hashfn()
207 return (lport + net_hash_mix(net)) & (bhash_size - 1); in inet_bhashfn()216 return (num + net_hash_mix(net)) & (INET_LHTABLE_SIZE - 1); in inet_lhashfn()
585 return jhash_1word((__force u32)saddr, net_hash_mix(net)) ^ port; in ipv4_portaddr_hash()
641 unsigned int hash, mix = net_hash_mix(net); in ipv6_portaddr_hash()
515 return (net_hash_mix(net) + lport) & (sctp_port_hashsize - 1); in sctp_phashfn()521 return (net_hash_mix(net) + lport) & (sctp_ep_hashsize - 1); in sctp_ep_hashfn()