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
+ */
+struct ndrv_protocol_desc64 {
+ u_int32_t version;
+ u_int32_t protocol_family;
+ u_int32_t demux_count;
+ user_addr_t demux_list __attribute__((aligned(8)));
+};
+
+#endif // KERNEL_PRIVATE
+
#define SOL_NDRVPROTO NDRVPROTO_NDRV /* Use this socket level */
#define NDRV_DELDMXSPEC 0x02 /* Delete the registered protocol */
#define NDRV_SETDMXSPEC 0x04 /* Set the protocol spec */