阅读:1702回复:1
PtReceivePacket 问题,高手请进!
需要在PtReceivePacket 对接收的数据包进行重新处理,是在passthru架构下处理的!但是在PtreceivePacket中 针对 NDIS51如何对数据包进行处理呢? 也就是针对下面一块如何处理呢? ...
#ifdef NDIS51 // // Check if we can reuse the same packet for indicating up. // See also: PtReceive(). // (VOID)NdisIMGetCurrentPacketStack(Packet, &Remaining); if (Remaining) { // // We can reuse "Packet". Indicate it up and be done with it. // Status = NDIS_GET_PACKET_STATUS(Packet); NdisMIndicateReceivePacket(pAdapt->MiniportHandle, &Packet, 1); return((Status != NDIS_STATUS_RESOURCES) ? 1 : 0); } #endif // NDIS51 |
|