Debugging a NetAdapterCx client driver
You can use Windows Driver Framework Extensions (Wdfkd.dll) commands to debug your client driver. In addition, !ndiskd.netadapter will show networking-specific properties of your adapter.
Also, you can use the !ndiskd.netrb
debugger extension with the address of a NET_RING structure to examine packets and fragments in a ring buffer. This command gives you additional information, such as the number of elements in the ring buffer, along with the number of packets owned by the OS and the number of packets owned by the client.
You can use the following !ndiskd commands with a NetAdapterCx client driver:
- !ndiskd.cxadapter
- Given a NETADAPTER handle, show information about a NETADAPTER object.
- !ndiskd.netqueue
- Given a NETTXQUEUE or NETRXQUEUE handle, show information about a data path queue.
- !ndiskd.netrb
- Shows NET_RING information.
- !ndiskd.netpacket
- Shows information about a NET_PACKET.
- !ndiskd.netfragment
- Shows information about a NET_PACKET_FRAGMENT.