Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/progs/
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/include/net/
A Dvxlan.h25 struct vxlanhdr { struct
36 #define VXLAN_HLEN (sizeof(struct udphdr) + sizeof(struct vxlanhdr)) argument
382 sizeof(struct udphdr) + sizeof(struct vxlanhdr)) || in vxlan_features_check()
396 sizeof(struct udphdr) + sizeof(struct vxlanhdr) + in vxlan_headroom()
400 static inline struct vxlanhdr *vxlan_hdr(struct sk_buff *skb) in vxlan_hdr()
402 return (struct vxlanhdr *)(udp_hdr(skb) + 1); in vxlan_hdr()
583 static inline void vxlan_build_gbp_hdr(struct vxlanhdr *vxh, const struct vxlan_metadata *md) in vxlan_build_gbp_hdr()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
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/drivers/net/ethernet/sfc/
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/drivers/net/vxlan/
A Dvxlan_core.c653 struct vxlanhdr *vh, size_t hdrlen, in vxlan_gro_remcsum()
683 struct vxlanhdr *vh, *vh2; in vxlan_gro_prepare_receive()
696 skb_gro_postpull_rcsum(skb, vh, sizeof(struct vxlanhdr)); in vxlan_gro_prepare_receive()
716 vh2 = (struct vxlanhdr *)(p->data + off_vx); in vxlan_gro_prepare_receive()
750 struct vxlanhdr *vh; in vxlan_gpe_gro_receive()
779 struct vxlanhdr *vh = (struct vxlanhdr *)(skb->data + nhoff); in vxlan_gpe_gro_complete()
1554 static bool vxlan_remcsum(struct vxlanhdr *unparsed, in vxlan_remcsum()
1576 static void vxlan_parse_gbp_hdr(struct vxlanhdr *unparsed, in vxlan_parse_gbp_hdr()
1670 struct vxlanhdr unparsed; in vxlan_rcv()
1824 struct vxlanhdr *hdr; in vxlan_err_lookup()
[all …]
/linux/drivers/net/ethernet/amd/xgbe/
A Dxgbe-drv.c1742 sizeof(struct udphdr) + sizeof(struct vxlanhdr))) in xgbe_is_vxlan()
/linux/drivers/net/ethernet/netronome/nfp/
A Dnfp_net_common.c2150 sizeof(struct udphdr) + sizeof(struct vxlanhdr)))) in nfp_net_features_check()
/linux/drivers/net/ethernet/emulex/benet/
A Dbe_main.c5115 sizeof(struct udphdr) + sizeof(struct vxlanhdr) || in be_features_check()

Completed in 41 milliseconds