Lines Matching refs:xfrm_address_t

187 		xfrm_address_t	saddr;
208 xfrm_address_t *coaddr;
320 const xfrm_address_t *saddr,
321 const xfrm_address_t *daddr,
324 xfrm_address_t *saddr,
325 xfrm_address_t *daddr,
445 xfrm_address_t saddr;
528 xfrm_address_t local;
529 xfrm_address_t remote;
535 xfrm_address_t old_daddr;
536 xfrm_address_t old_saddr;
537 xfrm_address_t new_daddr;
538 xfrm_address_t new_saddr;
564 int (*new_mapping)(struct xfrm_state *x, xfrm_address_t *ipaddr, __be16 sport);
566 int (*report)(struct net *net, u8 proto, struct xfrm_selector *sel, xfrm_address_t *addr);
1040 xfrm_addr_any(const xfrm_address_t *addr, unsigned short family) in xfrm_addr_any()
1250 xfrm_address_t *xfrm_flowi_daddr(const struct flowi *fl, unsigned short family) in xfrm_flowi_daddr()
1254 return (xfrm_address_t *)&fl->u.ip4.daddr; in xfrm_flowi_daddr()
1256 return (xfrm_address_t *)&fl->u.ip6.daddr; in xfrm_flowi_daddr()
1262 xfrm_address_t *xfrm_flowi_saddr(const struct flowi *fl, unsigned short family) in xfrm_flowi_saddr()
1266 return (xfrm_address_t *)&fl->u.ip4.saddr; in xfrm_flowi_saddr()
1268 return (xfrm_address_t *)&fl->u.ip6.saddr; in xfrm_flowi_saddr()
1275 xfrm_address_t *saddr, xfrm_address_t *daddr, in xfrm_flowi_addr_get()
1292 const xfrm_address_t *daddr, const xfrm_address_t *saddr) in __xfrm4_state_addr_check()
1302 const xfrm_address_t *daddr, const xfrm_address_t *saddr) in __xfrm6_state_addr_check()
1314 const xfrm_address_t *daddr, const xfrm_address_t *saddr, in xfrm_state_addr_check()
1333 (const xfrm_address_t *)&fl->u.ip4.daddr, in xfrm_state_addr_flow_check()
1334 (const xfrm_address_t *)&fl->u.ip4.saddr); in xfrm_state_addr_flow_check()
1337 (const xfrm_address_t *)&fl->u.ip6.daddr, in xfrm_state_addr_flow_check()
1338 (const xfrm_address_t *)&fl->u.ip6.saddr); in xfrm_state_addr_flow_check()
1498 struct xfrm_state *xfrm_state_find(const xfrm_address_t *daddr,
1499 const xfrm_address_t *saddr,
1505 xfrm_address_t *daddr,
1506 xfrm_address_t *saddr,
1516 const xfrm_address_t *daddr, __be32 spi,
1519 const xfrm_address_t *daddr,
1520 const xfrm_address_t *saddr,
1613 int xfrm6_input_addr(struct sk_buff *skb, xfrm_address_t *daddr,
1614 xfrm_address_t *saddr, u8 proto);
1620 __be32 xfrm6_tunnel_alloc_spi(struct net *net, xfrm_address_t *saddr);
1621 __be32 xfrm6_tunnel_spi_lookup(struct net *net, const xfrm_address_t *saddr);
1639 const xfrm_address_t *saddr,
1640 const xfrm_address_t *daddr,
1668 const xfrm_address_t *daddr,
1669 const xfrm_address_t *saddr, int create,
1688 int km_new_mapping(struct xfrm_state *x, xfrm_address_t *ipaddr, __be16 sport);
1691 xfrm_address_t *addr);
1710 static inline bool xfrm6_addr_equal(const xfrm_address_t *a, in xfrm6_addr_equal()
1711 const xfrm_address_t *b) in xfrm6_addr_equal()
1717 static inline bool xfrm_addr_equal(const xfrm_address_t *a, in xfrm_addr_equal()
1718 const xfrm_address_t *b, in xfrm_addr_equal()