On Wed, 27 Aug 2025 09:38:52 -0600 Schneide <schne...@qti.qualcomm.com> wrote:
> diff --git a/lib/pcapng/rte_pcapng.h b/lib/pcapng/rte_pcapng.h > index 48f2b57564..1b3f9b9464 100644 > --- a/lib/pcapng/rte_pcapng.h > +++ b/lib/pcapng/rte_pcapng.h > @@ -28,6 +28,9 @@ > extern "C" { > #endif > > +/* default link type for ethernet traffic */ > +#define DLT_EN10MB 1 > + > It would be good idea to guard this definition with #ifdef so that if user includes pcap.h first, there is not conflict. #ifndef DLT_EN10MB #define DLT_EN10MB 1 /* Ethernet (10Mb) */ #endif