Lines Matching refs:xfrm_address_t
158 xfrm_address_t saddr;
177 xfrm_address_t *coaddr;
290 const xfrm_address_t *saddr,
291 const xfrm_address_t *daddr);
293 xfrm_address_t *saddr,
294 xfrm_address_t *daddr);
332 const xfrm_address_t *daddr,
333 const xfrm_address_t *saddr);
481 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;
597 int (*new_mapping)(struct xfrm_state *x, xfrm_address_t *ipaddr, __be16 sport);
599 int (*report)(struct net *net, u8 proto, struct xfrm_selector *sel, xfrm_address_t *addr);
1025 xfrm_addr_any(const xfrm_address_t *addr, unsigned short family) in xfrm_addr_any()
1216 xfrm_address_t *xfrm_flowi_daddr(const struct flowi *fl, unsigned short family) in xfrm_flowi_daddr()
1220 return (xfrm_address_t *)&fl->u.ip4.daddr; in xfrm_flowi_daddr()
1222 return (xfrm_address_t *)&fl->u.ip6.daddr; in xfrm_flowi_daddr()
1228 xfrm_address_t *xfrm_flowi_saddr(const struct flowi *fl, unsigned short family) in xfrm_flowi_saddr()
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()
1258 const xfrm_address_t *daddr, const xfrm_address_t *saddr) in __xfrm4_state_addr_check()
1268 const xfrm_address_t *daddr, const xfrm_address_t *saddr) in __xfrm6_state_addr_check()
1280 const xfrm_address_t *daddr, const xfrm_address_t *saddr, in xfrm_state_addr_check()
1299 (const xfrm_address_t *)&fl->u.ip4.daddr, in xfrm_state_addr_flow_check()
1300 (const xfrm_address_t *)&fl->u.ip4.saddr); in xfrm_state_addr_flow_check()
1303 (const xfrm_address_t *)&fl->u.ip6.daddr, in xfrm_state_addr_flow_check()
1304 (const xfrm_address_t *)&fl->u.ip6.saddr); in xfrm_state_addr_flow_check()
1442 struct xfrm_state *xfrm_state_find(const xfrm_address_t *daddr,
1443 const xfrm_address_t *saddr,
1449 xfrm_address_t *daddr,
1450 xfrm_address_t *saddr,
1460 const xfrm_address_t *daddr, __be32 spi,
1463 const xfrm_address_t *daddr,
1464 const xfrm_address_t *saddr,
1550 int xfrm6_input_addr(struct sk_buff *skb, xfrm_address_t *daddr,
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);
1607 const xfrm_address_t *daddr,
1608 const xfrm_address_t *saddr, int create,
1624 int km_new_mapping(struct xfrm_state *x, xfrm_address_t *ipaddr, __be16 sport);
1627 xfrm_address_t *addr);
1646 static inline bool xfrm6_addr_equal(const xfrm_address_t *a, in xfrm6_addr_equal()
1647 const xfrm_address_t *b) in xfrm6_addr_equal()
1653 static inline bool xfrm_addr_equal(const xfrm_address_t *a, in xfrm_addr_equal()
1654 const xfrm_address_t *b, in xfrm_addr_equal()