#include <rte_mbuf.h>
#include <rte_byteorder.h>
+#ifndef RTE_NET_NO_COMPAT
+#include <rte_ether_compat.h>
+#endif
+
#define RTE_ETHER_ADDR_LEN 6 /**< Length of Ethernet address. */
#define RTE_ETHER_TYPE_LEN 2 /**< Length of Ethernet type field. */
#define RTE_ETHER_CRC_LEN 4 /**< Length of Ethernet CRC. */