Lines Matching defs:gbuf_t
167 typedef struct mbuf gbuf_t;
172 gbuf_t *gbuf_alloc_wait(int size, int wait);
173 gbuf_t *gbuf_copym(gbuf_t *mlist);
174 gbuf_t *gbuf_strip(gbuf_t *m);
175 int gbuf_freel(gbuf_t *m);
176 void gbuf_linkb(gbuf_t *m1, gbuf_t *m2);
177 void gbuf_linkpkt(gbuf_t *m1, gbuf_t *m2);
178 int gbuf_msgsize(gbuf_t *m);
195 #define gbuf_copym(mlist) ((gbuf_t *)copy_pkt(mlist, -1))
203 #define gbuf_dupb_wait(m, wait) ((gbuf_t *)m_copym(m, 0, gbuf_len(m), (wait)? M_WAIT: M_DONTWAIT))
206 #define gbuf_dupm(mlist) ((gbuf_t *)copy_pkt(mlist, -1))
207 /* *** was ((gbuf_t *)m_copym(mlist, 0, M_COPYALL, M_DONTWAIT)) *** */