Searched refs:vxlanhdr (Results 1 – 8 of 8) sorted by relevance
/linux-6.12.1/tools/testing/selftests/bpf/progs/ |
D | test_tc_tunnel.c | 30 #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-6.12.1/include/net/ |
D | vxlan.h | 25 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-6.12.1/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.12.1/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.12.1/drivers/net/vxlan/ |
D | vxlan_core.c | 625 static bool vxlan_parse_gpe_proto(struct vxlanhdr *hdr, __be16 *protocol) in vxlan_parse_gpe_proto() 651 static struct vxlanhdr *vxlan_gro_remcsum(struct sk_buff *skb, in vxlan_gro_remcsum() 653 struct vxlanhdr *vh, size_t hdrlen, in vxlan_gro_remcsum() 677 static struct vxlanhdr *vxlan_gro_prepare_receive(struct sock *sk, in vxlan_gro_prepare_receive() 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() 701 vh = vxlan_gro_remcsum(skb, off_vx, vh, sizeof(struct vxlanhdr), in vxlan_gro_prepare_receive() 710 skb_gro_pull(skb, sizeof(struct vxlanhdr)); /* pull vxlan header */ 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() [all …]
|
/linux-6.12.1/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-drv.c | 1742 sizeof(struct udphdr) + sizeof(struct vxlanhdr))) in xgbe_is_vxlan()
|
/linux-6.12.1/drivers/net/ethernet/netronome/nfp/ |
D | nfp_net_common.c | 2150 sizeof(struct udphdr) + sizeof(struct vxlanhdr)))) in nfp_net_features_check()
|
/linux-6.12.1/drivers/net/ethernet/emulex/benet/ |
D | be_main.c | 5115 sizeof(struct udphdr) + sizeof(struct vxlanhdr) || in be_features_check()
|