Lines Matching refs:mbuf
49 #include <sys/mbuf.h>
131 struct mbuf *mbuf;
191 static int gen_encap(struct gen_softc *sc, struct mbuf **mp);
192 static int gen_parse_tx(struct mbuf *m, int csum_flags);
212 struct mbuf *m);
930 struct mbuf *m;
980 gen_encap(struct gen_softc *sc, struct mbuf **mp)
986 struct mbuf *m;
999 * out with only the Ethernet header in the first mbuf, and this
1001 * fail if laid out with only the Ethernet header in the first mbuf.
1130 /* Store mbuf in the last segment */
1131 q->entries[first].mbuf = m;
1142 gen_parse_tx(struct mbuf *m, int csum_flags)
1147 struct mbuf *m0 = m;
1160 * If statusblock is not at beginning of mbuf (likely),
1161 * then remember to move mbuf contents down before copying
1172 * If copying to the internal mbuf data area, and the status block
1198 sizeof(struct ip6_hdr) <= MLEN), ("%s: mbuf too small", __func__));
1271 struct mbuf *m, *mh, *mt;
1291 m = q->entries[index].mbuf;
1321 /* reuse previous mbuf */
1401 if (ent->mbuf != NULL) {
1405 m_freem(ent->mbuf);
1406 ent->mbuf = NULL;
1433 struct mbuf *m;
1447 struct mbuf *m)
1462 q->entries[index].mbuf = m;