Searched refs:vxlanhdr (Results 1 - 8 of 8) sorted by relevance

/linux-master/tools/testing/selftests/bpf/progs/
H A Dtest_tc_tunnel.c30 #define L2_PAD_SZ (sizeof(struct vxlanhdr) + ETH_HLEN)
52 struct vxlanhdr { struct
169 l2_len += sizeof(struct vxlanhdr);
210 struct vxlanhdr *vxlan_hdr = (struct vxlanhdr *)l2_hdr;
215 l2_hdr += sizeof(struct vxlanhdr);
300 l2_len += sizeof(struct vxlanhdr);
340 struct vxlanhdr *vxlan_hdr = (struct vxlanhdr *)l2_hdr;
345 l2_hdr += sizeof(struct vxlanhdr);
[all...]
/linux-master/include/net/
H A Dvxlan.h25 struct vxlanhdr { struct
36 #define VXLAN_HLEN (sizeof(struct udphdr) + sizeof(struct vxlanhdr))
382 sizeof(struct udphdr) + sizeof(struct vxlanhdr)) ||
396 sizeof(struct udphdr) + sizeof(struct vxlanhdr) +
400 static inline struct vxlanhdr *vxlan_hdr(struct sk_buff *skb)
402 return (struct vxlanhdr *)(udp_hdr(skb) + 1);
583 static inline void vxlan_build_gbp_hdr(struct vxlanhdr *vxh, const struct vxlan_metadata *md)
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtc_tun_vxlan.c91 struct vxlanhdr *vxh;
96 vxh = (struct vxlanhdr *)((char *)udp + sizeof(struct udphdr));
/linux-master/drivers/net/ethernet/sfc/
H A Dtc_encap_actions.c319 struct vxlanhdr *vxlan;
321 vxlan = (struct vxlanhdr *)(encap->encap_hdr + encap->encap_hdr_len);
347 #define vxlan_header_l4_len (sizeof(struct udphdr) + sizeof(struct vxlanhdr))
354 efx_gen_tun_header_udp(encap, sizeof(struct vxlanhdr));
376 efx_gen_tun_header_udp(encap, sizeof(struct vxlanhdr));
/linux-master/drivers/net/vxlan/
H A Dvxlan_core.c626 static bool vxlan_parse_gpe_proto(struct vxlanhdr *hdr, __be16 *protocol)
652 static struct vxlanhdr *vxlan_gro_remcsum(struct sk_buff *skb,
654 struct vxlanhdr *vh, size_t hdrlen,
678 static struct vxlanhdr *vxlan_gro_prepare_receive(struct sock *sk,
684 struct vxlanhdr *vh, *vh2;
697 skb_gro_postpull_rcsum(skb, vh, sizeof(struct vxlanhdr));
702 vh = vxlan_gro_remcsum(skb, off_vx, vh, sizeof(struct vxlanhdr),
711 skb_gro_pull(skb, sizeof(struct vxlanhdr)); /* pull vxlan header */
717 vh2 = (struct vxlanhdr *)(p->data + off_vx);
751 struct vxlanhdr *v
[all...]
/linux-master/drivers/net/ethernet/amd/xgbe/
H A Dxgbe-drv.c1742 sizeof(struct udphdr) + sizeof(struct vxlanhdr)))
/linux-master/drivers/net/ethernet/netronome/nfp/
H A Dnfp_net_common.c2151 sizeof(struct udphdr) + sizeof(struct vxlanhdr))))
/linux-master/drivers/net/ethernet/emulex/benet/
H A Dbe_main.c5118 sizeof(struct udphdr) + sizeof(struct vxlanhdr) ||

Completed in 158 milliseconds