Searched refs:coaddr (Results 1 – 5 of 5) sorted by relevance
/linux-6.1.9/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() 295 if (!ipv6_addr_equal(&iph->daddr, (struct in6_addr *)x->coaddr) && in mip6_rthdr_input() 296 !ipv6_addr_any((struct in6_addr *)x->coaddr)) in mip6_rthdr_input() 329 memcpy(&iph->daddr, x->coaddr, sizeof(iph->daddr)); in mip6_rthdr_output()
|
/linux-6.1.9/net/xfrm/ |
D | xfrm_state.c | 510 kfree(x->coaddr); in ___xfrm_state_destroy() 1567 if (orig->coaddr) { in xfrm_state_clone() 1568 x->coaddr = kmemdup(orig->coaddr, sizeof(*x->coaddr), in xfrm_state_clone() 1570 if (!x->coaddr) in xfrm_state_clone() 1747 if (x->coaddr && x1->coaddr) { in xfrm_state_update() 1748 memcpy(x1->coaddr, x->coaddr, sizeof(*x1->coaddr)); in xfrm_state_update()
|
D | xfrm_user.c | 688 x->coaddr = kmemdup(nla_data(attrs[XFRMA_COADDR]), in xfrm_state_construct() 689 sizeof(*x->coaddr), GFP_KERNEL); in xfrm_state_construct() 690 if (x->coaddr == NULL) in xfrm_state_construct() 1059 if (x->coaddr) { in copy_to_user_state_extra() 1060 ret = nla_put(skb, XFRMA_COADDR, sizeof(*x->coaddr), x->coaddr); in copy_to_user_state_extra() 3198 if (x->coaddr) in xfrm_sa_len() 3199 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() 3891 daddr = xfrm->coaddr; in xfrm_get_dst_nexthop()
|
/linux-6.1.9/include/net/ |
D | xfrm.h | 218 xfrm_address_t *coaddr; member
|