+ unsigned short ifmam_msglen; /* to skip over non-understood messages */
+ unsigned char ifmam_version; /* future binary compatability */
+ unsigned char ifmam_type; /* message type */
+ int ifmam_addrs; /* like rtm_addrs */
+ int ifmam_flags; /* value of ifa_flags */
+ unsigned short ifmam_index; /* index for associated ifp */
+};
+
+/*
+ * Message format for use in obtaining information about interfaces
+ * from sysctl
+ */
+struct if_msghdr2 {
+ u_short ifm_msglen; /* to skip over non-understood messages */
+ u_char ifm_version; /* future binary compatability */
+ u_char ifm_type; /* message type */
+ int ifm_addrs; /* like rtm_addrs */
+ int ifm_flags; /* value of if_flags */
+ u_short ifm_index; /* index for associated ifp */
+ int ifm_snd_len; /* instantaneous length of send queue */
+ int ifm_snd_maxlen; /* maximum length of send queue */
+ int ifm_snd_drops; /* number of drops in send queue */
+ int ifm_timer; /* time until if_watchdog called */
+ struct if_data64 ifm_data; /* statistics and other data about if */
+};
+
+/*
+ * Message format for use in obtaining information about multicast addresses
+ * from sysctl
+ */
+struct ifma_msghdr2 {