Lines Matching refs:xfrm_address_t
180 xfrm_address_t saddr;
201 xfrm_address_t *coaddr;
326 const xfrm_address_t *saddr,
327 const xfrm_address_t *daddr,
330 xfrm_address_t *saddr,
331 xfrm_address_t *daddr,
454 xfrm_address_t saddr;
537 xfrm_address_t local;
538 xfrm_address_t remote;
544 xfrm_address_t old_daddr;
545 xfrm_address_t old_saddr;
546 xfrm_address_t new_daddr;
547 xfrm_address_t new_saddr;
573 int (*new_mapping)(struct xfrm_state *x, xfrm_address_t *ipaddr, __be16 sport);
575 int (*report)(struct net *net, u8 proto, struct xfrm_selector *sel, xfrm_address_t *addr);
1048 xfrm_addr_any(const xfrm_address_t *addr, unsigned short family) in xfrm_addr_any()
1234 xfrm_address_t *xfrm_flowi_daddr(const struct flowi *fl, unsigned short family) in xfrm_flowi_daddr()
1238 return (xfrm_address_t *)&fl->u.ip4.daddr; in xfrm_flowi_daddr()
1240 return (xfrm_address_t *)&fl->u.ip6.daddr; in xfrm_flowi_daddr()
1246 xfrm_address_t *xfrm_flowi_saddr(const struct flowi *fl, unsigned short family) in xfrm_flowi_saddr()
1250 return (xfrm_address_t *)&fl->u.ip4.saddr; in xfrm_flowi_saddr()
1252 return (xfrm_address_t *)&fl->u.ip6.saddr; in xfrm_flowi_saddr()
1259 xfrm_address_t *saddr, xfrm_address_t *daddr, in xfrm_flowi_addr_get()
1276 const xfrm_address_t *daddr, const xfrm_address_t *saddr) in __xfrm4_state_addr_check()
1286 const xfrm_address_t *daddr, const xfrm_address_t *saddr) in __xfrm6_state_addr_check()
1298 const xfrm_address_t *daddr, const xfrm_address_t *saddr, in xfrm_state_addr_check()
1317 (const xfrm_address_t *)&fl->u.ip4.daddr, in xfrm_state_addr_flow_check()
1318 (const xfrm_address_t *)&fl->u.ip4.saddr); in xfrm_state_addr_flow_check()
1321 (const xfrm_address_t *)&fl->u.ip6.daddr, in xfrm_state_addr_flow_check()
1322 (const xfrm_address_t *)&fl->u.ip6.saddr); in xfrm_state_addr_flow_check()
1482 struct xfrm_state *xfrm_state_find(const xfrm_address_t *daddr,
1483 const xfrm_address_t *saddr,
1489 xfrm_address_t *daddr,
1490 xfrm_address_t *saddr,
1500 const xfrm_address_t *daddr, __be32 spi,
1503 const xfrm_address_t *daddr,
1504 const xfrm_address_t *saddr,
1598 int xfrm6_input_addr(struct sk_buff *skb, xfrm_address_t *daddr,
1599 xfrm_address_t *saddr, u8 proto);
1605 __be32 xfrm6_tunnel_alloc_spi(struct net *net, xfrm_address_t *saddr);
1606 __be32 xfrm6_tunnel_spi_lookup(struct net *net, const xfrm_address_t *saddr);
1627 const xfrm_address_t *saddr,
1628 const xfrm_address_t *daddr,
1656 const xfrm_address_t *daddr,
1657 const xfrm_address_t *saddr, int create,
1676 int km_new_mapping(struct xfrm_state *x, xfrm_address_t *ipaddr, __be16 sport);
1679 xfrm_address_t *addr);
1698 static inline bool xfrm6_addr_equal(const xfrm_address_t *a, in xfrm6_addr_equal()
1699 const xfrm_address_t *b) in xfrm6_addr_equal()
1705 static inline bool xfrm_addr_equal(const xfrm_address_t *a, in xfrm_addr_equal()
1706 const xfrm_address_t *b, in xfrm_addr_equal()