Re: Windows Not Respond after calling NDISMIndicateReceivePacket
From: Alireza Dabagh [MS] (alid_at_online.microsoft.com)
Date: 03/06/04
- Next message: Isajanyan: "RE: no DBT_BROADCAST_HDR in WM_DEVICECHANGE??"
- Previous message: Marc Reinig: "Re: calling other drivers"
- In reply to: Billy Ng: "Windows Not Respond after calling NDISMIndicateReceivePacket"
- Next in thread: Pavel A.: "Re: Windows Not Respond after calling NDISMIndicateReceivePacket"
- Messages sorted by: [ date ] [ thread ]
Date: Sat, 6 Mar 2004 01:19:13 -0800
Assuming you construct a MAC header for the packet as you should (see the
response from Thomas), what do you set the destination mac address to? Make
sure it is not a multicast address.
-ali
-- This posting is provided "AS IS" with no warranties, and confers no rights. "Billy Ng" <anonymous@discussions.microsoft.com> wrote in message news:0D643380-FFD9-4137-AE6D-4DC8F1A838B1@microsoft.com... > I am developing a virtual network miniport driver which transfers packets from the upper protocol driver and a user mode application via DeviceIoControl calls. I have problem to send packets back up to upper protocol driver. In testing, I expect windows to respond to the incoming packets after NDISMIndicateReceivePacket is called. For example, when the incoming packet is ARP request, I would expect windows to send out ARP reply. Nothing happens. The same thing happens when I tired to send back a PING packet. > In WinDbg, I looked at the Private member of the Packet structure. It show the correct MDL head and tail pointer (they are the same because the ARP packet is 32 bytes). > > 1) Am I doing the right thing by calling NDISMIndicateReceivePacket to indicate the incoming packet? I have heard about another call, NDISMETHIndicateReceive. Should I use that instead? > 2) Any flag or counter I need to worry about in the packet structure? > > Thanks in advance, > Billy Ng.
- Next message: Isajanyan: "RE: no DBT_BROADCAST_HDR in WM_DEVICECHANGE??"
- Previous message: Marc Reinig: "Re: calling other drivers"
- In reply to: Billy Ng: "Windows Not Respond after calling NDISMIndicateReceivePacket"
- Next in thread: Pavel A.: "Re: Windows Not Respond after calling NDISMIndicateReceivePacket"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|