Home | History | Annotate | Download | only in slirp

Lines Matching refs:mbuf

9  * mbuf's in SLiRP are much simpler than the real mbufs in
11 * so that one whole packet can fit. Mbuf's cannot be
12 * chained together. If there's more data than the mbuf
21 struct mbuf m_freelist, m_usedlist;
39 * Get an mbuf from the free list, if there are none
46 struct mbuf *
49 register struct mbuf *m;
55 m = (struct mbuf *)malloc(SLIRP_MSIZE);
83 m_free(struct mbuf *m)
112 * Copy data from one mbuf to the end of
113 * the other.. if result is too big for one mbuf, malloc()
117 m_cat(struct mbuf *m, struct mbuf *n)
134 m_inc(struct mbuf *m, int size)
145 * return (struct mbuf *)NULL;
153 * return (struct mbuf *)NULL;
169 m_adj(struct mbuf *m, int len)
189 m_copy(struct mbuf *n, struct mbuf *m, int off, int len)
201 * Given a pointer into an mbuf, return the mbuf
205 struct mbuf *
208 struct mbuf *m;
226 return (struct mbuf *)0;