home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.sustworks.com 2018
/
ftp.sustworks.com.zip
/
ftp.sustworks.com
/
USBPegasusEthernet_108.dmg
/
src
/
Source
/
mbufPanther.c
next >
Wrap
C/C++ Source or Header
|
2008-02-07
|
524b
|
39 lines
//
// mbufPanther.c
//
// Created by Peter Sichel on Wed May 11 2005.
// Copyright (c) 2005 Peter Sichel & Daniel Sumorok
//
// Shim to simplify coding to Tiger's stable KPI functions
//
#if !TIGER
#include "mbufPanther.h"
void* mbuf_data(mbuf_t mbuf)
{
return mbuf->m_data;
}
size_t mbuf_pkthdr_len(mbuf_t mbuf)
{
return mbuf->m_pkthdr.len;
}
size_t mbuf_len(mbuf_t mbuf)
{
return mbuf->m_len;
}
mbuf_t mbuf_next(mbuf_t mbuf)
{
return mbuf->m_next;
}
void mbuf_freem(mbuf_t mbuf)
{
m_freem(mbuf);
}
#endif