![]() ![]() The miniport's responsibility is to take send packets from the OS, translate them into whatever format is required by the hardware, and instruct the hardware to send the packet on the wire. NDIS miniport drivers, like many low-level drivers, are meant to talk to hardware. I thought I could do step-by-step debugging of drivers also. The code and Program just did nothing after installing the driver on the 'target' PC. I used 2 PCs and was able to connect and install the driver onto the 'target' PC but couldn't do anything with breakpoints etc. PS- I wasn't able to use the windows debugger built into Visual Studio 2012. ![]() ie- I want an application to connect to the IP address assigned to the adapter and talk to it.ģ- Can I actually do it with the samples provided in WDK?Īny other suggestions or advice are welcome. My goal is to send and receive 'data' packets via a IP address to this ethernet adapter. I can use 'ping' to see if there is a connection on the IP address I have assigned to the adapter and it responds with a success telling all packets were sent and there was no packet loss. I am not able to understand what is actually talking to the adapter? and how can I stop it from talking? Ģ- I setup Wireshark to capture the data on the adapter and it shows that there are requests from ARP,HTTP,SSDP,MDNS etc coming out of it. But, The debug messages are printed repeatedly.ġ- Why are the messages printed again and again? The messages are from the 'datapath.c' file of the program and is from the function 'MPSendNetBufferLists'. I also setup the 'Debug View' software to check the driver messages from my adapter. ![]() I was able to install the miniport adapter after building it in Visual Studio 2012 I am able to assign it a IP address and Subnet mask also. I am still at the very beginning of driver writing and hence finding it tough to navigate through the code. The samples provided in the WDK are 'miniport adapter' and 'NDIS Light Weight Filter' among others. I am trying to modify a ethernet driver using WDK tools provided in Visual Studio 2012. ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |