Searched refs:addr_fold (Results 1 - 6 of 6) sorted by relevance

/linux-4.1.27/net/sched/
H A Dcls_flow.c62 static inline u32 addr_fold(void *addr) addr_fold() function
73 return addr_fold(skb->sk); flow_get_src()
80 return addr_fold(skb_dst(skb)) ^ (__force u16) tc_skb_protocol(skb); flow_get_dst()
93 return addr_fold(skb->sk); flow_get_proto_src()
101 return addr_fold(skb_dst(skb)) ^ (__force u16) tc_skb_protocol(skb); flow_get_proto_dst()
122 return addr_fold(skb->nfct); flow_get_nfct()
/linux-4.1.27/net/netfilter/ipvs/
H A Dip_vs_dh.c77 __be32 addr_fold = addr->ip; ip_vs_dh_hashkey() local
81 addr_fold = addr->ip6[0]^addr->ip6[1]^ ip_vs_dh_hashkey()
84 return (ntohl(addr_fold)*2654435761UL) & IP_VS_DH_TAB_MASK; ip_vs_dh_hashkey()
H A Dip_vs_sh.c92 __be32 addr_fold = addr->ip; ip_vs_sh_hashkey() local
96 addr_fold = addr->ip6[0]^addr->ip6[1]^ ip_vs_sh_hashkey()
99 return (offset + (ntohs(port) + ntohl(addr_fold))*2654435761UL) & ip_vs_sh_hashkey()
H A Dip_vs_lblc.c155 __be32 addr_fold = addr->ip; ip_vs_lblc_hashkey() local
159 addr_fold = addr->ip6[0]^addr->ip6[1]^ ip_vs_lblc_hashkey()
162 return (ntohl(addr_fold)*2654435761UL) & IP_VS_LBLC_TAB_MASK; ip_vs_lblc_hashkey()
H A Dip_vs_lblcr.c318 __be32 addr_fold = addr->ip; ip_vs_lblcr_hashkey() local
322 addr_fold = addr->ip6[0]^addr->ip6[1]^ ip_vs_lblcr_hashkey()
325 return (ntohl(addr_fold)*2654435761UL) & IP_VS_LBLCR_TAB_MASK; ip_vs_lblcr_hashkey()
H A Dip_vs_ctl.c270 __be32 addr_fold = addr->ip; ip_vs_svc_hashkey() local
275 addr_fold = addr->ip6[0]^addr->ip6[1]^ ip_vs_svc_hashkey()
278 ahash = ntohl(addr_fold); ip_vs_svc_hashkey()
503 __be32 addr_fold = addr->ip; ip_vs_rs_hashkey() local
507 addr_fold = addr->ip6[0]^addr->ip6[1]^ ip_vs_rs_hashkey()
511 return (ntohl(addr_fold)^(porth>>IP_VS_RTAB_BITS)^porth) ip_vs_rs_hashkey()

Completed in 141 milliseconds