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 >
Wrap
C/C++ Source or Header
|
2005-10-08
|
586b
|
26 lines
//
// mbufPanther.h
//
// Created by Peter Sichel on Wed May 11 2005.
// Copyright (c) 2005 Peter Siche & Daniel Sumorok
//
// Shim to simplify coding to Tiger's stable KPI functions
//
#if !TIGER
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/mbuf.h>
typedef struct mbuf *mbuf_t;
void* mbuf_data(mbuf_t mbuf);
size_t mbuf_pkthdr_len(mbuf_t mbuf);
size_t mbuf_len(mbuf_t mbuf);
mbuf_t mbuf_next(mbuf_t mbuf);
mbuf_t mbuf_nextpkt(mbuf_t mbuf);
void mbuf_setnextpkt(mbuf_t mbuf, mbuf_t nextpkt);
void mbuf_freem(mbuf_t mbuf);
int mbuf_freem_list(mbuf_t mbuf);
#endif