Lines Matching refs:saddr
20 const xfrm_address_t *saddr) in __xfrm4_daddr_saddr_hash() argument
22 u32 sum = (__force u32)daddr->a4 + (__force u32)saddr->a4; in __xfrm4_daddr_saddr_hash()
27 const xfrm_address_t *saddr) in __xfrm6_daddr_saddr_hash() argument
29 return __xfrm6_addr_hash(daddr) ^ __xfrm6_addr_hash(saddr); in __xfrm6_daddr_saddr_hash()
45 const xfrm_address_t *saddr, in __xfrm4_dpref_spref_hash() argument
50 ntohl(saddr->a4) & __bits2mask32(sbits), in __xfrm4_dpref_spref_hash()
76 const xfrm_address_t *saddr, in __xfrm6_dpref_spref_hash() argument
81 __xfrm6_pref_hash(saddr, sbits); in __xfrm6_dpref_spref_hash()
85 const xfrm_address_t *saddr, in __xfrm_dst_hash() argument
92 h ^= __xfrm4_daddr_saddr_hash(daddr, saddr); in __xfrm_dst_hash()
95 h ^= __xfrm6_daddr_saddr_hash(daddr, saddr); in __xfrm_dst_hash()
102 const xfrm_address_t *saddr, in __xfrm_src_hash() argument
109 h ^= __xfrm4_daddr_saddr_hash(daddr, saddr); in __xfrm_src_hash()
112 h ^= __xfrm6_daddr_saddr_hash(daddr, saddr); in __xfrm_src_hash()
151 const xfrm_address_t *saddr = &sel->saddr; in __sel_hash() local
160 h = __xfrm4_dpref_spref_hash(daddr, saddr, dbits, sbits); in __sel_hash()
168 h = __xfrm6_dpref_spref_hash(daddr, saddr, dbits, sbits); in __sel_hash()
176 const xfrm_address_t *saddr, in __addr_hash() argument
185 h = __xfrm4_dpref_spref_hash(daddr, saddr, dbits, sbits); in __addr_hash()
189 h = __xfrm6_dpref_spref_hash(daddr, saddr, dbits, sbits); in __addr_hash()