Lines Matching defs:mbuf
117 struct mbuf;
127 volatile struct mbuf * ifq_head;
128 volatile struct mbuf * ifq_tail;
136 typedef void (*if_input)(struct ifnet *, struct mbuf *);
151 struct mbuf
153 struct mbuf * m_next; // next buffer in chain (e.g. for jumboframes)
154 struct mbuf * m_nextq; // next buffer in queue
168 struct mbuf *m_gethdr(int how, int type);
170 // Allocate and return a single M_PKTHDR mbuf. NULL is returned on failure.
173 void m_clget(struct mbuf * mb, int how);
175 // Fetch a single mbuf cluster and attach it to an existing mbuf. If
176 // successfull, configures the provided mbuf to have mbuf->m_ext.ext_buf
177 // pointing to the cluster, and sets the M_EXT bit in the mbuf's flags.
181 struct mbuf *if_dequeue(struct if_queue *queue);
183 void if_prepend(struct if_queue *queue, struct mbuf *mb);
184 void if_append(struct if_queue *queue, struct mbuf *mb);
190 void m_adj(struct mbuf *mp, int bytes);
191 void m_freem(struct mbuf *mp);