Lines Matching refs:daddr
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,
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()
1232 xfrm_address_t *saddr, xfrm_address_t *daddr, in xfrm_flowi_addr_get() argument
1238 memcpy(&daddr->a4, &fl->u.ip4.daddr, sizeof(daddr->a4)); in xfrm_flowi_addr_get()
1242 daddr->in6 = fl->u.ip6.daddr; in xfrm_flowi_addr_get()
1249 const xfrm_address_t *daddr, const xfrm_address_t *saddr) in __xfrm4_state_addr_check() argument
1251 if (daddr->a4 == x->id.daddr.a4 && in __xfrm4_state_addr_check()
1259 const xfrm_address_t *daddr, const xfrm_address_t *saddr) in __xfrm6_state_addr_check() argument
1261 if (ipv6_addr_equal((struct in6_addr *)daddr, (struct in6_addr *)&x->id.daddr) && in __xfrm6_state_addr_check()
1271 const xfrm_address_t *daddr, const xfrm_address_t *saddr, in xfrm_state_addr_check() argument
1276 return __xfrm4_state_addr_check(x, daddr, saddr); in xfrm_state_addr_check()
1278 return __xfrm6_state_addr_check(x, daddr, saddr); in xfrm_state_addr_check()
1290 (const xfrm_address_t *)&fl->u.ip4.daddr, in xfrm_state_addr_flow_check()
1294 (const xfrm_address_t *)&fl->u.ip6.daddr, in xfrm_state_addr_flow_check()
1431 struct xfrm_state *xfrm_state_find(const xfrm_address_t *daddr,
1438 xfrm_address_t *daddr,
1449 const xfrm_address_t *daddr, __be32 spi,
1452 const xfrm_address_t *daddr,
1520 XFRM_SPI_SKB_CB(skb)->daddroff = offsetof(struct iphdr, daddr); in xfrm4_rcv_spi()
1539 int xfrm6_input_addr(struct sk_buff *skb, xfrm_address_t *daddr,
1596 const xfrm_address_t *daddr,