Lines Matching refs:saddr

158 		xfrm_address_t	saddr;  member
288 const xfrm_address_t *saddr,
290 int (*get_saddr)(struct net *net, xfrm_address_t *saddr, xfrm_address_t *daddr);
331 const xfrm_address_t *saddr);
479 xfrm_address_t saddr; member
1036 return (tmpl->saddr.a4 && in __xfrm4_state_addr_cmp()
1037 tmpl->saddr.a4 != x->props.saddr.a4); in __xfrm4_state_addr_cmp()
1043 return (!ipv6_addr_any((struct in6_addr*)&tmpl->saddr) && in __xfrm6_state_addr_cmp()
1044 !ipv6_addr_equal((struct in6_addr *)&tmpl->saddr, (struct in6_addr*)&x->props.saddr)); in __xfrm6_state_addr_cmp()
1223 return (xfrm_address_t *)&fl->u.ip4.saddr; in xfrm_flowi_saddr()
1225 return (xfrm_address_t *)&fl->u.ip6.saddr; in xfrm_flowi_saddr()
1232 xfrm_address_t *saddr, xfrm_address_t *daddr, in xfrm_flowi_addr_get() argument
1237 memcpy(&saddr->a4, &fl->u.ip4.saddr, sizeof(saddr->a4)); in xfrm_flowi_addr_get()
1241 saddr->in6 = fl->u.ip6.saddr; in xfrm_flowi_addr_get()
1249 const xfrm_address_t *daddr, const xfrm_address_t *saddr) in __xfrm4_state_addr_check() argument
1252 (saddr->a4 == x->props.saddr.a4 || !saddr->a4 || !x->props.saddr.a4)) in __xfrm4_state_addr_check()
1259 const xfrm_address_t *daddr, const xfrm_address_t *saddr) in __xfrm6_state_addr_check() argument
1262 (ipv6_addr_equal((struct in6_addr *)saddr, (struct in6_addr *)&x->props.saddr) || in __xfrm6_state_addr_check()
1263 ipv6_addr_any((struct in6_addr *)saddr) || in __xfrm6_state_addr_check()
1264 ipv6_addr_any((struct in6_addr *)&x->props.saddr))) in __xfrm6_state_addr_check()
1271 const xfrm_address_t *daddr, const xfrm_address_t *saddr, in xfrm_state_addr_check() argument
1276 return __xfrm4_state_addr_check(x, daddr, saddr); in xfrm_state_addr_check()
1278 return __xfrm6_state_addr_check(x, daddr, saddr); in xfrm_state_addr_check()
1291 (const xfrm_address_t *)&fl->u.ip4.saddr); in xfrm_state_addr_flow_check()
1295 (const xfrm_address_t *)&fl->u.ip6.saddr); in xfrm_state_addr_flow_check()
1432 const xfrm_address_t *saddr,
1439 xfrm_address_t *saddr,
1453 const xfrm_address_t *saddr,
1540 xfrm_address_t *saddr, u8 proto);
1547 __be32 xfrm6_tunnel_alloc_spi(struct net *net, xfrm_address_t *saddr);
1548 __be32 xfrm6_tunnel_spi_lookup(struct net *net, const xfrm_address_t *saddr);
1597 const xfrm_address_t *saddr, int create,