Lines Matching refs:so_snd
368 *txsegsizep = uimin(so->so_snd.sb_hiwat >> 1, *txsegsizep);
457 tp->t_lastm = so->so_snd.sb_mb;
727 if (off + len > so->so_snd.sb_cc) {
729 KASSERT(off + len == so->so_snd.sb_cc + 1);
731 len = so->so_snd.sb_cc - off;
763 if (off < so->so_snd.sb_cc)
781 if (tp->snd_wnd < so->so_snd.sb_cc) {
785 len = so->so_snd.sb_cc - off;
808 } else if (win < so->so_snd.sb_cc) {
812 len = so->so_snd.sb_cc - off;
877 if (tcp_do_autosndbuf && so->so_snd.sb_flags & SB_AUTOSIZE) {
878 if ((tp->snd_wnd / 4 * 5) >= so->so_snd.sb_hiwat &&
879 so->so_snd.sb_cc >= (so->so_snd.sb_hiwat / 8 * 7) &&
880 so->so_snd.sb_cc < tcp_autosndbuf_max &&
881 win >= (so->so_snd.sb_cc - (tp->snd_nxt - tp->snd_una))) {
882 if (!sbreserve(&so->so_snd,
883 uimin(so->so_snd.sb_hiwat + tcp_autosndbuf_inc,
885 so->so_snd.sb_flags &= ~SB_AUTOSIZE;
910 if (SEQ_LT(p->rxmit + len, tp->snd_una + so->so_snd.sb_cc))
931 len + off >= so->so_snd.sb_cc))
1028 if (so->so_snd.sb_cc && TCP_TIMER_ISARMED(tp, TCPT_REXMT) == 0 &&
1243 if (off + len == so->so_snd.sb_cc)
1507 } else if (len == 0 && so->so_snd.sb_cc > 0