Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

42 lines
962 B

/*******************************************************************/
/* Copyright(c) 1993 Microsoft Corporation */
/*******************************************************************/
//***
//
// Filename: debug.h
//
// Description: Debug macros definitions
//
// Author: Stefan Solomon (stefans) October 4, 1993.
//
// Revision History:
//
//***
#ifndef _IPXFLT_DEBUG_
#define _IPXFLT_DEBUG_
#if DBG
extern ULONG DbgLevel;
#define DBG_IOCTLS 0x00000001
#define DBG_FWDIF 0x00000002
#define DBG_IFHASH 0x00000010
#define DBG_PKTCACHE 0x00000020
#define DBG_PKTLOGS 0x00000100
#define DBG_ERRORS 0x10000000
#define DEF_DBG_LEVEL (DBG_IOCTLS|DBG_FWDIF|DBG_ERRORS|DBG_IFHASH)
#define IpxFltDbgPrint(LEVEL,ARGS) \
do { \
if (DbgLevel & (LEVEL)) { \
DbgPrint ARGS; \
} \
} while (0)
#else
#define IpxFltDbgPrint(LEVEL,ARGS) do {NOTHING;} while (0)
#endif
#endif