Home
last modified time | relevance | path

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

/linux-5.19.10/tools/testing/selftests/bpf/progs/
Dtest_tc_tunnel.c27 #define L2_PAD_SZ (sizeof(struct vxlanhdr) + ETH_HLEN)
45 struct vxlanhdr { struct
162 l2_len += sizeof(struct vxlanhdr); in __encap_ipv4()
203 struct vxlanhdr *vxlan_hdr = (struct vxlanhdr *)l2_hdr; in __encap_ipv4()
208 l2_hdr += sizeof(struct vxlanhdr); in __encap_ipv4()
293 l2_len += sizeof(struct vxlanhdr); in __encap_ipv6()
333 struct vxlanhdr *vxlan_hdr = (struct vxlanhdr *)l2_hdr; in __encap_ipv6()
338 l2_hdr += sizeof(struct vxlanhdr); in __encap_ipv6()
564 olen += ETH_HLEN + sizeof(struct vxlanhdr); in decap_internal()
/linux-5.19.10/include/net/
Dvxlan.h24 struct vxlanhdr { struct
35 #define VXLAN_HLEN (sizeof(struct udphdr) + sizeof(struct vxlanhdr)) argument
373 sizeof(struct udphdr) + sizeof(struct vxlanhdr)) || in vxlan_features_check()
386 static inline struct vxlanhdr *vxlan_hdr(struct sk_buff *skb) in vxlan_hdr()
388 return (struct vxlanhdr *)(udp_hdr(skb) + 1); in vxlan_hdr()
/linux-5.19.10/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_tun_vxlan.c89 struct vxlanhdr *vxh; in mlx5e_gen_ip_tunnel_header_vxlan()
91 vxh = (struct vxlanhdr *)((char *)udp + sizeof(struct udphdr)); in mlx5e_gen_ip_tunnel_header_vxlan()
/linux-5.19.10/drivers/net/vxlan/
Dvxlan_core.c673 static struct vxlanhdr *vxlan_gro_remcsum(struct sk_buff *skb, in vxlan_gro_remcsum()
675 struct vxlanhdr *vh, size_t hdrlen, in vxlan_gro_remcsum()
705 struct vxlanhdr *vh, *vh2; in vxlan_gro_receive()
723 skb_gro_postpull_rcsum(skb, vh, sizeof(struct vxlanhdr)); in vxlan_gro_receive()
728 vh = vxlan_gro_remcsum(skb, off_vx, vh, sizeof(struct vxlanhdr), in vxlan_gro_receive()
737 skb_gro_pull(skb, sizeof(struct vxlanhdr)); /* pull vxlan header */ in vxlan_gro_receive()
743 vh2 = (struct vxlanhdr *)(p->data + off_vx); in vxlan_gro_receive()
765 return eth_gro_complete(skb, nhoff + sizeof(struct vxlanhdr)); in vxlan_gro_complete()
1526 static bool vxlan_remcsum(struct vxlanhdr *unparsed, in vxlan_remcsum()
1548 static void vxlan_parse_gbp_hdr(struct vxlanhdr *unparsed, in vxlan_parse_gbp_hdr()
[all …]
/linux-5.19.10/drivers/net/ethernet/netronome/nfp/
Dnfp_net_common.c1787 sizeof(struct udphdr) + sizeof(struct vxlanhdr)))) in nfp_net_features_check()
/linux-5.19.10/drivers/net/ethernet/amd/xgbe/
Dxgbe-drv.c1727 sizeof(struct udphdr) + sizeof(struct vxlanhdr))) in xgbe_is_vxlan()
/linux-5.19.10/drivers/net/ethernet/emulex/benet/
Dbe_main.c5120 sizeof(struct udphdr) + sizeof(struct vxlanhdr) || in be_features_check()