ndd subcommand
The ndd subcommand displays the network device driver statistics.
Format
ndd [-s | effectiveaddress | -n nddname]
Parameters
Item | Description |
---|---|
-s | Displays the list of all of the valid network device driver tables and gives the address of each ndd structure and the name of the corresponding network interface. |
effectiveaddress | Specifies the effective address from which the ndd structure is read. Use symbols, hexadecimal values, or hexadecimal expressions to specify the address. |
-n nddname | Indicates a network interface name is used to specify which ndd structure is to be read. |
When it is used with an address or network interface name, the ndd subcommand displays a detailed description of the corresponding table. When it is used with the -s parameter, a list of valid network interfaces and the addresses of their ndd structures is printed. If no parameters are used, the ndd subcommand displays a detailed description of all of the valid network device driver tables.
Other
No aliases.
Examples
The following is an example of how to use the ndd subcommand:
KDB(0)> ndd -s
--- NDD ADDR ---(@ F10010E00C69A030)---
name..... ent1 alias.... en1
--- NDD ADDR ---(@ F10010E00C6AB030)---
name..... ent0 alias.... en0
--- NDD ADDR ---(@ F10010E00BD64028)---
name..... tok0 alias.... tr0
KDB(0)> ndd -n ent0
---- NDD INFO ----(@ F10010E00C6AB030)----
name............. ent0 alias............ en0
ndd_next.........@F10010E00BD64028
flags............ 0063091B
(UP|BROADCAST|RUNNING|NOECHO|ALT ADDRS|64BIT|CHECKSUM_OFFLOAD|PSEG...
...)
ndd_open()..... 03D87690 ndd_close().... 03D876C0 ndd_output..... 03D876A8
ndd_ctl()...... 03D876D8 ndd_stat()..... 03D65A28 receive()...... 03D65A10
ndd_refcnt....... 00000001 ndd_correlator...@F10010E00C6AB000
ndd_mtu.......... 000005EA ndd_mintu........ 0000003C
ndd_addrlen...... 00000006 ndd_physaddr..... 000255AF36F2
ndd_hdrlen....... 0000000E
ndd_type......... 00000007 (802.3 Ethernet)
ndd_demuxer......@0000000003D65BB8 ndd_nsdemux......@F10010F000340000
ndd_demuxsource.. 00000000 ndd_specdemux....@F10010F000B77000
ndd_demux_lock... 0000000000000000 ndd_lock......... 0000000000000000
ndd_trace........@0000000000000000 ndd_trace_arg....@0000000000000000
ndd_speclen...... 0000008C ndd_specstats....@F10010E00C6B7BA0
ndd_ipackets..... 0000D5E3 ndd_opackets..... 000060FA
ndd_ierrors...... 00000000 ndd_oerrors...... 00000000
ndd_ibytes....... 007C0235 ndd_obytes....... 00210113
ndd_recvintr..... 0000D287 ndd_xmitintr..... 00000002
ndd_ipackets_drop 00000000 ndd_nobufs....... 00000000
ndd_xmitque_max.. 00000004 ndd_xmitque_ovf.. 00000000
KDB(0)>