!ndiskd.cxadapter
!ndiskd.cxadapter 延伸模組會顯示 NETADAPTER 對象的相關信息。
如需網路適配器 WDF 類別延伸模組 (NetAdapterCx) 的詳細資訊,請參閱 網路適配器 WDF 類別延伸模組 (Cx) 。
!ndiskd.cxadapter [-handle <x>] [-basic] [-power] [-datapath]
參數
-處理
必要。 NETADAPTER 的句柄。
-基本
顯示基本資訊。
-權力
顯示 NETADAPTER 之 NETPOWERSETTINGS 對象的相關信息。
-datapath
顯示 datapath 佇列的相關信息。
DLL
Ndiskd.dll
範例
若要取得 NETADAPTER 物件的句柄,請先執行 !ndiskd.netadapter 命令,以查看系統上所有 NIC 驅動程式和 NetAdapters 的清單。 在下列範例中,尋找名為 Realtek PCIe GBE 系列控制器 NetAdapter 範例驅動程式 #2 的 NetAdapter 句柄。 它的句柄是ffffd1022d048030。
0: kd> !ndiskd.netadapter
Driver NetAdapter Name
ffffd1022e8ecae0 ffffd1022d048030 Realtek PCIe GBE Family Controller NetAdapter Sample Driver #2
ffffd1022ed908e0 ffffd1022e8611a0 Microsoft Kernel Debug Network Adapter
按兩下此 NetAdapter 的句柄,或輸入 !ndiskd.netadapter -handle 命令,並在命令行上使用其句柄 ,即可查看此 NetAdapter 的詳細數據,包括其 NETADAPTER 物件。 Realtek PCIe GBE 系列控制器 NetAdapter 範例驅動程式 #2 的 NETADAPTER 句柄是 00002efd0e5f988。
0: kd> !ndiskd.netadapter ffffd1022d048030
NETADAPTER
Realtek PCIe GBE Family Controller NetAdapter Sample Driver #2
Ndis handle ffffd1022d048030
NETADAPTER 00002efdd0e5f988 More information
WDFDEVICE 00002efdcf45f2f8
Driver ffffd1022e8ecae0 - RtEthSample v0.0
Network interface ffffd1022e395a20
Media type 802.3
Device instance PCI\VEN_10EC&DEV_8168&SUBSYS_816810EC&REV_03\4&22bb23f1&0&0038
Device object ffffd1022de127f0 More information
MAC address 00-e0-4c-68-00-8b
STATE
Miniport Running
Device PnP Started Show state history
Datapath Normal
Interface Up
Media Connected
Power D0
References 0n10 Show detail
Total resets 0
Pending OID None
Flags NOT_BUS_MASTER, WDF, DEFAULT_PORT_ACTIVATED,
SUPPORTS_MEDIA_SENSE, DOES_NOT_DO_LOOPBACK,
MEDIA_CONNECTED
PnP flags PM_SUPPORTED, DEVICE_POWER_ENABLED,
DEVICE_POWER_WAKE_ENABLE, HARDWARE_DEVICE,
NDIS_WDM_DRIVER, WAKE_CAPABLE
IP ADDRESS SUMMARY
10.137.188.169 See all IP addresses on this adapter
fe80::3cad:81bb:5dad:1066
BINDINGS
Protocol list Driver Open Context
MSLLDP ffffd1023043f6a0 ffffd1022e786a90 ffffd102307465c0
LLTDIO ffffd1022c6b7830 ffffd1022ef8cc00 ffffd1022f1e5730
TCPIP6 ffffd1022e2c7c10 ffffd10230b98310 ffffd102304d9010
(RASPPPOE) Not running
(RDMANDK) ffffd1022d574a70 Declined with NDIS_STATUS_NOT_RECOGNIZED
RSPNDR ffffd1022c71a830 ffffd1022de0cc00 ffffd1022d03f6a0
TCPIP ffffd1022e2cbc10 ffffd1022de067f0 ffffd1022d03f010
NDISUIO ffffd1022de07670 ffffd1022cd648d0 ffffd10231131970
Filter list Driver Module Context
WFP 802.3 MAC Layer LightWeight Filter-0000
ffffd1022e384d70 ffffd1022f271660 ffffd10230cfe2c0
QoS Packet Scheduler-0000
ffffd1022d56f220 ffffd1022f26d660 ffffd10231778700
WFP Native MAC Layer LightWeight Filter-0000
ffffd1022e384ad0 ffffd1022f26b660 ffffd1022ed59c20
MORE INFORMATION
Driver handlers Task offloads
Power management PM protocol offloads
Pending OIDs
Pending NBLs Receive side throttling
Wake-on-LAN (WoL) Packet filter
Receive queues Receive filtering
RSS NIC switch
Selective suspend
NDIS ports WMI guids
Diagnostic log
因為 NETADAPTER 物件是 WDF 物件,所以按下它的句柄會導致調試程式執行 !wdfkd.wdfhandle 命令,這可讓您從 WDF 的觀點取得其詳細資訊。 若要從網路觀點查看 NETADAPTER 的詳細資訊,請按下 NETADAPTER 句柄右邊的 [更多資訊] 連結,以使用句柄執行 !ndiskd.cxadapter 命令。
0: kd> !ndiskd.cxadapter ffffd1022f1a0720
NETADAPTER
Miniport ffffd1022d048030 - Realtek PCIe GBE Family Controller NetAdapter Sample Driver #2
NETADAPTER 00002efdd0e5f988
WDFDEVICE 00002efdcf45f2f8
Event Callbacks Function pointer Symbol (if available)
EvtAdapterCreateTxQueue fffff80034151508 RtEthSample+1508
EvtAdapterCreateRxQueue fffff800341510ec RtEthSample+10ec
Show datapath info
Show NETPOWERSETTINGS info
您也可以結合此命令的其他參數,例如 -datapath ,以查看此 NETADAPTER 的詳細資訊。
0: kd> !ndiskd.cxadapter ffffd1022f1a0720 -basic -datapath
NETADAPTER
Miniport ffffd1022d048030 - Realtek PCIe GBE Family Controller NetAdapter Sample Driver #2
NETADAPTER 00002efdd0e5f988
WDFDEVICE 00002efdcf45f2f8
Event Callbacks Function pointer Symbol (if available)
EvtAdapterCreateTxQueue fffff80034151508 RtEthSample+1508
EvtAdapterCreateRxQueue fffff800341510ec RtEthSample+10ec
DATAPATH QUEUES
NETTXQUEUE ffffd1022f512700
NETRXQUEUE ffffd1022cc7b0d0