version 1.1.1.6, 2018/04/24 19:30:56
|
version 1.1.1.7, 2018/04/24 19:51:31
|
Line 116 struct mbuf {
|
Line 116 struct mbuf {
|
* it rather than putting it on the free list */ |
* it rather than putting it on the free list */ |
|
|
void m_init(Slirp *); |
void m_init(Slirp *); |
|
void m_cleanup(Slirp *slirp); |
struct mbuf * m_get(Slirp *); |
struct mbuf * m_get(Slirp *); |
void m_free(struct mbuf *); |
void m_free(struct mbuf *); |
void m_cat(register struct mbuf *, register struct mbuf *); |
void m_cat(register struct mbuf *, register struct mbuf *); |
Line 124 void m_adj(struct mbuf *, int);
|
Line 125 void m_adj(struct mbuf *, int);
|
int m_copy(struct mbuf *, struct mbuf *, int, int); |
int m_copy(struct mbuf *, struct mbuf *, int, int); |
struct mbuf * dtom(Slirp *, void *); |
struct mbuf * dtom(Slirp *, void *); |
|
|
|
static inline void ifs_init(struct mbuf *ifm) |
|
{ |
|
ifm->ifs_next = ifm->ifs_prev = ifm; |
|
} |
|
|
#endif |
#endif |