version 1.311, 2023/08/28 03:28:43 |
version 1.312, 2023/08/28 03:31:16 |
|
|
return sshbuf_len(ssh->state->output) < 128 * 1024; |
return sshbuf_len(ssh->state->output) < 128 * 1024; |
} |
} |
|
|
|
/* |
|
* returns true when there are at most a few keystrokes of data to write |
|
* and the connection is in interactive mode. |
|
*/ |
|
|
|
int |
|
ssh_packet_interactive_data_to_write(struct ssh *ssh) |
|
{ |
|
return ssh->state->interactive_mode && |
|
sshbuf_len(ssh->state->output) < 256; |
|
} |
|
|
void |
void |
ssh_packet_set_tos(struct ssh *ssh, int tos) |
ssh_packet_set_tos(struct ssh *ssh, int tos) |
{ |
{ |