Lines Matching refs:vxh
2296 static void vxlan_build_gbp_hdr(struct vxlanhdr *vxh, u32 vxflags, in vxlan_build_gbp_hdr() argument
2304 gbp = (struct vxlanhdr_gbp *)vxh; in vxlan_build_gbp_hdr()
2305 vxh->vx_flags |= VXLAN_HF_GBP; in vxlan_build_gbp_hdr()
2316 static int vxlan_build_gpe_hdr(struct vxlanhdr *vxh, u32 vxflags, in vxlan_build_gpe_hdr() argument
2319 struct vxlanhdr_gpe *gpe = (struct vxlanhdr_gpe *)vxh; in vxlan_build_gpe_hdr()
2333 struct vxlanhdr *vxh; in vxlan_build_skb() local
2362 vxh = __skb_push(skb, sizeof(*vxh)); in vxlan_build_skb()
2363 vxh->vx_flags = VXLAN_HF_VNI; in vxlan_build_skb()
2364 vxh->vx_vni = vxlan_vni_field(vni); in vxlan_build_skb()
2370 vxh->vx_vni |= vxlan_compute_rco(start, skb->csum_offset); in vxlan_build_skb()
2371 vxh->vx_flags |= VXLAN_HF_RCO; in vxlan_build_skb()
2380 vxlan_build_gbp_hdr(vxh, vxflags, md); in vxlan_build_skb()
2382 err = vxlan_build_gpe_hdr(vxh, vxflags, skb->protocol); in vxlan_build_skb()