X-Git-Url: http://git.droids-corp.org/?p=dpdk.git;a=blobdiff_plain;f=lib%2Flibrte_net%2Frte_ether.h;h=3404bdd3db134385a5081942f1eff250a1ea11be;hp=60a7dbe3a17f19456e36c602a98971357b5ee915;hb=e73e3547ce54d7ae48dff82d87efac0b7a30692a;hpb=f41b5156feb575b9cfeb177974c8e625e09b480f diff --git a/lib/librte_net/rte_ether.h b/lib/librte_net/rte_ether.h index 60a7dbe3a1..3404bdd3db 100644 --- a/lib/librte_net/rte_ether.h +++ b/lib/librte_net/rte_ether.h @@ -316,7 +316,7 @@ struct rte_vxlan_hdr { #define RTE_ETHER_TYPE_MPLSM 0x8848 /**< MPLS multicast ethertype. */ #define RTE_ETHER_VXLAN_HLEN \ - (sizeof(struct udp_hdr) + sizeof(struct rte_vxlan_hdr)) + (sizeof(struct rte_udp_hdr) + sizeof(struct rte_vxlan_hdr)) /**< VXLAN tunnel header length. */ /** @@ -340,7 +340,7 @@ struct rte_vxlan_gpe_hdr { #define RTE_VXLAN_GPE_TYPE_GBP 6 /**< GBP Protocol. */ #define RTE_VXLAN_GPE_TYPE_VBNG 7 /**< vBNG Protocol. */ -#define RTE_ETHER_VXLAN_GPE_HLEN (sizeof(struct udp_hdr) + \ +#define RTE_ETHER_VXLAN_GPE_HLEN (sizeof(struct rte_udp_hdr) + \ sizeof(struct rte_vxlan_gpe_hdr)) /**< VXLAN-GPE tunnel header length. */