Lines Matching refs:xfrm_address_t

200 		xfrm_address_t	saddr;
226 xfrm_address_t *coaddr;
344 const xfrm_address_t *saddr,
345 const xfrm_address_t *daddr,
348 xfrm_address_t *saddr,
349 xfrm_address_t *daddr,
470 xfrm_address_t saddr;
555 xfrm_address_t local;
556 xfrm_address_t remote;
562 xfrm_address_t old_daddr;
563 xfrm_address_t old_saddr;
564 xfrm_address_t new_daddr;
565 xfrm_address_t new_saddr;
591 int (*new_mapping)(struct xfrm_state *x, xfrm_address_t *ipaddr, __be16 sport);
593 int (*report)(struct net *net, u8 proto, struct xfrm_selector *sel, xfrm_address_t *addr);
1068 xfrm_addr_any(const xfrm_address_t *addr, unsigned short family) in xfrm_addr_any()
1312 xfrm_address_t *xfrm_flowi_daddr(const struct flowi *fl, unsigned short family) in xfrm_flowi_daddr()
1316 return (xfrm_address_t *)&fl->u.ip4.daddr; in xfrm_flowi_daddr()
1318 return (xfrm_address_t *)&fl->u.ip6.daddr; in xfrm_flowi_daddr()
1324 xfrm_address_t *xfrm_flowi_saddr(const struct flowi *fl, unsigned short family) in xfrm_flowi_saddr()
1328 return (xfrm_address_t *)&fl->u.ip4.saddr; in xfrm_flowi_saddr()
1330 return (xfrm_address_t *)&fl->u.ip6.saddr; in xfrm_flowi_saddr()
1337 xfrm_address_t *saddr, xfrm_address_t *daddr, in xfrm_flowi_addr_get()
1354 const xfrm_address_t *daddr, const xfrm_address_t *saddr) in __xfrm4_state_addr_check()
1364 const xfrm_address_t *daddr, const xfrm_address_t *saddr) in __xfrm6_state_addr_check()
1376 const xfrm_address_t *daddr, const xfrm_address_t *saddr, in xfrm_state_addr_check()
1395 (const xfrm_address_t *)&fl->u.ip4.daddr, in xfrm_state_addr_flow_check()
1396 (const xfrm_address_t *)&fl->u.ip4.saddr); in xfrm_state_addr_flow_check()
1399 (const xfrm_address_t *)&fl->u.ip6.daddr, in xfrm_state_addr_flow_check()
1400 (const xfrm_address_t *)&fl->u.ip6.saddr); in xfrm_state_addr_flow_check()
1560 struct xfrm_state *xfrm_state_find(const xfrm_address_t *daddr,
1561 const xfrm_address_t *saddr,
1567 xfrm_address_t *daddr,
1568 xfrm_address_t *saddr,
1595 const xfrm_address_t *daddr, __be32 spi,
1598 const xfrm_address_t *daddr,
1599 const xfrm_address_t *saddr,
1694 int xfrm6_input_addr(struct sk_buff *skb, xfrm_address_t *daddr,
1695 xfrm_address_t *saddr, u8 proto);
1701 __be32 xfrm6_tunnel_alloc_spi(struct net *net, xfrm_address_t *saddr);
1702 __be32 xfrm6_tunnel_spi_lookup(struct net *net, const xfrm_address_t *saddr);
1720 const xfrm_address_t *saddr,
1721 const xfrm_address_t *daddr,
1750 const xfrm_address_t *daddr,
1751 const xfrm_address_t *saddr, int create,
1772 int km_new_mapping(struct xfrm_state *x, xfrm_address_t *ipaddr, __be16 sport);
1775 xfrm_address_t *addr);
1794 static inline bool xfrm6_addr_equal(const xfrm_address_t *a, in xfrm6_addr_equal()
1795 const xfrm_address_t *b) in xfrm6_addr_equal()
1801 static inline bool xfrm_addr_equal(const xfrm_address_t *a, in xfrm_addr_equal()
1802 const xfrm_address_t *b, in xfrm_addr_equal()