struct if_data;
Description
Structure describing information about an interface which may be of interest to management entities.
Members
Defined in if_data:
ifi_addrlengeneric interface information media address length
ifi_baudrategeneric interface information linespeed
ifi_collisionsvolatile statistics. collisions on csma interfaces.
ifi_datalengeneric interface information length of this data struct
ifi_epochvolatile statistics. uptime at attach or stat reset.
ifi_hdrlengeneric interface information media header length
ifi_hwassistvolatile statistics. HW offload capabilities
ifi_ibytesvolatile statistics. total number of octets received.
ifi_ierrorsvolatile statistics. input errors on interface
ifi_imcastsvolatile statistics. packets received via multicast.
ifi_ipacketsvolatile statistics. packets received on interface
ifi_iqdropsvolatile statistics. dropped on input, this interface.
ifi_lastchangevolatile statistics. time of last administrative change
ifi_link_stategeneric interface information current link state
ifi_metricgeneric interface information routing metric (external only)
ifi_mtugeneric interface information maximum transmission unit
ifi_noprotovolatile statistics. destined for unsupported protocol.
ifi_obytesvolatile statistics. total number of octets sent.
ifi_oerrorsvolatile statistics. output errors on interface.
ifi_omcastsvolatile statistics. packets sent via multicast
ifi_opacketsvolatile statistics. packets sent on interface.
ifi_physicalgeneric interface information e.g., AUI, Thinnet, 10base-T, etc
ifi_recvquotageneric interface information polling quota for receive intrs
ifi_typegeneric interface information. ethernet, tokenring, etc
ifi_xmitquotageneric 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