Lines Matching refs:saddr

158 		xfrm_address_t	saddr;  member
290 const xfrm_address_t *saddr,
293 xfrm_address_t *saddr,
333 const xfrm_address_t *saddr);
481 xfrm_address_t saddr; member
1039 return (tmpl->saddr.a4 && in __xfrm4_state_addr_cmp()
1040 tmpl->saddr.a4 != x->props.saddr.a4); in __xfrm4_state_addr_cmp()
1046 return (!ipv6_addr_any((struct in6_addr*)&tmpl->saddr) && in __xfrm6_state_addr_cmp()
1047 !ipv6_addr_equal((struct in6_addr *)&tmpl->saddr, (struct in6_addr*)&x->props.saddr)); in __xfrm6_state_addr_cmp()
1232 return (xfrm_address_t *)&fl->u.ip4.saddr; in xfrm_flowi_saddr()
1234 return (xfrm_address_t *)&fl->u.ip6.saddr; in xfrm_flowi_saddr()
1241 xfrm_address_t *saddr, xfrm_address_t *daddr, in xfrm_flowi_addr_get() argument
1246 memcpy(&saddr->a4, &fl->u.ip4.saddr, sizeof(saddr->a4)); in xfrm_flowi_addr_get()
1250 saddr->in6 = fl->u.ip6.saddr; in xfrm_flowi_addr_get()
1258 const xfrm_address_t *daddr, const xfrm_address_t *saddr) in __xfrm4_state_addr_check() argument
1261 (saddr->a4 == x->props.saddr.a4 || !saddr->a4 || !x->props.saddr.a4)) in __xfrm4_state_addr_check()
1268 const xfrm_address_t *daddr, const xfrm_address_t *saddr) in __xfrm6_state_addr_check() argument
1271 (ipv6_addr_equal((struct in6_addr *)saddr, (struct in6_addr *)&x->props.saddr) || in __xfrm6_state_addr_check()
1272 ipv6_addr_any((struct in6_addr *)saddr) || in __xfrm6_state_addr_check()
1273 ipv6_addr_any((struct in6_addr *)&x->props.saddr))) in __xfrm6_state_addr_check()
1280 const xfrm_address_t *daddr, const xfrm_address_t *saddr, in xfrm_state_addr_check() argument
1285 return __xfrm4_state_addr_check(x, daddr, saddr); in xfrm_state_addr_check()
1287 return __xfrm6_state_addr_check(x, daddr, saddr); in xfrm_state_addr_check()
1300 (const xfrm_address_t *)&fl->u.ip4.saddr); in xfrm_state_addr_flow_check()
1304 (const xfrm_address_t *)&fl->u.ip6.saddr); in xfrm_state_addr_flow_check()
1443 const xfrm_address_t *saddr,
1450 xfrm_address_t *saddr,
1464 const xfrm_address_t *saddr,
1551 xfrm_address_t *saddr, u8 proto);
1558 __be32 xfrm6_tunnel_alloc_spi(struct net *net, xfrm_address_t *saddr);
1559 __be32 xfrm6_tunnel_spi_lookup(struct net *net, const xfrm_address_t *saddr);
1608 const xfrm_address_t *saddr, int create,