Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_tun_vxlan.c89 struct vxlanhdr *vxh; in mlx5e_gen_ip_tunnel_header_vxlan() local
93 vxh = (struct vxlanhdr *)((char *)udp + sizeof(struct udphdr)); in mlx5e_gen_ip_tunnel_header_vxlan()
97 vxh->vx_flags = VXLAN_HF_VNI; in mlx5e_gen_ip_tunnel_header_vxlan()
98 vxh->vx_vni = vxlan_vni_field(tun_id); in mlx5e_gen_ip_tunnel_header_vxlan()
/linux-6.1.9/drivers/net/vxlan/
Dvxlan_core.c2143 static void vxlan_build_gbp_hdr(struct vxlanhdr *vxh, u32 vxflags, in vxlan_build_gbp_hdr() argument
2151 gbp = (struct vxlanhdr_gbp *)vxh; in vxlan_build_gbp_hdr()
2152 vxh->vx_flags |= VXLAN_HF_GBP; in vxlan_build_gbp_hdr()
2163 static int vxlan_build_gpe_hdr(struct vxlanhdr *vxh, u32 vxflags, in vxlan_build_gpe_hdr() argument
2166 struct vxlanhdr_gpe *gpe = (struct vxlanhdr_gpe *)vxh; in vxlan_build_gpe_hdr()
2180 struct vxlanhdr *vxh; in vxlan_build_skb() local
2209 vxh = __skb_push(skb, sizeof(*vxh)); in vxlan_build_skb()
2210 vxh->vx_flags = VXLAN_HF_VNI; in vxlan_build_skb()
2211 vxh->vx_vni = vxlan_vni_field(vni); in vxlan_build_skb()
2217 vxh->vx_vni |= vxlan_compute_rco(start, skb->csum_offset); in vxlan_build_skb()
[all …]