Home | History | Annotate | Download | only in slirp

Lines Matching defs:so

69 	register struct socket *so = tp->t_socket;
128 if (off < so->so_snd.sb_cc)
137 len = min(so->so_snd.sb_cc, win) - off;
161 if (SEQ_LT(tp->snd_nxt + len, tp->snd_una + so->so_snd.sb_cc))
164 win = sbspace(&so->so_rcv);
180 len + off >= so->so_snd.sb_cc)
208 if (2 * adv >= (long) so->so_rcv.sb_datalen)
223 * and we have not yet done so, or we're retransmitting the FIN,
252 if (so->so_snd.sb_cc && tp->t_timer[TCPT_REXMT] == 0 &&
361 sbcopy(&so->so_snd, off, (int) len, mtod(m, caddr_t) + hdrlen);
365 * m->m_next = m_copy(so->so_snd.sb_mb, off, (int) len);
376 if (off + len == so->so_snd.sb_cc)
415 * of the next unsent octet. So, if there is no data
419 * right edge of the window, so use snd_nxt in that
437 if (win < (long)(so->so_rcv.sb_datalen / 4) && win < (long)tp->t_maxseg)
456 * so that it doesn't drift into the send window on sequence
535 ((struct ip *)ti)->ip_tos = so->so_iptos;
540 * so->so_options & SO_DONTROUTE, 0);
542 error = ip_output(so, m);
546 * so->so_options & SO_DONTROUTE);