/*++ Copyright (c) 1993 Microsoft Corporation Module Name: cons.h Abstract: Global constant definitions for the AFD.SYS Kernel Debugger Extensions. Author: Keith Moore (keithmo) 19-Apr-1995. Environment: User Mode. --*/ #ifndef _CONS_H_ #define _CONS_H_ #define MAX_TRANSPORT_ADDR 256 #define MAX_ADDRESS_STRING 64 #define Address00 Address[0].Address[0] #define UC(x) ((UINT)((x) & 0xFF)) #define NTOHS(x) ( (UC(x) * 256) + UC((x) >> 8) ) #define NTOHL(x) ( ( ((x)) << (8*3)) | \ ( ((x) & 0x0000FF00) << (8*1)) | \ ( ((x) & 0x00FF0000) >> (8*1)) | \ ( ((x)) >> (8*3)) ) #define PTR64_BITS 44 #define PTR64_MASK ((1I64<