Home
last modified time | relevance | path

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

/linux-6.15/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); in __encap_ipv4()
210 struct vxlanhdr *vxlan_hdr = (struct vxlanhdr *)l2_hdr; in __encap_ipv4()
215 l2_hdr += sizeof(struct vxlanhdr); in __encap_ipv4()
300 l2_len += sizeof(struct vxlanhdr); in __encap_ipv6()
340 struct vxlanhdr *vxlan_hdr = (struct vxlanhdr *)l2_hdr; in __encap_ipv6()
345 l2_hdr += sizeof(struct vxlanhdr); in __encap_ipv6()
655 olen += ETH_HLEN + sizeof(struct vxlanhdr); in decap_internal()
/linux-6.15/include/net/
H A Dvxlan.h25 struct vxlanhdr { struct
36 #define VXLAN_HLEN (sizeof(struct udphdr) + sizeof(struct vxlanhdr)) argument
230 struct vxlanhdr reserved_bits;
383 sizeof(struct udphdr) + sizeof(struct vxlanhdr)) || in vxlan_features_check()
397 sizeof(struct udphdr) + sizeof(struct vxlanhdr) + in vxlan_headroom()
401 static inline struct vxlanhdr *vxlan_hdr(struct sk_buff *skb) in vxlan_hdr()
403 return (struct vxlanhdr *)(udp_hdr(skb) + 1); in vxlan_hdr()
584 static inline void vxlan_build_gbp_hdr(struct vxlanhdr *vxh, const struct vxlan_metadata *md) in vxlan_build_gbp_hdr()
/linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtc_tun_vxlan.c91 struct vxlanhdr *vxh; in mlx5e_gen_ip_tunnel_header_vxlan()
96 vxh = (struct vxlanhdr *)((char *)udp + sizeof(struct udphdr)); in mlx5e_gen_ip_tunnel_header_vxlan()
/linux-6.15/drivers/net/ethernet/sfc/
H A Dtc_encap_actions.c319 struct vxlanhdr *vxlan; in efx_gen_tun_header_vxlan()
321 vxlan = (struct vxlanhdr *)(encap->encap_hdr + encap->encap_hdr_len); in efx_gen_tun_header_vxlan()
347 #define vxlan_header_l4_len (sizeof(struct udphdr) + sizeof(struct vxlanhdr))
354 efx_gen_tun_header_udp(encap, sizeof(struct vxlanhdr)); in efx_gen_vxlan_header_ipv4()
376 efx_gen_tun_header_udp(encap, sizeof(struct vxlanhdr)); in efx_gen_vxlan_header_ipv6()
/linux-6.15/drivers/net/vxlan/
H A Dvxlan_core.c658 struct vxlanhdr *vh, size_t hdrlen, in vxlan_gro_remcsum()
688 struct vxlanhdr *vh, *vh2; in vxlan_gro_prepare_receive()
755 struct vxlanhdr *vh; in vxlan_gpe_gro_receive()
784 struct vxlanhdr *vh = (struct vxlanhdr *)(skb->data + nhoff); in vxlan_gpe_gro_complete()
1567 const struct vxlanhdr *vh = vxlan_hdr(skb); in vxlan_remcsum()
1589 const struct vxlanhdr *vh = vxlan_hdr(skb); in vxlan_parse_gbp_hdr()
1677 const struct vxlanhdr *vh; in vxlan_rcv()
1847 struct vxlanhdr *hdr; in vxlan_err_lookup()
2207 struct vxlanhdr *vxh; in vxlan_build_skb()
4076 struct vxlanhdr used_bits = { in vxlan_nl2conf()
[all …]
/linux-6.15/drivers/net/ethernet/amd/xgbe/
H A Dxgbe-drv.c1742 sizeof(struct udphdr) + sizeof(struct vxlanhdr))) in xgbe_is_vxlan()
/linux-6.15/drivers/net/ethernet/netronome/nfp/
H A Dnfp_net_common.c2150 sizeof(struct udphdr) + sizeof(struct vxlanhdr)))) in nfp_net_features_check()
/linux-6.15/drivers/net/ethernet/emulex/benet/
H A Dbe_main.c5115 sizeof(struct udphdr) + sizeof(struct vxlanhdr) || in be_features_check()