Searched refs:vxlanhdr (Results 1 – 7 of 7) sorted by relevance
| /linux/include/net/ |
| H A D | vxlan.h | 25 struct vxlanhdr { struct 36 #define VXLAN_HLEN (sizeof(struct udphdr) + sizeof(struct vxlanhdr)) argument 231 struct vxlanhdr reserved_bits; 385 sizeof(struct udphdr) + sizeof(struct vxlanhdr)) || in vxlan_features_check() 399 sizeof(struct udphdr) + sizeof(struct vxlanhdr) + in vxlan_headroom() 403 static inline struct vxlanhdr *vxlan_hdr(struct sk_buff *skb) in vxlan_hdr() 405 return (struct vxlanhdr *)(udp_hdr(skb) + 1); in vxlan_hdr() 589 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 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/drivers/net/ethernet/sfc/ |
| H A D | tc_encap_actions.c | 320 struct vxlanhdr *vxlan; in efx_gen_tun_header_vxlan() 322 vxlan = (struct vxlanhdr *)(encap->encap_hdr + encap->encap_hdr_len); in efx_gen_tun_header_vxlan() 348 #define vxlan_header_l4_len (sizeof(struct udphdr) + sizeof(struct vxlanhdr)) 355 efx_gen_tun_header_udp(encap, sizeof(struct vxlanhdr)); in efx_gen_vxlan_header_ipv4() 377 efx_gen_tun_header_udp(encap, sizeof(struct vxlanhdr)); in efx_gen_vxlan_header_ipv6()
|
| /linux/drivers/net/vxlan/ |
| H A D | vxlan_core.c | 603 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() 660 struct vxlanhdr *vh, *vh2; in vxlan_gro_prepare_receive() 678 skb_gro_postpull_rcsum(skb, vh, sizeof(struct vxlanhdr)); in vxlan_gro_prepare_receive() 683 vh = vxlan_gro_remcsum(skb, off_vx, vh, sizeof(struct vxlanhdr), in vxlan_gro_prepare_receive() 692 skb_gro_pull(skb, sizeof(struct vxlanhdr)); /* pull vxlan header */ in vxlan_gro_prepare_receive() 698 vh2 = (struct vxlanhdr *)(p->data + off_vx); in vxlan_gro_prepare_receive() 732 struct vxlanhdr *vh; in vxlan_gpe_gro_receive() [all …]
|
| /linux/drivers/net/ethernet/amd/xgbe/ |
| H A D | xgbe-drv.c | 1502 sizeof(struct udphdr) + sizeof(struct vxlanhdr))) in xgbe_is_vxlan()
|
| /linux/drivers/net/ethernet/netronome/nfp/ |
| H A D | nfp_net_common.c | 2150 sizeof(struct udphdr) + sizeof(struct vxlanhdr)))) in nfp_net_features_check()
|
| /linux/drivers/net/ethernet/emulex/benet/ |
| H A D | be_main.c | 5114 sizeof(struct udphdr) + sizeof(struct vxlanhdr) || in be_features_check()
|