Searched refs:addr_fold (Results 1 – 6 of 6) sorted by relevance
77 __be32 addr_fold = addr->ip; in ip_vs_dh_hashkey() local81 addr_fold = addr->ip6[0]^addr->ip6[1]^ in ip_vs_dh_hashkey()84 return (ntohl(addr_fold)*2654435761UL) & IP_VS_DH_TAB_MASK; in ip_vs_dh_hashkey()
92 __be32 addr_fold = addr->ip; in ip_vs_sh_hashkey() local96 addr_fold = addr->ip6[0]^addr->ip6[1]^ in ip_vs_sh_hashkey()99 return (offset + (ntohs(port) + ntohl(addr_fold))*2654435761UL) & in ip_vs_sh_hashkey()
155 __be32 addr_fold = addr->ip; in ip_vs_lblc_hashkey() local159 addr_fold = addr->ip6[0]^addr->ip6[1]^ in ip_vs_lblc_hashkey()162 return (ntohl(addr_fold)*2654435761UL) & IP_VS_LBLC_TAB_MASK; in ip_vs_lblc_hashkey()
318 __be32 addr_fold = addr->ip; in ip_vs_lblcr_hashkey() local322 addr_fold = addr->ip6[0]^addr->ip6[1]^ in ip_vs_lblcr_hashkey()325 return (ntohl(addr_fold)*2654435761UL) & IP_VS_LBLCR_TAB_MASK; in ip_vs_lblcr_hashkey()
270 __be32 addr_fold = addr->ip; in ip_vs_svc_hashkey() local275 addr_fold = addr->ip6[0]^addr->ip6[1]^ in ip_vs_svc_hashkey()278 ahash = ntohl(addr_fold); in ip_vs_svc_hashkey()502 __be32 addr_fold = addr->ip; in ip_vs_rs_hashkey() local506 addr_fold = addr->ip6[0]^addr->ip6[1]^ in ip_vs_rs_hashkey()510 return (ntohl(addr_fold)^(porth>>IP_VS_RTAB_BITS)^porth) in ip_vs_rs_hashkey()
63 static inline u32 addr_fold(void *addr) in addr_fold() function77 return addr_fold(skb->sk); in flow_get_src()87 return addr_fold(skb_dst(skb)) ^ (__force u16) tc_skb_protocol(skb); in flow_get_dst()102 return addr_fold(skb->sk); in flow_get_proto_src()111 return addr_fold(skb_dst(skb)) ^ (__force u16) tc_skb_protocol(skb); in flow_get_proto_dst()132 return addr_fold(skb->nfct); in flow_get_nfct()