Searched refs:coaddr (Results 1 – 5 of 5) sorted by relevance
| /linux-6.15/net/ipv6/ |
| H A 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.15/net/xfrm/ |
| H A D | xfrm_state.c | 607 kfree(x->coaddr); in ___xfrm_state_destroy() 2021 if (orig->coaddr) { in xfrm_state_clone() 2022 x->coaddr = kmemdup(orig->coaddr, sizeof(*x->coaddr), in xfrm_state_clone() 2024 if (!x->coaddr) in xfrm_state_clone() 2215 if (x->coaddr && x1->coaddr) { in xfrm_state_update() 2216 memcpy(x1->coaddr, x->coaddr, sizeof(*x1->coaddr)); in xfrm_state_update()
|
| H A D | xfrm_user.c | 873 x->coaddr = kmemdup(nla_data(attrs[XFRMA_COADDR]), in xfrm_state_construct() 874 sizeof(*x->coaddr), GFP_KERNEL); in xfrm_state_construct() 875 if (x->coaddr == NULL) in xfrm_state_construct() 1306 if (x->coaddr) { in copy_to_user_state_extra() 1307 ret = nla_put(skb, XFRMA_COADDR, sizeof(*x->coaddr), x->coaddr); in copy_to_user_state_extra() 3616 if (x->coaddr) in xfrm_sa_len() 3617 l += nla_total_size(sizeof(*x->coaddr)); in xfrm_sa_len()
|
| H A D | xfrm_policy.c | 304 saddr = x->coaddr; in xfrm_dst_lookup() 309 daddr = x->coaddr; in xfrm_dst_lookup() 4078 daddr = xfrm->coaddr; in xfrm_get_dst_nexthop()
|
| /linux-6.15/include/net/ |
| H A D | xfrm.h | 245 xfrm_address_t *coaddr; member
|