Lines Matching defs:if_data
168 struct if_data { struct
170 u_char ifi_type; /* ethernet, tokenring, etc. */
171 u_char ifi_addrlen; /* media address length */
172 u_char ifi_hdrlen; /* media header length */
173 int ifi_link_state; /* current link state */
174 uint64_t ifi_mtu; /* maximum transmission unit */
175 uint64_t ifi_metric; /* routing metric (external only) */
176 uint64_t ifi_baudrate; /* linespeed */
178 uint64_t ifi_ipackets; /* packets received on interface */
179 uint64_t ifi_ierrors; /* input errors on interface */
180 uint64_t ifi_opackets; /* packets sent on interface */
181 uint64_t ifi_oerrors; /* output errors on interface */
182 uint64_t ifi_collisions; /* collisions on csma interfaces */
183 uint64_t ifi_ibytes; /* total number of octets received */
184 uint64_t ifi_obytes; /* total number of octets sent */
185 uint64_t ifi_imcasts; /* packets received via multicast */
186 uint64_t ifi_omcasts; /* packets sent via multicast */
187 uint64_t ifi_iqdrops; /* dropped on input, this interface */
188 uint64_t ifi_noproto; /* destined for unsupported protocol */
189 struct timespec ifi_lastchange;/* last operational state change */
266 struct if_data if_data; /* statistics and other data about if */ member