Searched refs:vxlanhdr (Results 1 – 8 of 8) sorted by relevance
| /Linux-v6.1/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()
|
| D | test_tunnel_kern.c | 46 struct vxlanhdr { struct
|
| /Linux-v6.1/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-v6.1/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-v6.1/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() 720 skb_gro_postpull_rcsum(skb, vh, sizeof(struct vxlanhdr)); in vxlan_gro_receive() 725 vh = vxlan_gro_remcsum(skb, off_vx, vh, sizeof(struct vxlanhdr), in vxlan_gro_receive() 734 skb_gro_pull(skb, sizeof(struct vxlanhdr)); /* pull vxlan header */ in vxlan_gro_receive() 740 vh2 = (struct vxlanhdr *)(p->data + off_vx); in vxlan_gro_receive() 762 return eth_gro_complete(skb, nhoff + sizeof(struct vxlanhdr)); in vxlan_gro_complete() 1523 static bool vxlan_remcsum(struct vxlanhdr *unparsed, in vxlan_remcsum() 1545 static void vxlan_parse_gbp_hdr(struct vxlanhdr *unparsed, in vxlan_parse_gbp_hdr() [all …]
|
| /Linux-v6.1/drivers/net/ethernet/amd/xgbe/ |
| D | xgbe-drv.c | 1725 sizeof(struct udphdr) + sizeof(struct vxlanhdr))) in xgbe_is_vxlan()
|
| /Linux-v6.1/drivers/net/ethernet/netronome/nfp/ |
| D | nfp_net_common.c | 1818 sizeof(struct udphdr) + sizeof(struct vxlanhdr)))) in nfp_net_features_check()
|
| /Linux-v6.1/drivers/net/ethernet/emulex/benet/ |
| D | be_main.c | 5119 sizeof(struct udphdr) + sizeof(struct vxlanhdr) || in be_features_check()
|