Searched refs:vxlanhdr (Results 1 – 9 of 9) sorted by relevance
/linux-6.6.21/tools/testing/selftests/bpf/progs/ |
D | test_tc_tunnel.c | 27 #define L2_PAD_SZ (sizeof(struct vxlanhdr) + ETH_HLEN) 49 struct vxlanhdr { struct 166 l2_len += sizeof(struct vxlanhdr); in __encap_ipv4() 207 struct vxlanhdr *vxlan_hdr = (struct vxlanhdr *)l2_hdr; in __encap_ipv4() 212 l2_hdr += sizeof(struct vxlanhdr); in __encap_ipv4() 297 l2_len += sizeof(struct vxlanhdr); in __encap_ipv6() 337 struct vxlanhdr *vxlan_hdr = (struct vxlanhdr *)l2_hdr; in __encap_ipv6() 342 l2_hdr += sizeof(struct vxlanhdr); in __encap_ipv6() 652 olen += ETH_HLEN + sizeof(struct vxlanhdr); in decap_internal()
|
D | test_tunnel_kern.c | 46 struct vxlanhdr { struct
|
/linux-6.6.21/include/net/ |
D | vxlan.h | 25 struct vxlanhdr { struct 36 #define VXLAN_HLEN (sizeof(struct udphdr) + sizeof(struct vxlanhdr)) argument 381 sizeof(struct udphdr) + sizeof(struct vxlanhdr)) || in vxlan_features_check() 395 sizeof(struct udphdr) + sizeof(struct vxlanhdr) + in vxlan_headroom() 399 static inline struct vxlanhdr *vxlan_hdr(struct sk_buff *skb) in vxlan_hdr() 401 return (struct vxlanhdr *)(udp_hdr(skb) + 1); in vxlan_hdr() 582 static inline void vxlan_build_gbp_hdr(struct vxlanhdr *vxh, const struct vxlan_metadata *md) in vxlan_build_gbp_hdr()
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | tc_tun_vxlan.c | 91 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-6.6.21/drivers/net/ethernet/sfc/ |
D | tc_encap_actions.c | 319 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-6.6.21/drivers/net/vxlan/ |
D | vxlan_core.c | 626 static bool vxlan_parse_gpe_proto(struct vxlanhdr *hdr, __be16 *protocol) in vxlan_parse_gpe_proto() 652 static struct vxlanhdr *vxlan_gro_remcsum(struct sk_buff *skb, in vxlan_gro_remcsum() 654 struct vxlanhdr *vh, size_t hdrlen, in vxlan_gro_remcsum() 678 static struct vxlanhdr *vxlan_gro_prepare_receive(struct sock *sk, in vxlan_gro_prepare_receive() 684 struct vxlanhdr *vh, *vh2; in vxlan_gro_prepare_receive() 697 skb_gro_postpull_rcsum(skb, vh, sizeof(struct vxlanhdr)); in vxlan_gro_prepare_receive() 702 vh = vxlan_gro_remcsum(skb, off_vx, vh, sizeof(struct vxlanhdr), in vxlan_gro_prepare_receive() 711 skb_gro_pull(skb, sizeof(struct vxlanhdr)); /* pull vxlan header */ in vxlan_gro_prepare_receive() 717 vh2 = (struct vxlanhdr *)(p->data + off_vx); in vxlan_gro_prepare_receive() 751 struct vxlanhdr *vh; in vxlan_gpe_gro_receive() [all …]
|
/linux-6.6.21/drivers/net/ethernet/netronome/nfp/ |
D | nfp_net_common.c | 1966 sizeof(struct udphdr) + sizeof(struct vxlanhdr)))) in nfp_net_features_check()
|
/linux-6.6.21/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-drv.c | 1742 sizeof(struct udphdr) + sizeof(struct vxlanhdr))) in xgbe_is_vxlan()
|
/linux-6.6.21/drivers/net/ethernet/emulex/benet/ |
D | be_main.c | 5118 sizeof(struct udphdr) + sizeof(struct vxlanhdr) || in be_features_check()
|