Lines Matching refs:mbuf

104 #include <sys/mbuf.h>
169 static int ip6_pcbopts(struct ip6_pktopts **, struct mbuf *,
175 static int ip6_copyexthdr(struct mbuf **, caddr_t, int);
176 static int ip6_insertfraghdr(struct mbuf *, struct mbuf *, int,
179 static int ip6_splithdr(struct mbuf *, struct ip6_exthdrs *);
223 * XXX we don't handle mbuf chains yet in nd6_output() so ip6_output_list() only
224 * walks through the packet chain and sends each mbuf separately.
228 struct mbuf *m0,
238 struct mbuf *m = m0, *nextpkt;
261 * IP6 output. The packet in mbuf chain m contains a skeletal IP6
264 * The mbuf chain containing the packet will be freed.
265 * The mbuf opt, if present, will not be freed.
273 struct mbuf *m0,
283 struct mbuf *m = m0;
539 /* adjust mbuf packet header length */
573 struct mbuf *mprev = m;
578 * mbuf prior to dest2.
695 /* mbuf is already reclaimed in ipsec6_output_trans. */
715 /* ah6_output doesn't modify mbuf chain */
871 DTRACE_IP6(send, struct mbuf *, m, struct inpcb *, NULL,
883 /* mbuf is already reclaimed in ipsec6_output_tunnel. */
1373 struct mbuf **mnext, *m_frgpart;
1542 m_freem(exthdrs.ip6e_hbh); /* m_freem will check if mbuf is 0 */
1554 struct mbuf **mp;
1558 struct mbuf *m;
1586 in6_delayed_cksum(struct mbuf *m, uint16_t offset)
1612 struct mbuf *mopt;
1641 * - exthdrs->ip6e_hbh is not an mbuf chain.
1644 struct mbuf *n;
1648 * not fit even in an mbuf cluster.
1706 struct mbuf *m0, *m;
1710 struct mbuf *n, *mlast;
1721 /* Search for the last mbuf of unfragmentable part. */
1727 /* use the trailing space of the last mbuf for the fragment hdr */
1733 /* allocate a new mbuf for the fragment header */
1734 struct mbuf *mfrg;
1872 struct mbuf *m;
2132 struct mbuf *m;
2203 struct mbuf *m;
2460 struct mbuf *m = NULL;
2461 struct mbuf **mp = &m;
2606 struct mbuf *m,
3050 ip6_setpktopts(struct mbuf *control, struct ip6_pktopts *opt,
3077 * in a single mbuf.
3514 struct mbuf *m,
3517 struct mbuf *copym;
3526 * is in an mbuf cluster, so that we can safely override the IPv6
3579 struct mbuf *m;
3582 struct mbuf *mh;