Lines Matching refs:tcp_rwnd
448 * We cannot find the scale value and then do a round up of tcp_rwnd
457 uint32_t rwnd = tcp->tcp_rwnd;
675 tcp->tcp_rwnd = MIN(uinfo.iulp_rpipe,
2039 tcp->tcp_rwnd = connp->conn_rcvbuf;
2164 DONTCARE(tcp->tcp_rwnd); /* Set in tcp_reinit() */
2424 * down tcp_rwnd. tcp_set_destination() will set the right value later.
2427 tcp->tcp_rwnd = connp->conn_rcvbuf;
2965 /* Caller could have changed tcp_rwnd; update tha_win */
2968 htons(tcp->tcp_rwnd >> tcp->tcp_rcv_ws);
2984 old_max_rwnd = tcp->tcp_rwnd;
3011 * If we're over the limit we may have to back down tcp_rwnd.
3015 tcp->tcp_rwnd = old_max_rwnd = rwnd;
3038 tcp->tcp_rwnd += rwnd - old_max_rwnd;
3044 htons(tcp->tcp_rwnd >> tcp->tcp_rcv_ws);
4208 tcp->tcp_rwnd = connp->conn_rcvbuf;
4209 tcp->tcp_rwnd = MAX(MSS_ROUNDUP(tcp->tcp_rwnd, mss),
4211 connp->conn_rcvbuf = tcp->tcp_rwnd;
4213 tcp->tcp_tcpha->tha_win = htons(tcp->tcp_rwnd >> tcp->tcp_rcv_ws);