home *** CD-ROM | disk | FTP | other *** search
/ ftp.sustworks.com 2018 / ftp.sustworks.com.zip / ftp.sustworks.com / USBAx8817x_101.dmg / src / Source / USBAx8817xEthernetInterface.h < prev    next >
C/C++ Source or Header  |  2005-10-08  |  603b  |  27 lines

  1. extern "C" {
  2. #include <sys/mbuf.h>
  3. #include <sys/socket.h>
  4. #include <sys/sockio.h>
  5. #include <net/bpf.h>
  6. #include <net/if.h>
  7. #include <net/if_media.h>
  8. #include <net/dlil.h>
  9. #include <sys/kern_event.h>
  10. }
  11.  
  12. #include <IOKit/network/IOEthernetInterface.h>
  13.  
  14. class USBAx8817xEthernetInterface : public IOEthernetInterface {
  15.   OSDeclareDefaultStructors(USBAx8817xEthernetInterface)
  16. #if !TIGER
  17. private:
  18.   IOLock *detachLock;
  19.   bool ifFinished;
  20.  
  21.   static int bsdInterfaceFinished( struct ifnet * ifp );
  22. #endif
  23. public:
  24.   virtual void detachFromDataLinkLayer( IOOptionBits options,
  25.                     void *       parameter );
  26. };
  27.