Searched refs:vxlanhdr (Results 1 – 7 of 7) sorted by relevance
/linux-5.19.10/tools/testing/selftests/bpf/progs/ |
D | test_tc_tunnel.c | 27 #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/ |
D | vxlan.h | 24 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/ |
D | tc_tun_vxlan.c | 89 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/ |
D | vxlan_core.c | 673 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/ |
D | nfp_net_common.c | 1787 sizeof(struct udphdr) + sizeof(struct vxlanhdr)))) in nfp_net_features_check()
|
/linux-5.19.10/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-drv.c | 1727 sizeof(struct udphdr) + sizeof(struct vxlanhdr))) in xgbe_is_vxlan()
|
/linux-5.19.10/drivers/net/ethernet/emulex/benet/ |
D | be_main.c | 5120 sizeof(struct udphdr) + sizeof(struct vxlanhdr) || in be_features_check()
|