Muokkaa

Jaa


!ndiskd.netfragment

The !ndiskd.netfragment extension displays information about a NET_PACKET_FRAGMENT structure.

For more information about the Network Adapter WDF Class Extension (NetAdapterCx), see Network Adapter WDF Class Extension (Cx).

!ndiskd.netfragment -handle <x> 

Parameters

-handle
Required. Address of a NET_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_PACKET objects in the ring buffer's list of elements.

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. For details on Step 8 of this procedure, see the examples on the !ndiskd.netpacket topic. In the following example, look for the handle for the first fragment of this NET_PACKET, ffffd1022d000040.

0: kd> !ndiskd.netpacket ffffd1022d000040


    NET_PACKET         ffffd1022d000040    Ring Buffer        ffffd1022d000000
    First fragment     ffffd1022d000040    NETTXQUEUE         ffffd1022f512700

    Client Context     ffffd1022d000090

    Show protocol layout
    Show checksum information
    Dump data payload

By clicking on the handle for the first fragment or by entering the !ndiskd.netfragment -handle command on the command line, you can see details for this NET_PACKET_FRAGMENT, including its Virtual Address, capacity, and whether or not it is the last packet in the NET_PACKET chain of fragments.

0: kd> !ndiskd.netfragment ffffd1022d000040

    NET_PACKET_FRAGMENT ffffd1022d000040

    Virtual Address    ffffd102303e82f8
    Capacity           0n92
    Valid Length       0n34
    Offset             0n58

    Last packet of chain

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_PACKET_FRAGMENT

NET_PACKET

!ndiskd.netadapter

!ndiskd.cxadapter

!ndiskd.netqueue

!ndiskd.netrb

!ndiskd.netpacket