!ndiskd.netring

The !ndiskd.netring extension displays information about a NET_RING structure.

For more information about the Network Adapter WDF Class Extension (NetAdapterCx), see Network Adapter WDF Class Extension (Cx) and Introduction to net rings.

!ndiskd.netring -handle <x> [-basic] [-dump]

Parameters

-handle
Required. Address of a NET_RING

-basic
Displays basic information

-dump
Displays information about each element

DLL

Ndiskd.dll

Examples

Note  See Summary of Objects to see a diagram explaining the relationship of the NET_PACKET object with other objects in the NetAdapterCx.

To obtain a handle for a NET_PACKET, follow these steps:

  1. Run the !ndiskd.netadapter extension.
  2. Click on the handle for a NetAdapter that has a NetAdapterCx driver installed.
  3. Click the "More Information" link to the right of the NetAdapter's NETADAPTER object to run the !ndiskd.cxadapter extension.
  4. Enter the !ndiskd.cxadapter command with the -datapath parameter to see that NETADAPTER's datapath queues.
  5. Click on the handle for one of the datapath queues.
  6. Click on the handle for that datapath queue's ring buffer.
  7. Click on the "List all elements" link at the bottom of the ring buffer details to see the elements it contains.
  8. Click on one of the Net Ring Collection objects.

For details on Steps 1-4 of this procedure, see the examples on the !ndiskd.cxadapter topic. For details on Step 5 of this procedure, see the examples on the !ndiskd.netqueue topic. For details on Steps 6-7 of this procedure, see the examples on the !ndiskd.netrb topic.

This example shows the use of netring.

0: kd> !ndiskd.netring ffff8b82f8e75000 

NET RING               ffff8b82f8e75000

Begin index            000
Next index             000
End index              0x2
Reserved by OS         000
Element stride         0x40
Element index mask     0x7f

Number of elements     0x80
Owned by OS            0x7e
Owned by Client        0x2

See also

Network Driver Design Guide

Windows Vista and Later Networking Reference

Debugging the Network Stack

NDIS extensions (Ndiskd.dll)

!ndiskd.help

Network Adapter WDF Class Extension (Cx)

Summary of Objects

NET_RING

!ndiskd.netadapter

!ndiskd.cxadapter

!ndiskd.netqueue

!ndiskd.netrb

!ndiskd.netpacket