Lines Matching refs:tcp_rwnd
447 * We cannot find the scale value and then do a round up of tcp_rwnd
456 uint32_t rwnd = tcp->tcp_rwnd;
674 tcp->tcp_rwnd = MIN(uinfo.iulp_rpipe,
2044 tcp->tcp_rwnd = connp->conn_rcvbuf;
2169 DONTCARE(tcp->tcp_rwnd); /* Set in tcp_reinit() */
2436 * down tcp_rwnd. tcp_set_destination() will set the right value later.
2439 tcp->tcp_rwnd = connp->conn_rcvbuf;
2982 /* Caller could have changed tcp_rwnd; update tha_win */
2985 htons(tcp->tcp_rwnd >> tcp->tcp_rcv_ws);
3001 old_max_rwnd = tcp->tcp_rwnd;
3028 * If we're over the limit we may have to back down tcp_rwnd.
3032 tcp->tcp_rwnd = old_max_rwnd = rwnd;
3055 tcp->tcp_rwnd += rwnd - old_max_rwnd;
3061 htons(tcp->tcp_rwnd >> tcp->tcp_rcv_ws);
4228 tcp->tcp_rwnd = connp->conn_rcvbuf;
4229 tcp->tcp_rwnd = MAX(MSS_ROUNDUP(tcp->tcp_rwnd, mss),
4231 connp->conn_rcvbuf = tcp->tcp_rwnd;
4233 tcp->tcp_tcpha->tha_win = htons(tcp->tcp_rwnd >> tcp->tcp_rcv_ws);