+
+/*
+ * DLIL KEV_DL_RRC_STATE_CHANGED structure
+ */
+struct kev_dl_rrc_state {
+ struct net_event_data link_data;
+ u_int32_t rrc_state;
+};
+
+/*
+ * Length of network signature/fingerprint blob.
+ */
+#define IFNET_SIGNATURELEN 20
+
+/*
+ * Structure for SIOC[S/G]IFNETSIGNATURE
+ */
+struct if_nsreq {
+ char ifnsr_name[IFNAMSIZ];
+ u_int8_t ifnsr_family; /* address family */
+ u_int8_t ifnsr_len; /* data length */
+ u_int16_t ifnsr_flags; /* for future */
+ u_int8_t ifnsr_data[IFNET_SIGNATURELEN];
+};
+
+/*
+ * Structure for SIOC[S/G]IFORDER
+ *
+ * When setting, ifo_count is the number of u_int32_t interface indices
+ * in the ifo_ordered_indices array.
+ *
+ * When getting, if ifo_count is 0, the length of the ordered list will
+ * be returned. If the ifo_count is non-0, it is the number of u_int32_t
+ * interface indices allocated. Upon return, ifo_count will contain the number
+ * of indices copied into the array.
+ */
+struct if_order {
+ u_int32_t ifo_count;
+ u_int32_t ifo_reserved;
+ mach_vm_address_t ifo_ordered_indices; /* array of u_int32_t */
+};
+
+/*
+ * Struct for traffic class to DSCP mapping
+ */
+struct if_tdmreq {
+ char iftdm_name[IFNAMSIZ];
+ u_int32_t iftdm_len; /* byte length of the table */
+ struct netsvctype_dscp_map *iftdm_table;
+};
+
+#ifdef BSD_KERNEL_PRIVATE
+struct if_tdmreq32 {
+ char iftdm_name[IFNAMSIZ];
+ u_int32_t iftdm_len; /* byte length of the table */
+ user32_addr_t iftdm_table;
+};
+
+struct if_tdmreq64 {
+ char iftdm_name[IFNAMSIZ];
+ u_int32_t iftdm_len; /* byte length of the table */
+ user64_addr_t iftdm_table __attribute__((aligned(8)));
+};
+#endif
+