Searched refs:connection_in (Results 1 – 3 of 3) sorted by relevance
/external/openssh/ |
D | serverloop.c | 221 int connection_in, int connection_out, in wait_until_can_do_something() argument 262 FD_SET(connection_in, *readsetp); in wait_until_can_do_something() 307 } else if (FD_ISSET(connection_in, *readsetp)) { in wait_until_can_do_something() 320 process_input(struct ssh *ssh, fd_set *readset, int connection_in) in process_input() argument 326 if (FD_ISSET(connection_in, readset)) { in process_input() 327 len = read(connection_in, buf, sizeof(buf)); in process_input() 402 u_int nalloc = 0, connection_in, connection_out; in server_loop2() local 409 connection_in = ssh_packet_get_connection_in(ssh); in server_loop2() 420 max_fd = MAXIMUM(connection_in, connection_out); in server_loop2() 439 wait_until_can_do_something(ssh, connection_in, connection_out, in server_loop2() [all …]
|
D | packet.c | 128 int connection_in; member 246 state->connection_in = -1; in ssh_alloc_session_state() 309 state->connection_in = fd_in; in ssh_packet_set_connection() 441 if (state->connection_in == -1 || state->connection_out == -1) in ssh_packet_connection_is_on_socket() 444 if (state->connection_in == state->connection_out) in ssh_packet_connection_is_on_socket() 448 if (getpeername(state->connection_in, (struct sockaddr *)&from, in ssh_packet_connection_is_on_socket() 496 set_nonblock(ssh->state->connection_in); in ssh_packet_set_nonblocking() 498 if (ssh->state->connection_out != ssh->state->connection_in) in ssh_packet_set_nonblocking() 507 return ssh->state->connection_in; in ssh_packet_get_connection_in() 531 sock = ssh->state->connection_in; in ssh_remote_ipaddr() [all …]
|
D | clientloop.c | 160 static int connection_in; /* Connection to server (input). */ variable 514 FD_SET(connection_in, *readsetp); in client_wait_until_can_do_something() 615 if (FD_ISSET(connection_in, readset)) { in client_process_net_input() 617 len = read(connection_in, buf, sizeof(buf)); in client_process_net_input() 1275 connection_in = ssh_packet_get_connection_in(ssh); in client_loop() 1277 max_fd = MAXIMUM(connection_in, connection_out); in client_loop()
|