Lines Matching refs:win
1802 u_32_t win, maxwin;
1813 win = ntohs(tcp->th_win);
1815 win = ntohs(tcp->th_win) << fdata->td_winscale;
1818 * win 0 means the receiving endpoint has closed the window, because it
1822 * state this accurately, so we have to allow 1 octet (win = 1) even if
1823 * the window is closed (win == 0).
1825 if (win == 0)
1826 win = 1;
1843 fdata->td_maxwin = win;
1856 fdata->td_maxend = end + win;
1888 int, win
1894 * maxend <-> ack + win
1963 if (fdata->td_maxwin < win) {
1966 int, win
1968 fdata->td_maxwin = win;
1979 if (SEQ_GE(ack + win, tdata->td_maxend)) {
1982 int, ack + win
1984 tdata->td_maxend = ack + win;