V8/usr/sys/h/inet/mbuf.h

Compare this file to the similar file:
Show the results in this format:

/*
 * mbuf emulation.
 */

#define mbuf		block
#define m_next		next
#define mtod(m, type)	((type) (m->rptr))
#define m_get(x1, x2)	bp_get()
#define m_free(m)	freeb(m)
#define m_freem(m)	bp_free(m)
#define m_pullup	bp_pullup
#define m_adj		bp_adj
#define dtom(x)		bp_dtom((struct block *) x)
#define m_copy		bp_copy

#define BLEN(bp) ((bp)->wptr - (bp)->rptr)
#define BSZ(bp) ((bp)->lim - (bp)->base)
#define MAXBLEN	64

#define MGET(m, x, y)	((m) = m_get(x, y))

#ifdef KERNEL
extern struct block *bp_dtom(), *bp_copy();
extern struct block *bp_get();
#endif