Home
last modified time | relevance | path

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

/linux-4.1.27/include/net/netns/
Dhash.h8 static inline u32 net_hash_mix(const struct net *net) in net_hash_mix() function
/linux-4.1.27/include/linux/
Dudp.h39 return (num + net_hash_mix(net)) & mask; in udp_hashfn()
/linux-4.1.27/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.1.27/include/net/
Dinet_hashtables.h227 return (lport + net_hash_mix(net)) & (bhash_size - 1); in inet_bhashfn()
236 return (num + net_hash_mix(net)) & (INET_LHTABLE_SIZE - 1); in inet_lhashfn()
/linux-4.1.27/net/ipv6/
Doutput_core.c19 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()
/linux-4.1.27/net/ipv4/
Dtcp_metrics.c266 hash ^= net_hash_mix(net); in __tcp_get_metrics_req()
315 hash ^= net_hash_mix(net); in __tcp_get_metrics_tw()
365 hash ^= net_hash_mix(net); in tcp_get_metrics()
1021 hash ^= net_hash_mix(net); in tcp_metrics_nl_cmd_get()
1094 hash ^= net_hash_mix(net); in tcp_metrics_nl_cmd_del()
Dinet_hashtables.c36 inet_ehash_secret + net_hash_mix(net)); in inet_ehashfn()
Dudp.c325 return jhash_1word((__force u32)saddr, net_hash_mix(net)) ^ port; in udp4_portaddr_hash()
434 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.c495 iph->protocol ^ net_hash_mix(net), in __ip_select_ident()