Searched refs:coaddr (Results 1 – 5 of 5) sorted by relevance
/kernel/linux/linux-5.10/net/ipv6/ |
D | mip6.c | 126 if (!ipv6_addr_equal(&iph->saddr, (struct in6_addr *)x->coaddr) && in mip6_destopt_input() 127 !ipv6_addr_any((struct in6_addr *)x->coaddr)) in mip6_destopt_input() 166 memcpy(&iph->saddr, x->coaddr, sizeof(iph->saddr)); in mip6_destopt_output() 346 if (!ipv6_addr_equal(&iph->daddr, (struct in6_addr *)x->coaddr) && in mip6_rthdr_input() 347 !ipv6_addr_any((struct in6_addr *)x->coaddr)) in mip6_rthdr_input() 380 memcpy(&iph->daddr, x->coaddr, sizeof(iph->daddr)); in mip6_rthdr_output()
|
/kernel/linux/linux-5.10/net/xfrm/ |
D | xfrm_state.c | 488 kfree(x->coaddr); in ___xfrm_state_destroy() 1530 if (orig->coaddr) { in xfrm_state_clone() 1531 x->coaddr = kmemdup(orig->coaddr, sizeof(*x->coaddr), in xfrm_state_clone() 1533 if (!x->coaddr) in xfrm_state_clone() 1702 if (x->coaddr && x1->coaddr) { in xfrm_state_update() 1703 memcpy(x1->coaddr, x->coaddr, sizeof(*x1->coaddr)); in xfrm_state_update()
|
D | xfrm_user.c | 599 x->coaddr = kmemdup(nla_data(attrs[XFRMA_COADDR]), in xfrm_state_construct() 600 sizeof(*x->coaddr), GFP_KERNEL); in xfrm_state_construct() 601 if (x->coaddr == NULL) in xfrm_state_construct() 910 if (x->coaddr) { in copy_to_user_state_extra() 911 ret = nla_put(skb, XFRMA_COADDR, sizeof(*x->coaddr), x->coaddr); in copy_to_user_state_extra() 2924 if (x->coaddr) in xfrm_sa_len() 2925 l += nla_total_size(sizeof(*x->coaddr)); in xfrm_sa_len()
|
D | xfrm_policy.c | 286 saddr = x->coaddr; in xfrm_dst_lookup() 291 daddr = x->coaddr; in xfrm_dst_lookup() 3916 daddr = xfrm->coaddr; in xfrm_get_dst_nexthop()
|
/kernel/linux/linux-5.10/include/net/ |
D | xfrm.h | 206 xfrm_address_t *coaddr; member
|