Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/
Dvxlan.c1794 static void vxlan_build_gbp_hdr(struct vxlanhdr *vxh, u32 vxflags, in vxlan_build_gbp_hdr() argument
1802 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() argument
1817 struct vxlanhdr_gpe *gpe = (struct vxlanhdr_gpe *)vxh; in vxlan_build_gpe_hdr()
1831 struct vxlanhdr *vxh; in vxlan_build_skb() local
1860 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 …]
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/
Den_tc.c2255 struct vxlanhdr *vxh = (struct vxlanhdr *)((char *)udp + sizeof(struct udphdr)); in gen_vxlan_header_ipv4() local
2273 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() local
2305 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()