79{
85
87
89
90
91
92
94 {
100 0);
104 }
105
106
107
108
110 {
112 {
115
117 {
118
119
120
121 break;
122 }
123
125 adapter->DirtyTxDesc, txStatus));
126
128 {
130 }
131 else
132 {
134 }
135
140 }
141 }
142
143
144
145
147 {
148 for (;;)
149 {
152 {
153
154
155
157 break;
158 }
159
161
166 {
167
168
169
171
173 {
174 adapter->ReceiveAlignmentError++;
175 }
177 {
179 }
181
182 goto NextPacket;
183 }
184
187
193 (
PVOID)(ethHeader + 1),
197
198 NextPacket:
202
204 {
205
206
207
210 }
211 }
212
214 }
215
217}
struct _PACKET_HEADER PACKET_HEADER
struct _PACKET_HEADER * PPACKET_HEADER
struct _ETH_HEADER * PETH_HEADER
#define NDIS_DbgPrint(_t_, _x_)
#define RECEIVE_BUFFER_SIZE
#define NdisRawReadPortUlong(Port, Data)
#define NDIS_STATUS_MEDIA_CONNECT
#define NdisMEthIndicateReceiveComplete(MiniportAdapterHandle)
#define NdisMIndicateStatusComplete(MiniportAdapterHandle)
#define NdisMEthIndicateReceive(MiniportAdapterHandle, MiniportReceiveContext, HeaderBuffer, HeaderBufferSize, LookaheadBuffer, LookaheadBufferSize, PacketSize)
#define NdisDprReleaseSpinLock(_SpinLock)
#define NDIS_STATUS_MEDIA_DISCONNECT
#define NdisRawReadPortUchar(Port, Data)
#define NdisDprAcquireSpinLock(_SpinLock)
#define NdisRawWritePortUshort(Port, Data)
#define NdisMIndicateStatus(MiniportAdapterHandle, GeneralStatus, StatusBuffer, StatusBufferSize)
@ NdisMediaStateConnected
struct _RTL_ADAPTER * PRTL_ADAPTER