Home
last modified time | relevance | path

Searched refs:net_hash_mix (Results 1 – 13 of 13) sorted by relevance

/linux-4.4.14/include/net/netns/
Dhash.h8 static inline u32 net_hash_mix(const struct net *net) in net_hash_mix() function
/linux-4.4.14/include/linux/
Dudp.h39 return (num + net_hash_mix(net)) & mask; in udp_hashfn()
/linux-4.4.14/include/net/sctp/
Dsctp.h513 return (net_hash_mix(net) + lport) & (sctp_port_hashsize - 1); in sctp_phashfn()
519 return (net_hash_mix(net) + lport) & (sctp_ep_hashsize - 1); in sctp_ep_hashfn()
525 int h = (lport << 16) + rport + net_hash_mix(net); in sctp_assoc_hashfn()
/linux-4.4.14/include/net/
Dinet_hashtables.h184 return (lport + net_hash_mix(net)) & (bhash_size - 1); in inet_bhashfn()
193 return (num + net_hash_mix(net)) & (INET_LHTABLE_SIZE - 1); in inet_lhashfn()
/linux-4.4.14/net/ipv4/
Dtcp_metrics.c262 hash ^= net_hash_mix(net); in __tcp_get_metrics_req()
305 hash ^= net_hash_mix(net); in __tcp_get_metrics_tw()
349 hash ^= net_hash_mix(net); in tcp_get_metrics()
1006 hash ^= net_hash_mix(net); in tcp_metrics_nl_cmd_get()
1079 hash ^= net_hash_mix(net); in tcp_metrics_nl_cmd_del()
Dinet_hashtables.c37 inet_ehash_secret + net_hash_mix(net)); in inet_ehashfn()
Dudp.c324 return jhash_1word((__force u32)saddr, net_hash_mix(net)) ^ port; in udp4_portaddr_hash()
437 udp_ehash_secret + net_hash_mix(net)); in udp_ehashfn()
Dping.c69 u32 res = (num + net_hash_mix(net)) & mask; in ping_hashfn()
Ddevinet.c112 u32 val = (__force u32) addr ^ net_hash_mix(net); in inet_addr_hash()
Droute.c497 iph->protocol ^ net_hash_mix(net), in __ip_select_ident()
/linux-4.4.14/net/ipv6/
Doutput_core.c21 hash ^= net_hash_mix(net); in __ipv6_select_ident()
Dinet6_hashtables.c42 inet6_ehash_secret + net_hash_mix(net)); in inet6_ehashfn()
Dudp.c76 udp_ipv6_hash_secret + net_hash_mix(net)); in udp6_ehashfn()
111 unsigned int hash, mix = net_hash_mix(net); in udp6_portaddr_hash()