Home
last modified time | relevance | path

Searched refs:vxh (Results 1 - 5 of 5) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en/
H A 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()
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtc_tun_vxlan.c91 struct vxlanhdr *vxh; in mlx5e_gen_ip_tunnel_header_vxlan() local
96 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()
/kernel/linux/linux-6.6/include/net/
H A Dvxlan.h582 static inline void vxlan_build_gbp_hdr(struct vxlanhdr *vxh, const struct vxlan_metadata *md) in vxlan_build_gbp_hdr() argument
589 gbp = (struct vxlanhdr_gbp *)vxh; in vxlan_build_gbp_hdr()
590 vxh->vx_flags |= VXLAN_HF_GBP; in vxlan_build_gbp_hdr()
/kernel/linux/linux-5.10/drivers/net/vxlan/
H A Dvxlan_core.c2294 static void vxlan_build_gbp_hdr(struct vxlanhdr *vxh, u32 vxflags, in vxlan_build_gbp_hdr() argument
2302 gbp = (struct vxlanhdr_gbp *)vxh; in vxlan_build_gbp_hdr()
2303 vxh->vx_flags |= VXLAN_HF_GBP; in vxlan_build_gbp_hdr()
2314 static int vxlan_build_gpe_hdr(struct vxlanhdr *vxh, u32 vxflags, in vxlan_build_gpe_hdr() argument
2317 struct vxlanhdr_gpe *gpe = (struct vxlanhdr_gpe *)vxh; in vxlan_build_gpe_hdr()
2331 struct vxlanhdr *vxh; in vxlan_build_skb() local
2360 vxh = __skb_push(skb, sizeof(*vxh)); in vxlan_build_skb()
2361 vxh->vx_flags = VXLAN_HF_VNI; in vxlan_build_skb()
2362 vxh in vxlan_build_skb()
[all...]
/kernel/linux/linux-6.6/drivers/net/vxlan/
H A Dvxlan_core.c2143 static int vxlan_build_gpe_hdr(struct vxlanhdr *vxh, __be16 protocol) in vxlan_build_gpe_hdr() argument
2145 struct vxlanhdr_gpe *gpe = (struct vxlanhdr_gpe *)vxh; in vxlan_build_gpe_hdr()
2159 struct vxlanhdr *vxh; in vxlan_build_skb() local
2188 vxh = __skb_push(skb, sizeof(*vxh)); in vxlan_build_skb()
2189 vxh->vx_flags = VXLAN_HF_VNI; in vxlan_build_skb()
2190 vxh->vx_vni = vxlan_vni_field(vni); in vxlan_build_skb()
2196 vxh->vx_vni |= vxlan_compute_rco(start, skb->csum_offset); in vxlan_build_skb()
2197 vxh->vx_flags |= VXLAN_HF_RCO; in vxlan_build_skb()
2206 vxlan_build_gbp_hdr(vxh, m in vxlan_build_skb()
[all...]

Completed in 11 milliseconds