Skip to content

Commit

Permalink
Added "HAVE_NPCAP_PACKET_API" macro that Libpcap/wpcap can recognize …
Browse files Browse the repository at this point in the history
…and know Npcap Packet API is provided for compilation.
  • Loading branch information
hsluoyz committed Oct 8, 2016
1 parent a57e761 commit b2221fd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Common/Packet32.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ typedef struct _AirpcapHandle* PAirpcapHandle;
#include <dagc.h>
#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
Expand Down

0 comments on commit b2221fd

Please sign in to comment.