NDIS question

  • Thread starter Thread starter tsindia
  • Start date Start date
T

tsindia

Hi,

I am new to NDIS. I am getting IP packets from my device( a wireless kinda
card) and I need to pass it to the IP layer on the network stack so that the
app can get the data using the usual socket connection.

What I need to know is whether it is possible to pass the IP packet
directly to the IP layer. Does NDIS provide APIs I can call from within my
driver or do I have to encapsulate the IP packet in a mac header and pass it
to the IP layer as the mac layer usually does.

Any pointers on understanding NDIS better apart from DDK would be very
helpful.

Thanks.
 
tsinda:

From the network settings, you have to bind the TCP/IP stack to your NDIS
miniport driver. TCP/IP will then call your MiniportSend() or
MiniportSendPackets() routine when it wants to TX a packet. When your
miniport driver receives a frame from your device, it will call
NdisMIndicateReceivePacket() to give it to TCP/IP.

((&->
 
Back
Top