33#define TAG_STRING ' RTS'
42#ifndef IO_NETWORK_INCREMENT
43#define IO_NETWORK_INCREMENT 2
50#define EXPORTED __declspec(dllexport)
59#define MIN(value1, value2) \
60 ((value1 < value2)? value1 : value2)
62#define MAX(value1, value2) \
63 ((value1 > value2)? value1 : value2)
65#define NDIS_BUFFER_TAG FOURCC('n','b','u','f')
66#define NDIS_PACKET_TAG FOURCC('n','p','k','t')
68#if defined(i386) || defined(_AMD64_) || defined(_ARM_)
72 ((((dw) & 0xFF000000L) >> 24) | \
73 (((dw) & 0x00FF0000L) >> 8) | \
74 (((dw) & 0x0000FF00L) << 8) | \
75 (((dw) & 0x000000FFL) << 24))
79 ((((dw) & 0xFF000000L) >> 24) | \
80 (((dw) & 0x00FF0000L) >> 8) | \
81 (((dw) & 0x0000FF00L) << 8) | \
82 (((dw) & 0x000000FFL) << 24))
86 ((((w) & 0xFF00) >> 8) | \
87 (((w) & 0x00FF) << 8))
91 ((((w) & 0xFF00) >> 8) | \
92 (((w) & 0x00FF) << 8))
96#error Unsupported architecture
133#define s_addr S_un.S_addr
134#define s_host S_un.S_un_b.s_b2
135#define s_net S_un.S_un_b.s_b1
136#define s_imp S_un.S_un_w.s_w2
137#define s_impno S_un.S_un_b.s_b4
138#define s_lh S_un.S_un_b.s_b3
141#define __LWIP_INET_H__
153#define htons(x) WH2N(x)
KSPIN_LOCK AddressFileListLock
NDIS_HANDLE GlobalBufferPool
PDEVICE_OBJECT UDPDeviceObject
KSPIN_LOCK InterfaceListLock
NDIS_HANDLE GlobalPacketPool
PDEVICE_OBJECT TCPDeviceObject
NTSTATUS TiGetProtocolNumber(PUNICODE_STRING FileName, PULONG Protocol)
LIST_ENTRY AddressFileListHead
LIST_ENTRY InterfaceListHead
TDIEntityInfo * EntityList
KSPIN_LOCK EntityListLock
PDEVICE_OBJECT IPDeviceObject
PDEVICE_OBJECT RawIPDeviceObject
struct in_addr::@1029::@1031 S_un_w
struct in_addr::@1029::@1030 S_un_b
union in_addr::@1029 S_un