Searched refs:addr_fold (Results 1 – 7 of 7) sorted by relevance
73 __be32 addr_fold = addr->ip; in ip_vs_dh_hashkey() local77 addr_fold = addr->ip6[0]^addr->ip6[1]^ in ip_vs_dh_hashkey()80 return hash_32(ntohl(addr_fold), IP_VS_DH_TAB_BITS); in ip_vs_dh_hashkey()
87 __be32 addr_fold = addr->ip; in ip_vs_sh_hashkey() local91 addr_fold = addr->ip6[0]^addr->ip6[1]^ in ip_vs_sh_hashkey()94 return (offset + hash_32(ntohs(port) + ntohl(addr_fold), in ip_vs_sh_hashkey()
93 __be32 addr_fold = addr->ip; in ip_vs_mh_hashkey() local97 addr_fold = addr->ip6[0] ^ addr->ip6[1] ^ in ip_vs_mh_hashkey()100 v = (offset + ntohs(port) + ntohl(addr_fold)); in ip_vs_mh_hashkey()
152 __be32 addr_fold = addr->ip; in ip_vs_lblc_hashkey() local156 addr_fold = addr->ip6[0]^addr->ip6[1]^ in ip_vs_lblc_hashkey()159 return hash_32(ntohl(addr_fold), IP_VS_LBLC_TAB_BITS); in ip_vs_lblc_hashkey()
315 __be32 addr_fold = addr->ip; in ip_vs_lblcr_hashkey() local319 addr_fold = addr->ip6[0]^addr->ip6[1]^ in ip_vs_lblcr_hashkey()322 return hash_32(ntohl(addr_fold), IP_VS_LBLCR_TAB_BITS); in ip_vs_lblcr_hashkey()
278 __be32 addr_fold = addr->ip; in ip_vs_svc_hashkey() local283 addr_fold = addr->ip6[0]^addr->ip6[1]^ in ip_vs_svc_hashkey()286 ahash = ntohl(addr_fold); in ip_vs_svc_hashkey()509 __be32 addr_fold = addr->ip; in ip_vs_rs_hashkey() local513 addr_fold = addr->ip6[0]^addr->ip6[1]^ in ip_vs_rs_hashkey()517 return (ntohl(addr_fold)^(porth>>IP_VS_RTAB_BITS)^porth) in ip_vs_rs_hashkey()
59 static inline u32 addr_fold(void *addr) in addr_fold() function73 return addr_fold(skb->sk); in flow_get_src()83 return addr_fold(skb_dst(skb)) ^ (__force u16)skb_protocol(skb, true); in flow_get_dst()98 return addr_fold(skb->sk); in flow_get_proto_src()107 return addr_fold(skb_dst(skb)) ^ (__force u16)skb_protocol(skb, true); in flow_get_proto_dst()128 return addr_fold(skb_nfct(skb)); in flow_get_nfct()