struct if_data;
Description
Structure describing information about an interface which may be of interest to management entities.
Members
Defined in if_data
:
ifi_addrlen
generic interface information media address length
ifi_baudrate
generic interface information linespeed
ifi_collisions
volatile statistics. collisions on csma interfaces.
ifi_datalen
generic interface information length of this data struct
ifi_epoch
volatile statistics. uptime at attach or stat reset.
ifi_hdrlen
generic interface information media header length
ifi_hwassist
volatile statistics. HW offload capabilities
ifi_ibytes
volatile statistics. total number of octets received.
ifi_ierrors
volatile statistics. input errors on interface
ifi_imcasts
volatile statistics. packets received via multicast.
ifi_ipackets
volatile statistics. packets received on interface
ifi_iqdrops
volatile statistics. dropped on input, this interface.
ifi_lastchange
volatile statistics. time of last administrative change
ifi_link_state
generic interface information current link state
ifi_metric
generic interface information routing metric (external only)
ifi_mtu
generic interface information maximum transmission unit
ifi_noproto
volatile statistics. destined for unsupported protocol.
ifi_obytes
volatile statistics. total number of octets sent.
ifi_oerrors
volatile statistics. output errors on interface.
ifi_omcasts
volatile statistics. packets sent via multicast
ifi_opackets
volatile statistics. packets sent on interface.
ifi_physical
generic interface information e.g., AUI, Thinnet, 10base-T, etc
ifi_recvquota
generic interface information polling quota for receive intrs
ifi_type
generic interface information. ethernet, tokenring, etc
ifi_xmitquota
generic interface information polling quota for xmit intrs
Member data
u_char ifi_type;
Description
generic interface information. ethernet, tokenring, etc
u_char ifi_physical;
Description
generic interface information e.g., AUI, Thinnet, 10base-T, etc
u_char ifi_addrlen;
Description
generic interface information media address length
u_char ifi_hdrlen;
Description
generic interface information media header length
u_char ifi_link_state;
Description
generic interface information current link state
u_char ifi_recvquota;
Description
generic interface information polling quota for receive intrs
u_char ifi_xmitquota;
Description
generic interface information polling quota for xmit intrs
u_char ifi_datalen;
Description
generic interface information length of this data struct
u_long ifi_mtu;
Description
generic interface information maximum transmission unit
u_long ifi_metric;
Description
generic interface information routing metric (external only)
u_long ifi_baudrate;
Description
generic interface information linespeed
u_long ifi_ipackets;
Description
volatile statistics. packets received on interface
u_long ifi_ierrors;
Description
volatile statistics. input errors on interface
u_long ifi_opackets;
Description
volatile statistics. packets sent on interface.
u_long ifi_oerrors;
Description
volatile statistics. output errors on interface.
u_long ifi_collisions;
Description
volatile statistics. collisions on csma interfaces.
u_long ifi_ibytes;
Description
volatile statistics. total number of octets received.
u_long ifi_obytes;
Description
volatile statistics. total number of octets sent.
u_long ifi_imcasts;
Description
volatile statistics. packets received via multicast.
u_long ifi_omcasts;
Description
volatile statistics. packets sent via multicast
u_long ifi_iqdrops;
Description
volatile statistics. dropped on input, this interface.
u_long ifi_noproto;
Description
volatile statistics. destined for unsupported protocol.
u_long ifi_hwassist;
Description
volatile statistics. HW offload capabilities
time_t ifi_epoch;
Description
volatile statistics. uptime at attach or stat reset.
timeval ifi_lastchange;
Description
volatile statistics. time of last administrative change