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

  1. //
  2. //  mbufPanther.h
  3. //
  4. //  Created by Peter Sichel on Wed May 11 2005.
  5. //  Copyright (c) 2005 Peter Siche & Daniel Sumorok
  6. //
  7. //  Shim to simplify coding to Tiger's stable KPI functions
  8. //
  9. #if !TIGER
  10. #include <sys/types.h>
  11. #include <sys/socket.h>
  12. #include <sys/mbuf.h>
  13.  
  14. typedef struct mbuf *mbuf_t;
  15.  
  16. void* mbuf_data(mbuf_t mbuf);
  17. size_t mbuf_pkthdr_len(mbuf_t mbuf);
  18. size_t mbuf_len(mbuf_t mbuf);
  19. mbuf_t mbuf_next(mbuf_t mbuf);
  20. mbuf_t mbuf_nextpkt(mbuf_t mbuf);
  21. void mbuf_setnextpkt(mbuf_t mbuf, mbuf_t nextpkt);
  22. void mbuf_freem(mbuf_t mbuf);
  23. int mbuf_freem_list(mbuf_t mbuf);
  24.  
  25. #endif
  26.