X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/e5568f75972dfc723778653c11cb6b4dc825716a..0c530ab8987f0ae6a1a3d9284f40182b88852816:/bsd/net/ndrv.h diff --git a/bsd/net/ndrv.h b/bsd/net/ndrv.h index 0824dafca..6aa8e14bd 100644 --- a/bsd/net/ndrv.h +++ b/bsd/net/ndrv.h @@ -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 */