ifnet subcommand

The ifnet subcommand prints network interface information.

Format

ifnet [slot | effectiveaddress]

Parameters

Item Description
slot Specifies the slot number within the ifnet table for which data is to be displayed. This value must be a decimal number.
effectiveaddress Specifies the effective address of an ifnet entry to display.

If no parameter is specified, information is displayed for each entry in the ifnet table. Display data for individual entries by specifying either a slot number or by specifying the address of the entry.

Other

No aliases.

Examples

The following is an example of how to use the ifnet subcommand:

KDB(0)> ifnet 1
SLOT  1 ---- IFNET INFO ----(@ F10006000CDF2000)----
    name........ en0      unit........ 00000000 mtu......... 000005DC
    flags....... 5E080863
        (UP|BROADCAST|NOTRAILERS|RUNNING|SIMPLEX|NOECHO|BPF|GROUP_ROUTING...
...|64BIT|CHECKSUM_OFFLOAD|PSEG|CANTCHANGE|MULTICAST)
    timer....... 00000000 metric...... 00000000

            address: 9.53.85.113         dest address: 9.53.85.255
            netmask: 255.255.255.0       bk-ptr: F10006000CDF2000
            rtentry: 0   ifa_flags: 1
            ifa_refcnt: 5        ifa_rtrequest: 0

    init()...... 00000000 output().... 03DE2160 start()..... 00000000
    done()...... 00000000 ioctl()..... 03DE2178 reset()..... 00000000
    watchdog().. 00000000 ipackets.... 00000376 ierrors..... 00000000
    opackets.... 00000247 oerrors..... 00000000 collisions.. 00000000
    next........@0000000002C0F8F8      addrlen.............. 00000006
    type........ 00000006 (ETHER)
    hdrlen...... 0000000E index....... 00000002
    lastchange.. 40B36BE3 sec 00030003 usec

    ibytes...... 00048FDC obytes...... 0001BD0C imcasts..... 00000000
    omcasts..... 00000007 iqdrops..... 00000000 noproto..... 00000000
    baudrate.... 00A00000 arpdrops.... 0000000000000000
    ifbufminsize 00000000 devno....... 00000000 chan........ 00000000
    multiaddrs..@F100061000BFF068      tapctl.....@0000000000000000
    tap()....... 00000000 arpres().... 03DE2190 arprev().... 03DE21A8
    arpinput().. 03DE21C0 ifq_head....@0000000000000000
    ifq_tail....@0000000000000000      ifq_len..... 0000000000000000
    ifq_maxlen.. 0000000000000000      ifq_drops... 00000000
    ifq_slock... 0000000000000000      slock....... 0000000000000000
    multi_lock.. 0000000000000000      6_multi_lock 0000000000000000
    addrlist_lck 0000000000000000      gidlist..... @0000000000000000
    ip6tomcast() 03DE21D8 ndp_bcopy(). 03DE21F0 ndp_bcmp().. 03DE2200
    ndtype...... 02032800 multiaddrs6.@0000000000000000
    vipaxface..@0000000000000000

KDB(0)>