diff --git a/Common/Packet32.h b/Common/Packet32.h index b7ef615a..14c78f6a 100644 --- a/Common/Packet32.h +++ b/Common/Packet32.h @@ -60,6 +60,9 @@ typedef struct _AirpcapHandle* PAirpcapHandle; #include #endif /* HAVE_DAG_API */ +// Libpcap/wpcap recognizes this macro and knows Npcap Packet API is provided for compilation. +#define HAVE_NPCAP_PACKET_API + // Working modes #define PACKET_MODE_CAPT 0x0 ///< Capture mode #define PACKET_MODE_STAT 0x1 ///< Statistical mode