- * version : must be NDRV_PROTOCOL_DESC_VERS
- * protocol_family : unique identifier for this protocol
- * demux_count : number of demux_list descriptors in demux_list
- * demux_list : pointer to array of demux descriptors
+ * version : must be NDRV_PROTOCOL_DESC_VERS
+ * protocol_family : unique identifier for this protocol
+ * demux_count : number of demux_list descriptors in demux_list; maximum of 10
+ * demux_list : pointer to array of demux descriptors
+ */
+struct ndrv_protocol_desc {
+ u_int32_t version;
+ u_int32_t protocol_family;
+ u_int32_t demux_count;
+ struct ndrv_demux_desc *demux_list;
+};
+
+#ifdef KERNEL_PRIVATE
+/* LP64 version of ndrv_protocol_desc. all pointers
+ * grow when we're dealing with a 64-bit process.
+ * WARNING - keep in sync with ndrv_protocol_desc