Lines Matching refs:connection_out
118 int connection_out; member
246 state->connection_out = -1; in ssh_alloc_session_state()
308 state->connection_out = fd_out; in ssh_packet_set_connection()
436 if (state->connection_in == -1 || state->connection_out == -1) in ssh_packet_connection_is_on_socket()
440 if (state->connection_in == state->connection_out) in ssh_packet_connection_is_on_socket()
449 if (getpeername(state->connection_out, (struct sockaddr *)&to, in ssh_packet_connection_is_on_socket()
475 if (getsockname(ssh->state->connection_out, (struct sockaddr *)&to, in ssh_packet_connection_af()
494 if (ssh->state->connection_out != ssh->state->connection_in) in ssh_packet_set_nonblocking()
495 set_nonblock(ssh->state->connection_out); in ssh_packet_set_nonblocking()
511 return ssh->state->connection_out; in ssh_packet_get_connection_out()
582 if (state->connection_in == state->connection_out) { in ssh_packet_close()
583 shutdown(state->connection_out, SHUT_RDWR); in ssh_packet_close()
584 close(state->connection_out); in ssh_packet_close()
587 close(state->connection_out); in ssh_packet_close()
2205 len = write(state->connection_out, in ssh_packet_write_poll()
2233 setp = calloc(howmany(state->connection_out + 1, in ssh_packet_write_wait()
2242 memset(setp, 0, howmany(state->connection_out + 1, in ssh_packet_write_wait()
2244 FD_SET(state->connection_out, setp); in ssh_packet_write_wait()
2255 if ((ret = select(state->connection_out + 1, in ssh_packet_write_wait()