Lines Matching refs:mbuf
77 #include <sys/mbuf.h>
130 extern struct mbuf *m_copypack();
218 static int tcp_ip_output(struct socket *, struct tcpcb *, struct mbuf *, int,
219 struct mbuf *, int, int, int32_t, boolean_t);
222 static struct mbuf* tcp_send_lroacks(struct tcpcb *tp, struct mbuf *m, struct tcphdr *th);
271 register struct mbuf *m;
291 struct mbuf *m_lastm = NULL;
292 struct mbuf *m_head = NULL;
293 struct mbuf *packetlist = NULL;
294 struct mbuf *tp_inp_options = tp->t_inpcb->inp_depend4.inp4_options;
304 struct mbuf *mnext = NULL;
1004 * always fit in a single mbuf, leaving room for a maximum
1302 * Grab a header mbuf, attaching a copy of data to
1329 * the necessary mbuf hdrs under 1 mbuf lock and
1330 * avoids rescanning the socket mbuf list if
1334 * of a single mbuf header's data area (no cluster attached)
1336 * the protocol headers fits into a single mbuf header's
1389 * determine whether the mbuf pointer and offset passed back by the 'last' call
1393 * we're re-transmitting a packet sent earlier), than we can't pass the mbuf pointer and
1395 * m_copym_with_hdrs to avoid rescanning from the beginning of the socket buffer mbuf list.
1396 * setting the mbuf pointer to NULL is sufficient to disable the hint mechanism.
1410 * m_copym_with_hdrs will always return the last mbuf pointer and the offset into it that
1801 DTRACE_TCP5(send, struct mbuf *, m, struct inpcb *, tp->t_inpcb,
1807 DTRACE_TCP5(send, struct mbuf *, m, struct inpcb *, tp->t_inpcb,
1830 struct mbuf *tail, *next;
1981 tcp_ip_output(struct socket *so, struct tcpcb *tp, struct mbuf *pkt,
1982 int cnt, struct mbuf *opt, int flags, int sack_in_progress, int recwin,
2092 struct mbuf *npkt = pkt->m_nextpkt;
2100 * single mbuf might result in multiple mbufs as part
2237 static struct mbuf*
2238 tcp_send_lroacks(struct tcpcb *tp, struct mbuf *m, struct tcphdr *th)
2240 struct mbuf *mnext = NULL, *ack_chain = NULL, *tail = NULL;
2248 struct mbuf *prev_ack_pkt = NULL;
2301 printf("%s: failed to alloc mbuf.\n", __func__);