]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/net/ndrv.h
xnu-792.25.20.tar.gz
[apple/xnu.git] / bsd / net / ndrv.h
index 0824dafca4437b5da939ccda9e3e041f74c2720d..6aa8e14bd7e29616442c202cfd58a171e70220b3 100644 (file)
@@ -42,9 +42,9 @@ struct sockaddr_ndrv
  * Support for user-mode protocol handlers
  */
 
-#define NDRV_DEMUXTYPE_ETHERTYPE       DLIL_DESC_ETYPE2
-#define        NDRV_DEMUXTYPE_SAP                      DLIL_DESC_SAP
-#define NDRV_DEMUXTYPE_SNAP                    DLIL_DESC_SNAP
+#define NDRV_DEMUXTYPE_ETHERTYPE       4
+#define        NDRV_DEMUXTYPE_SAP                      5
+#define NDRV_DEMUXTYPE_SNAP                    6
 
 #define        NDRVPROTO_NDRV                          0
 
@@ -115,9 +115,7 @@ struct ndrv_protocol_desc
 };
 
 #define SOL_NDRVPROTO          NDRVPROTO_NDRV  /* Use this socket level */
-/*             NDRV_DMXSPEC            0x01                       Obsolete */
 #define NDRV_DELDMXSPEC                0x02                    /* Delete the registered protocol */
-/*             NDRV_DMXSPECCNT         0x03                       Obsolete */
 #define NDRV_SETDMXSPEC                0x04                    /* Set the protocol spec */
 #define        NDRV_ADDMULTICAST       0x05                    /* Add a physical multicast address */
 #define NDRV_DELMULTICAST      0x06                    /* Delete a phyiscal multicast */
@@ -145,11 +143,4 @@ struct ndrv_protocol_desc
  * you a second or two.
  */
 
-#ifdef KERNEL
-#ifdef __APPLE_API_UNSTABLE
-/* Additional Kernel APIs */
-struct ifnet*  ndrv_get_ifp(caddr_t ndrv_pcb);
-#endif /* __APPLE_API_UNSTABLE */
-#endif
-
 #endif /* _NET_NDRV_H */