Lines Matching refs:mbuf
32 * $Id: mbuf.c,v 1.3 2004/12/13 00:25:22 lindak Exp $
57 * mbuf header and the start of the data so we can
62 #define M_BASESIZE (sizeof (struct mbuf) + 8)
68 m_get(int len, struct mbuf **mpp)
70 struct mbuf *m;
88 m_free(struct mbuf *m)
94 m_freem(struct mbuf *m0)
96 struct mbuf *m;
106 m_totlen(struct mbuf *m0)
108 struct mbuf *m = m0;
119 m_lineup(struct mbuf *m0, struct mbuf **mpp)
121 struct mbuf *nm, *m;
156 struct mbuf *m;
166 mb_initm(struct mbdata *mbp, struct mbuf *m)
183 m_getm(struct mbuf *top, int len, struct mbuf **mpp)
185 struct mbuf *m, *mp;
224 * allocate new mbuf if not. Advance pointers and increase length of mbuf(s).
230 struct mbuf *m, *mn;
301 struct mbuf *m;
338 * Append another mbuf to the mbuf chain.
341 * This always consumes the passed mbuf.
344 mb_put_mbuf(mbchain_t *mbp, struct mbuf *m)
346 struct mbuf *cm = mbp->mb_cur;
427 * Routines for fetching data from an mbuf chain
518 struct mbuf *m = mbp->mb_cur;
576 * Get a string from the mbuf chain,
592 * Get an ASCII (really OEM) string from the mbuf chain
651 * Get a UCS-2LE string from the mbuf chain, and