!ndiskd.nrc

The !ndiskd.nrc extension displays information about a NET_RING_COLLECTION 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.nrc -handle <x> [-basic] [-packet] [-fragment] [-dump]

Parameters

-handle
Required. Address of NET_RING_COLLECTION

-basic
Displays links for packet ring and fragment ring.

-packet
Displays only the packet ring contents.

-fragment
Displays only the fragment ring contents.

-dump
Displays information about each element(packet/fragment).

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.

In the following example, the handle for the NET_RING_COLLECTION, ffff8b82fbcf94b0 is used with the nrc command.

0: kd> !ndiskd.nrc fffff8b82fbcf94b0 

NET RING COLLECTION ffff8b82fbcf94b0

Packet Ring         ffff8b82f8e75000 
Fragment Ring       ffff8b8300961000

List only packets
List only fragments
List all elements

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_COLLECTION

!ndiskd.netadapter

!ndiskd.cxadapter

!ndiskd.netqueue

!ndiskd.netrb

!ndiskd.netpacket