Lines Matching refs:xfrm_address_t

205 		xfrm_address_t	saddr;
231 xfrm_address_t *coaddr;
349 const xfrm_address_t *saddr,
350 const xfrm_address_t *daddr,
353 xfrm_address_t *saddr,
354 xfrm_address_t *daddr,
475 xfrm_address_t saddr;
560 xfrm_address_t local;
561 xfrm_address_t remote;
567 xfrm_address_t old_daddr;
568 xfrm_address_t old_saddr;
569 xfrm_address_t new_daddr;
570 xfrm_address_t new_saddr;
596 int (*new_mapping)(struct xfrm_state *x, xfrm_address_t *ipaddr, __be16 sport);
598 int (*report)(struct net *net, u8 proto, struct xfrm_selector *sel, xfrm_address_t *addr);
1074 xfrm_addr_any(const xfrm_address_t *addr, unsigned short family)
1318 xfrm_address_t *xfrm_flowi_daddr(const struct flowi *fl, unsigned short family)
1322 return (xfrm_address_t *)&fl->u.ip4.daddr;
1324 return (xfrm_address_t *)&fl->u.ip6.daddr;
1330 xfrm_address_t *xfrm_flowi_saddr(const struct flowi *fl, unsigned short family)
1334 return (xfrm_address_t *)&fl->u.ip4.saddr;
1336 return (xfrm_address_t *)&fl->u.ip6.saddr;
1343 xfrm_address_t *saddr, xfrm_address_t *daddr,
1360 const xfrm_address_t *daddr, const xfrm_address_t *saddr)
1370 const xfrm_address_t *daddr, const xfrm_address_t *saddr)
1382 const xfrm_address_t *daddr, const xfrm_address_t *saddr,
1401 (const xfrm_address_t *)&fl->u.ip4.daddr,
1402 (const xfrm_address_t *)&fl->u.ip4.saddr);
1405 (const xfrm_address_t *)&fl->u.ip6.daddr,
1406 (const xfrm_address_t *)&fl->u.ip6.saddr);
1566 struct xfrm_state *xfrm_state_find(const xfrm_address_t *daddr,
1567 const xfrm_address_t *saddr,
1573 xfrm_address_t *daddr,
1574 xfrm_address_t *saddr,
1601 const xfrm_address_t *daddr, __be32 spi,
1604 const xfrm_address_t *daddr,
1605 const xfrm_address_t *saddr,
1700 int xfrm6_input_addr(struct sk_buff *skb, xfrm_address_t *daddr,
1701 xfrm_address_t *saddr, u8 proto);
1707 __be32 xfrm6_tunnel_alloc_spi(struct net *net, xfrm_address_t *saddr);
1708 __be32 xfrm6_tunnel_spi_lookup(struct net *net, const xfrm_address_t *saddr);
1726 const xfrm_address_t *saddr,
1727 const xfrm_address_t *daddr,
1756 const xfrm_address_t *daddr,
1757 const xfrm_address_t *saddr, int create,
1778 int km_new_mapping(struct xfrm_state *x, xfrm_address_t *ipaddr, __be16 sport);
1781 xfrm_address_t *addr);
1800 static inline bool xfrm6_addr_equal(const xfrm_address_t *a,
1801 const xfrm_address_t *b)
1807 static inline bool xfrm_addr_equal(const xfrm_address_t *a,
1808 const xfrm_address_t *b,