Searched refs:vxh (Results 1 – 2 of 2) sorted by relevance
1794 static void vxlan_build_gbp_hdr(struct vxlanhdr *vxh, u32 vxflags, in vxlan_build_gbp_hdr() argument1802 gbp = (struct vxlanhdr_gbp *)vxh; in vxlan_build_gbp_hdr()1803 vxh->vx_flags |= VXLAN_HF_GBP; in vxlan_build_gbp_hdr()1814 static int vxlan_build_gpe_hdr(struct vxlanhdr *vxh, u32 vxflags, in vxlan_build_gpe_hdr() argument1817 struct vxlanhdr_gpe *gpe = (struct vxlanhdr_gpe *)vxh; in vxlan_build_gpe_hdr()1831 struct vxlanhdr *vxh; in vxlan_build_skb() local1860 vxh = __skb_push(skb, sizeof(*vxh)); in vxlan_build_skb()1861 vxh->vx_flags = VXLAN_HF_VNI; in vxlan_build_skb()1862 vxh->vx_vni = vxlan_vni_field(vni); in vxlan_build_skb()1868 vxh->vx_vni |= vxlan_compute_rco(start, skb->csum_offset); in vxlan_build_skb()[all …]
2255 struct vxlanhdr *vxh = (struct vxlanhdr *)((char *)udp + sizeof(struct udphdr)); in gen_vxlan_header_ipv4() local2273 vxh->vx_flags = VXLAN_HF_VNI; in gen_vxlan_header_ipv4()2274 vxh->vx_vni = vxlan_vni_field(vx_vni); in gen_vxlan_header_ipv4()2289 struct vxlanhdr *vxh = (struct vxlanhdr *)((char *)udp + sizeof(struct udphdr)); in gen_vxlan_header_ipv6() local2305 vxh->vx_flags = VXLAN_HF_VNI; in gen_vxlan_header_ipv6()2306 vxh->vx_vni = vxlan_vni_field(vx_vni); in gen_vxlan_header_ipv6()