Lines Matching refs:xfrm_address_t

158 		xfrm_address_t	saddr;
176 xfrm_address_t *coaddr;
288 const xfrm_address_t *saddr,
289 const xfrm_address_t *daddr);
290 int (*get_saddr)(struct net *net, xfrm_address_t *saddr, xfrm_address_t *daddr);
330 const xfrm_address_t *daddr,
331 const xfrm_address_t *saddr);
479 xfrm_address_t saddr;
557 xfrm_address_t local;
558 xfrm_address_t remote;
564 xfrm_address_t old_daddr;
565 xfrm_address_t old_saddr;
566 xfrm_address_t new_daddr;
567 xfrm_address_t new_saddr;
594 int (*new_mapping)(struct xfrm_state *x, xfrm_address_t *ipaddr, __be16 sport);
596 int (*report)(struct net *net, u8 proto, struct xfrm_selector *sel, xfrm_address_t *addr);
1022 xfrm_addr_any(const xfrm_address_t *addr, unsigned short family) in xfrm_addr_any()
1207 xfrm_address_t *xfrm_flowi_daddr(const struct flowi *fl, unsigned short family) in xfrm_flowi_daddr()
1211 return (xfrm_address_t *)&fl->u.ip4.daddr; in xfrm_flowi_daddr()
1213 return (xfrm_address_t *)&fl->u.ip6.daddr; in xfrm_flowi_daddr()
1219 xfrm_address_t *xfrm_flowi_saddr(const struct flowi *fl, unsigned short family) in xfrm_flowi_saddr()
1223 return (xfrm_address_t *)&fl->u.ip4.saddr; in xfrm_flowi_saddr()
1225 return (xfrm_address_t *)&fl->u.ip6.saddr; in xfrm_flowi_saddr()
1232 xfrm_address_t *saddr, xfrm_address_t *daddr, in xfrm_flowi_addr_get()
1249 const xfrm_address_t *daddr, const xfrm_address_t *saddr) in __xfrm4_state_addr_check()
1259 const xfrm_address_t *daddr, const xfrm_address_t *saddr) in __xfrm6_state_addr_check()
1271 const xfrm_address_t *daddr, const xfrm_address_t *saddr, in xfrm_state_addr_check()
1290 (const xfrm_address_t *)&fl->u.ip4.daddr, in xfrm_state_addr_flow_check()
1291 (const xfrm_address_t *)&fl->u.ip4.saddr); in xfrm_state_addr_flow_check()
1294 (const xfrm_address_t *)&fl->u.ip6.daddr, in xfrm_state_addr_flow_check()
1295 (const xfrm_address_t *)&fl->u.ip6.saddr); in xfrm_state_addr_flow_check()
1431 struct xfrm_state *xfrm_state_find(const xfrm_address_t *daddr,
1432 const xfrm_address_t *saddr,
1438 xfrm_address_t *daddr,
1439 xfrm_address_t *saddr,
1449 const xfrm_address_t *daddr, __be32 spi,
1452 const xfrm_address_t *daddr,
1453 const xfrm_address_t *saddr,
1539 int xfrm6_input_addr(struct sk_buff *skb, xfrm_address_t *daddr,
1540 xfrm_address_t *saddr, u8 proto);
1547 __be32 xfrm6_tunnel_alloc_spi(struct net *net, xfrm_address_t *saddr);
1548 __be32 xfrm6_tunnel_spi_lookup(struct net *net, const xfrm_address_t *saddr);
1596 const xfrm_address_t *daddr,
1597 const xfrm_address_t *saddr, int create,
1613 int km_new_mapping(struct xfrm_state *x, xfrm_address_t *ipaddr, __be16 sport);
1616 xfrm_address_t *addr);
1635 static inline bool xfrm6_addr_equal(const xfrm_address_t *a, in xfrm6_addr_equal()
1636 const xfrm_address_t *b) in xfrm6_addr_equal()
1642 static inline bool xfrm_addr_equal(const xfrm_address_t *a, in xfrm_addr_equal()
1643 const xfrm_address_t *b, in xfrm_addr_equal()