Searched refs:vxh (Results 1 – 2 of 2) sorted by relevance
91 struct vxlanhdr *vxh; in mlx5e_gen_ip_tunnel_header_vxlan() local96 vxh = (struct vxlanhdr *)((char *)udp + sizeof(struct udphdr)); in mlx5e_gen_ip_tunnel_header_vxlan()100 vxh->vx_flags = VXLAN_HF_VNI; in mlx5e_gen_ip_tunnel_header_vxlan()101 vxh->vx_vni = vxlan_vni_field(tun_id); in mlx5e_gen_ip_tunnel_header_vxlan()104 vxlan_build_gbp_hdr(vxh, md); in mlx5e_gen_ip_tunnel_header_vxlan()
2186 static int vxlan_build_gpe_hdr(struct vxlanhdr *vxh, __be16 protocol) in vxlan_build_gpe_hdr() argument2188 struct vxlanhdr_gpe *gpe = (struct vxlanhdr_gpe *)vxh; in vxlan_build_gpe_hdr()2202 struct vxlanhdr *vxh; in vxlan_build_skb() local2231 vxh = __skb_push(skb, sizeof(*vxh)); in vxlan_build_skb()2232 vxh->vx_flags = VXLAN_HF_VNI; in vxlan_build_skb()2233 vxh->vx_vni = vxlan_vni_field(vni); in vxlan_build_skb()2239 vxh->vx_vni |= vxlan_compute_rco(start, skb->csum_offset); in vxlan_build_skb()2240 vxh->vx_flags |= VXLAN_HF_RCO; in vxlan_build_skb()2249 vxlan_build_gbp_hdr(vxh, md); in vxlan_build_skb()2251 err = vxlan_build_gpe_hdr(vxh, skb->protocol); in vxlan_build_skb()