Home
last modified time | relevance | path

Searched refs:unclone (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.6/drivers/net/
Dgeneve.c934 struct ip_tunnel_info *unclone; in geneve_xmit_skb() local
936 unclone = skb_tunnel_info_unclone(skb); in geneve_xmit_skb()
937 if (unlikely(!unclone)) { in geneve_xmit_skb()
942 unclone->key.u.ipv4.dst = fl4.saddr; in geneve_xmit_skb()
943 unclone->key.u.ipv4.src = fl4.daddr; in geneve_xmit_skb()
1031 struct ip_tunnel_info *unclone; in geneve6_xmit_skb() local
1033 unclone = skb_tunnel_info_unclone(skb); in geneve6_xmit_skb()
1034 if (unlikely(!unclone)) { in geneve6_xmit_skb()
1039 unclone->key.u.ipv6.dst = fl6.saddr; in geneve6_xmit_skb()
1040 unclone->key.u.ipv6.src = fl6.daddr; in geneve6_xmit_skb()
/Linux-v6.6/drivers/net/vxlan/
Dvxlan_core.c2563 struct ip_tunnel_info *unclone; in vxlan_xmit_one() local
2566 unclone = skb_tunnel_info_unclone(skb); in vxlan_xmit_one()
2567 if (unlikely(!unclone)) in vxlan_xmit_one()
2572 unclone->key.u.ipv4.src = src.s_addr; in vxlan_xmit_one()
2573 unclone->key.u.ipv4.dst = dst.s_addr; in vxlan_xmit_one()
2625 struct ip_tunnel_info *unclone; in vxlan_xmit_one() local
2628 unclone = skb_tunnel_info_unclone(skb); in vxlan_xmit_one()
2629 if (unlikely(!unclone)) in vxlan_xmit_one()
2634 unclone->key.u.ipv6.src = src; in vxlan_xmit_one()
2635 unclone->key.u.ipv6.dst = dst; in vxlan_xmit_one()