Lines Matching refs:mbuf
45 #include <sys/mbuf.h>
493 first mbuf contains ioc command */
496 gbuf_wset(m, sizeof(ioc_t)); /* mbuf->m_len */
497 gbuf_set_type(m, MSG_IOCTL); /* mbuf->m_type */
500 second mbuf contains the actual ASP command */
509 gbuf_wset(gbuf_cont(m), user_ioccmd.ic_len); /* mbuf->m_len */
1002 Used to allocate an mbuf when there is the possibility that it may
1006 struct mbuf *m_lgbuf_alloc(size, wait)
1009 struct mbuf *m;
1024 standard mbuf allocation routines.*/
1054 allocate an mbuf when there is the possibility that it may need
1057 gbuf_alloc() sets the mbuf lengths, unlike the standard mbuf routines.
1065 /* Standard mbuf allocation routines assume that the caller
1086 struct mbuf *m1, *m2;
1106 Copy an mbuf chain, referencing existing external storage, if any.
1110 struct mbuf *copy_pkt(mlist, pad)
1111 struct mbuf *mlist; /* the mbuf chain to be copied */
1116 struct mbuf *new_m;
1124 /* preserve space for the header at the beginning of the mbuf */