- unsigned long ifi_ipackets; /* packets received on interface */
- unsigned long ifi_ierrors; /* input errors on interface */
- unsigned long ifi_opackets; /* packets sent on interface */
- unsigned long ifi_oerrors; /* output errors on interface */
- unsigned long ifi_collisions; /* collisions on csma interfaces */
- unsigned long ifi_ibytes; /* total number of octets received */
- unsigned long ifi_obytes; /* total number of octets sent */
- unsigned long ifi_imcasts; /* packets received via multicast */
- unsigned long ifi_omcasts; /* packets sent via multicast */
- unsigned long ifi_iqdrops; /* dropped on input, this interface */
- unsigned long ifi_noproto; /* destined for unsupported protocol */
- unsigned long ifi_recvtiming; /* usec spent receiving when timing */
- unsigned long ifi_xmittiming; /* usec spent xmitting when timing */
- struct timeval ifi_lastchange; /* time of last administrative change */
- unsigned long ifi_unused2; /* used to be the default_proto */
- unsigned long ifi_hwassist; /* HW offload capabilities */
- unsigned long ifi_reserved1; /* for future use */
- unsigned long ifi_reserved2; /* for future use */
+ u_int32_t ifi_ipackets; /* packets received on interface */
+ u_int32_t ifi_ierrors; /* input errors on interface */
+ u_int32_t ifi_opackets; /* packets sent on interface */
+ u_int32_t ifi_oerrors; /* output errors on interface */
+ u_int32_t ifi_collisions; /* collisions on csma interfaces */
+ u_int32_t ifi_ibytes; /* total number of octets received */
+ u_int32_t ifi_obytes; /* total number of octets sent */
+ u_int32_t ifi_imcasts; /* packets received via multicast */
+ u_int32_t ifi_omcasts; /* packets sent via multicast */
+ u_int32_t ifi_iqdrops; /* dropped on input, this interface */
+ u_int32_t ifi_noproto; /* destined for unsupported protocol */
+ u_int32_t ifi_recvtiming; /* usec spent receiving when timing */
+ u_int32_t ifi_xmittiming; /* usec spent xmitting when timing */
+ struct IF_DATA_TIMEVAL ifi_lastchange; /* time of last administrative change */
+ u_int32_t ifi_unused2; /* used to be the default_proto */
+ u_int32_t ifi_hwassist; /* HW offload capabilities */
+ u_int32_t ifi_reserved1; /* for future use */
+ u_int32_t ifi_reserved2; /* for future use */