NDIS question

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.
 
Q

QuasiCodo

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.

((&->
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top