Home
last modified time | relevance | path

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

/net/netfilter/ipvs/
Dip_vs_dh.c77 __be32 addr_fold = addr->ip; in ip_vs_dh_hashkey() local
81 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()
Dip_vs_sh.c92 __be32 addr_fold = addr->ip; in ip_vs_sh_hashkey() local
96 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()
Dip_vs_lblc.c155 __be32 addr_fold = addr->ip; in ip_vs_lblc_hashkey() local
159 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()
Dip_vs_lblcr.c318 __be32 addr_fold = addr->ip; in ip_vs_lblcr_hashkey() local
322 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()
Dip_vs_ctl.c270 __be32 addr_fold = addr->ip; in ip_vs_svc_hashkey() local
275 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() local
506 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()
/net/sched/
Dcls_flow.c63 static inline u32 addr_fold(void *addr) in addr_fold() function
77 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()