Home
last modified time | relevance | path

Searched refs:coaddr (Results 1 - 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/net/ipv6/
H A Dmip6.c126 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-6.6/net/ipv6/
H A Dmip6.c126 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()
/kernel/linux/linux-5.10/net/xfrm/
H A Dxfrm_state.c488 kfree(x->coaddr); in ___xfrm_state_destroy()
1532 if (orig->coaddr) { in xfrm_state_clone()
1533 x->coaddr = kmemdup(orig->coaddr, sizeof(*x->coaddr), in xfrm_state_clone()
1535 if (!x->coaddr) in xfrm_state_clone()
1712 if (x->coaddr && x1->coaddr) { in xfrm_state_update()
1713 memcpy(x1->coaddr, x->coaddr, sizeo in xfrm_state_update()
[all...]
H A Dxfrm_user.c599 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()
905 if (x->coaddr) { in copy_to_user_state_extra()
906 ret = nla_put(skb, XFRMA_COADDR, sizeof(*x->coaddr), x->coaddr); in copy_to_user_state_extra()
3016 if (x->coaddr) in xfrm_sa_len()
3017 l += nla_total_size(sizeof(*x->coaddr)); in xfrm_sa_len()
H A Dxfrm_policy.c286 saddr = x->coaddr; in xfrm_dst_lookup()
291 daddr = x->coaddr; in xfrm_dst_lookup()
3934 daddr = xfrm->coaddr; in xfrm_get_dst_nexthop()
/kernel/linux/linux-6.6/net/xfrm/
H A Dxfrm_state.c531 kfree(x->coaddr); in ___xfrm_state_destroy()
1716 if (orig->coaddr) { in xfrm_state_clone()
1717 x->coaddr = kmemdup(orig->coaddr, sizeof(*x->coaddr), in xfrm_state_clone()
1719 if (!x->coaddr) in xfrm_state_clone()
1896 if (x->coaddr && x1->coaddr) { in xfrm_state_update()
1897 memcpy(x1->coaddr, x->coaddr, sizeo in xfrm_state_update()
[all...]
H A Dxfrm_user.c701 x->coaddr = kmemdup(nla_data(attrs[XFRMA_COADDR]), in xfrm_state_construct()
702 sizeof(*x->coaddr), GFP_KERNEL); in xfrm_state_construct()
703 if (x->coaddr == NULL) in xfrm_state_construct()
1113 if (x->coaddr) { in copy_to_user_state_extra()
1114 ret = nla_put(skb, XFRMA_COADDR, sizeof(*x->coaddr), x->coaddr); in copy_to_user_state_extra()
3305 if (x->coaddr) in xfrm_sa_len()
3306 l += nla_total_size(sizeof(*x->coaddr)); in xfrm_sa_len()
H A Dxfrm_policy.c286 saddr = x->coaddr; in xfrm_dst_lookup()
291 daddr = x->coaddr; in xfrm_dst_lookup()
3985 daddr = xfrm->coaddr; in xfrm_get_dst_nexthop()
/kernel/linux/linux-5.10/include/net/
H A Dxfrm.h206 xfrm_address_t *coaddr; member
/kernel/linux/linux-6.6/include/net/
H A Dxfrm.h231 xfrm_address_t *coaddr; member

Completed in 34 milliseconds