if_data Struct Reference

#include <stdapis/net/if.h>

struct if_data

Detailed Description

Structure describing information about an interface which may be of interest to management entities.

Member Attribute Documentation

ifi_addrlen

u_char ifi_addrlen

generic interface information media address length

ifi_baudrate

u_long ifi_baudrate

generic interface information linespeed

ifi_collisions

u_long ifi_collisions

volatile statistics. collisions on csma interfaces.

ifi_datalen

u_char ifi_datalen

generic interface information length of this data struct

ifi_epoch

time_t ifi_epoch

volatile statistics. uptime at attach or stat reset.

ifi_hdrlen

u_char ifi_hdrlen

generic interface information media header length

ifi_hwassist

u_long ifi_hwassist

volatile statistics. HW offload capabilities

ifi_ibytes

u_long ifi_ibytes

volatile statistics. total number of octets received.

ifi_ierrors

u_long ifi_ierrors

volatile statistics. input errors on interface

ifi_imcasts

u_long ifi_imcasts

volatile statistics. packets received via multicast.

ifi_ipackets

u_long ifi_ipackets

volatile statistics. packets received on interface

ifi_iqdrops

u_long ifi_iqdrops

volatile statistics. dropped on input, this interface.

ifi_lastchange

struct timevalifi_lastchange

volatile statistics. time of last administrative change

ifi_link_state

u_char ifi_link_state

generic interface information current link state

ifi_metric

u_long ifi_metric

generic interface information routing metric (external only)

ifi_mtu

u_long ifi_mtu

generic interface information maximum transmission unit

ifi_noproto

u_long ifi_noproto

volatile statistics. destined for unsupported protocol.

ifi_obytes

u_long ifi_obytes

volatile statistics. total number of octets sent.

ifi_oerrors

u_long ifi_oerrors

volatile statistics. output errors on interface.

ifi_omcasts

u_long ifi_omcasts

volatile statistics. packets sent via multicast

ifi_opackets

u_long ifi_opackets

volatile statistics. packets sent on interface.

ifi_physical

u_char ifi_physical

generic interface information e.g., AUI, Thinnet, 10base-T, etc

ifi_recvquota

u_char ifi_recvquota

generic interface information polling quota for receive intrs

ifi_type

u_char ifi_type

generic interface information. ethernet, tokenring, etc

ifi_xmitquota

u_char ifi_xmitquota

generic interface information polling quota for xmit intrs