Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/
Dgeneve.c859 struct ip_tunnel_info *unclone; in geneve_xmit_skb() local
861 unclone = skb_tunnel_info_unclone(skb); in geneve_xmit_skb()
862 if (unlikely(!unclone)) { in geneve_xmit_skb()
867 unclone->key.u.ipv4.dst = saddr; in geneve_xmit_skb()
868 unclone->key.u.ipv4.src = info->key.u.ipv4.dst; in geneve_xmit_skb()
968 struct ip_tunnel_info *unclone; in geneve6_xmit_skb() local
970 unclone = skb_tunnel_info_unclone(skb); in geneve6_xmit_skb()
971 if (unlikely(!unclone)) { in geneve6_xmit_skb()
976 unclone->key.u.ipv6.dst = saddr; in geneve6_xmit_skb()
977 unclone->key.u.ipv6.src = info->key.u.ipv6.dst; in geneve6_xmit_skb()
/linux-6.12.1/drivers/net/vxlan/
Dvxlan_core.c2498 struct ip_tunnel_info *unclone; in vxlan_xmit_one() local
2500 unclone = skb_tunnel_info_unclone(skb); in vxlan_xmit_one()
2501 if (unlikely(!unclone)) in vxlan_xmit_one()
2504 unclone->key.u.ipv4.src = pkey->u.ipv4.dst; in vxlan_xmit_one()
2505 unclone->key.u.ipv4.dst = saddr; in vxlan_xmit_one()
2557 struct ip_tunnel_info *unclone; in vxlan_xmit_one() local
2559 unclone = skb_tunnel_info_unclone(skb); in vxlan_xmit_one()
2560 if (unlikely(!unclone)) in vxlan_xmit_one()
2563 unclone->key.u.ipv6.src = pkey->u.ipv6.dst; in vxlan_xmit_one()
2564 unclone->key.u.ipv6.dst = saddr; in vxlan_xmit_one()