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()
151 __be32 addr_fold = addr->ip; in ip_vs_lblc_hashkey() local155 addr_fold = addr->ip6[0]^addr->ip6[1]^ in ip_vs_lblc_hashkey()158 return hash_32(ntohl(addr_fold), IP_VS_LBLC_TAB_BITS); in ip_vs_lblc_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()
314 __be32 addr_fold = addr->ip; in ip_vs_lblcr_hashkey() local318 addr_fold = addr->ip6[0]^addr->ip6[1]^ in ip_vs_lblcr_hashkey()321 return hash_32(ntohl(addr_fold), IP_VS_LBLCR_TAB_BITS); in ip_vs_lblcr_hashkey()
318 __be32 addr_fold = addr->ip; in ip_vs_svc_hashkey() local323 addr_fold = addr->ip6[0]^addr->ip6[1]^ in ip_vs_svc_hashkey()326 ahash = ntohl(addr_fold); in ip_vs_svc_hashkey()546 __be32 addr_fold = addr->ip; in ip_vs_rs_hashkey() local550 addr_fold = addr->ip6[0]^addr->ip6[1]^ in ip_vs_rs_hashkey()554 return (ntohl(addr_fold)^(porth>>IP_VS_RTAB_BITS)^porth) in ip_vs_rs_hashkey()
60 static inline u32 addr_fold(void *addr) in addr_fold() function74 return addr_fold(skb->sk); in flow_get_src()84 return addr_fold(skb_dst(skb)) ^ (__force u16)skb_protocol(skb, true); in flow_get_dst()99 return addr_fold(skb->sk); in flow_get_proto_src()108 return addr_fold(skb_dst(skb)) ^ (__force u16)skb_protocol(skb, true); in flow_get_proto_dst()129 return addr_fold(skb_nfct(skb)); in flow_get_nfct()