Revision 460fec67 slirp/mbuf.h

b/slirp/mbuf.h
84 84

  
85 85
struct mbuf {
86 86
	struct	m_hdr m_hdr;
87
	Slirp *slirp;
87 88
	union M_dat {
88 89
		char	m_dat_[1]; /* ANSI don't like 0 sized arrays */
89 90
		char	*m_ext_;
......
114 115
#define M_DOFREE		0x08	/* when m_free is called on the mbuf, free()
115 116
					 * it rather than putting it on the free list */
116 117

  
117
extern struct mbuf m_freelist, m_usedlist;
118

  
119
void m_init _P((void));
120
struct mbuf * m_get _P((void));
118
void m_init _P((Slirp *));
119
struct mbuf * m_get _P((Slirp *));
121 120
void m_free _P((struct mbuf *));
122 121
void m_cat _P((register struct mbuf *, register struct mbuf *));
123 122
void m_inc _P((struct mbuf *, int));
124 123
void m_adj _P((struct mbuf *, int));
125 124
int m_copy _P((struct mbuf *, struct mbuf *, int, int));
126
struct mbuf * dtom _P((void *));
125
struct mbuf * dtom _P((Slirp *, void *));
127 126

  
128 127
#endif

Also available in: Unified diff