Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/progs/
A 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/include/net/
A Dvxlan.h23 struct vxlanhdr { struct
34 #define VXLAN_HLEN (sizeof(struct udphdr) + sizeof(struct vxlanhdr)) argument
322 sizeof(struct udphdr) + sizeof(struct vxlanhdr)) || in vxlan_features_check()
335 static inline struct vxlanhdr *vxlan_hdr(struct sk_buff *skb) in vxlan_hdr()
337 return (struct vxlanhdr *)(udp_hdr(skb) + 1); in vxlan_hdr()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
A 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/drivers/net/
A Dvxlan.c733 static struct vxlanhdr *vxlan_gro_remcsum(struct sk_buff *skb, in vxlan_gro_remcsum()
735 struct vxlanhdr *vh, size_t hdrlen, in vxlan_gro_remcsum()
765 struct vxlanhdr *vh, *vh2; in vxlan_gro_receive()
783 skb_gro_postpull_rcsum(skb, vh, sizeof(struct vxlanhdr)); in vxlan_gro_receive()
803 vh2 = (struct vxlanhdr *)(p->data + off_vx); in vxlan_gro_receive()
1689 static bool vxlan_remcsum(struct vxlanhdr *unparsed, in vxlan_remcsum()
1711 static void vxlan_parse_gbp_hdr(struct vxlanhdr *unparsed, in vxlan_parse_gbp_hdr()
1741 static bool vxlan_parse_gpe_hdr(struct vxlanhdr *unparsed, in vxlan_parse_gpe_hdr()
1832 struct vxlanhdr unparsed; in vxlan_rcv()
1961 struct vxlanhdr *hdr; in vxlan_err_lookup()
[all …]
/linux/drivers/net/ethernet/amd/xgbe/
A Dxgbe-drv.c1728 sizeof(struct udphdr) + sizeof(struct vxlanhdr))) in xgbe_is_vxlan()
/linux/drivers/net/ethernet/netronome/nfp/
A Dnfp_net_common.c3640 sizeof(struct udphdr) + sizeof(struct vxlanhdr)))) in nfp_net_features_check()
/linux/drivers/net/ethernet/emulex/benet/
A Dbe_main.c5120 sizeof(struct udphdr) + sizeof(struct vxlanhdr) || in be_features_check()

Completed in 39 milliseconds