Lines Matching refs:transwindow
101 unsigned int transwindow, unsigned int transmaxpacket) { in newchannel() argument
142 newchan->transwindow = transwindow; in newchannel()
295 if (channel->readfd >= 0 && channel->transwindow > 0) { in check_close()
300 && channel->transwindow > 0) { in check_close()
447 if (channel->transwindow > 0) { in setchannelfds()
597 maxlen = MIN(channel->transwindow, channel->transmaxpacket); in send_msg_channel_data()
637 channel->transwindow -= len; in send_msg_channel_data()
732 channel->transwindow += incr; in recv_msg_channel_window_adjust()
733 channel->transwindow = MIN(channel->transwindow, MAX_TRANS_WINDOW); in recv_msg_channel_window_adjust()
757 unsigned int remotechan, transwindow, transmaxpacket; in recv_msg_channel_open() local
771 transwindow = buf_getint(ses.payload); in recv_msg_channel_open()
772 transwindow = MIN(transwindow, MAX_TRANS_WINDOW); in recv_msg_channel_open()
800 channel = newchannel(remotechan, chantype, transwindow, transmaxpacket); in recv_msg_channel_open()
997 channel->transwindow = buf_getint(ses.payload); in recv_msg_channel_open_confirmation()