Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/progs/
H A Dtest_tc_tunnel.c52 struct vxlanhdr { global() struct
53 vx_flagsvxlanhdr global() argument
54 vx_vnivxlanhdr global() argument
/linux/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;
387 sizeof(struct udphdr) + sizeof(struct vxlanhdr)) || in vxlan_features_check()
401 sizeof(struct udphdr) + sizeof(struct vxlanhdr) + in vxlan_headroom()
405 static inline struct vxlanhdr *vxlan_hdr(struct sk_buff *skb) in vxlan_hdr()
407 return (struct vxlanhdr *)(udp_hdr(skb) + 1); in vxlan_hdr()
588 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/
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/drivers/net/vxlan/
H A Dvxlan_core.c603 static bool vxlan_parse_gpe_proto(const struct vxlanhdr *hdr, __be16 *protocol) in vxlan_parse_gpe_proto()
629 static struct vxlanhdr *vxlan_gro_remcsum(struct sk_buff *skb, in vxlan_gro_remcsum()
631 struct vxlanhdr *vh, size_t hdrlen, in vxlan_gro_remcsum()
655 static struct vxlanhdr *vxlan_gro_prepare_receive(struct sock *sk, in vxlan_gro_prepare_receive()
661 struct vxlanhdr *vh, *vh2; in vxlan_gro_prepare_receive()
674 skb_gro_postpull_rcsum(skb, vh, sizeof(struct vxlanhdr)); in vxlan_gro_prepare_receive()
679 vh = vxlan_gro_remcsum(skb, off_vx, vh, sizeof(struct vxlanhdr), in vxlan_gro_prepare_receive()
688 skb_gro_pull(skb, sizeof(struct vxlanhdr)); /* pull vxlan header */ in vxlan_gro_prepare_receive()
694 vh2 = (struct vxlanhdr *)(p->data + off_vx); in vxlan_gro_prepare_receive()
728 struct vxlanhdr *vh; in vxlan_gpe_gro_receive()
[all …]
/linux/drivers/net/ethernet/amd/xgbe/
H A Dxgbe-drv.c1502 sizeof(struct udphdr) + sizeof(struct vxlanhdr))) in xgbe_is_vxlan()
/linux/drivers/net/ethernet/netronome/nfp/
H A Dnfp_net_common.c2150 sizeof(struct udphdr) + sizeof(struct vxlanhdr)))) in nfp_net_features_check()
/linux/drivers/net/ethernet/emulex/benet/
H A Dbe_main.c5114 sizeof(struct udphdr) + sizeof(struct vxlanhdr) || in be_features_check()