|
|
1.1 ! root 1: /*++ ! 2: ! 3: Copyright (c) 1990 Microsoft Corporation ! 4: ! 5: Module Name: ! 6: ! 7: packet.c ! 8: ! 9: Abstract: ! 10: ! 11: ! 12: Author: ! 13: ! 14: ! 15: Environment: ! 16: ! 17: Kernel mode only. ! 18: ! 19: Notes: ! 20: ! 21: ! 22: Future: ! 23: ! 24: ! 25: ! 26: Revision History: ! 27: ! 28: --*/ ! 29: ! 30: ! 31: #if DBG ! 32: ! 33: #define IF_PACKETDEBUG(f) if (PacketDebugFlag & (f)) ! 34: extern ULONG PacketDebugFlag; ! 35: ! 36: #define PACKET_DEBUG_LOUD 0x00000001 // debugging info ! 37: #define PACKET_DEBUG_VERY_LOUD 0x00000002 // excessive debugging info ! 38: ! 39: #define PACKET_DEBUG_INIT 0x00000100 // init debugging info ! 40: ! 41: // ! 42: // Macro for deciding whether to dump lots of debugging information. ! 43: // ! 44: ! 45: #define IF_LOUD(A) IF_PACKETDEBUG( PACKET_DEBUG_LOUD ) { A } ! 46: #define IF_VERY_LOUD(A) IF_PACKETDEBUG( PACKET_DEBUG_VERY_LOUD ) { A } ! 47: #define IF_INIT_LOUD(A) IF_PACKETDEBUG( PACKET_DEBUG_INIT ) { A } ! 48: ! 49: #else ! 50: ! 51: #define IF_LOUD(A) ! 52: #define IF_VERY_LOUD(A) ! 53: #define IF_INIT_LOUD(A) ! 54: ! 55: #endif
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.