diff options
Diffstat (limited to 'slirp/mbuf.h')
-rw-r--r-- | slirp/mbuf.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/slirp/mbuf.h b/slirp/mbuf.h index 0708840f04..8d7951fb42 100644 --- a/slirp/mbuf.h +++ b/slirp/mbuf.h @@ -124,4 +124,9 @@ void m_adj(struct mbuf *, int); int m_copy(struct mbuf *, struct mbuf *, int, int); struct mbuf * dtom(Slirp *, void *); +static inline void ifs_init(struct mbuf *ifm) +{ + ifm->ifs_next = ifm->ifs_prev = ifm; +} + #endif |