Home
last modified time | relevance | path

Searched refs:connection_in (Results 1 – 4 of 4) sorted by relevance

/external/openssh/
Dserverloop.c199 wait_until_can_do_something(int connection_in, int connection_out, in wait_until_can_do_something() argument
237 FD_SET(connection_in, *readsetp); in wait_until_can_do_something()
282 process_input(fd_set *readset, int connection_in) in process_input() argument
289 if (FD_ISSET(connection_in, readset)) { in process_input()
290 len = read(connection_in, buf, sizeof(buf)); in process_input()
356 u_int nalloc = 0, connection_in, connection_out; in server_loop2() local
363 connection_in = packet_get_connection_in(); in server_loop2()
374 max_fd = MAXIMUM(connection_in, connection_out); in server_loop2()
391 wait_until_can_do_something(connection_in, connection_out, in server_loop2()
403 if (process_input(readset, connection_in) < 0) in server_loop2()
Dpacket.c117 int connection_in; member
245 state->connection_in = -1; in ssh_alloc_session_state()
307 state->connection_in = fd_in; 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()
444 if (getpeername(state->connection_in, (struct sockaddr *)&from, in ssh_packet_connection_is_on_socket()
492 set_nonblock(ssh->state->connection_in); in ssh_packet_set_nonblocking()
494 if (ssh->state->connection_out != ssh->state->connection_in) in ssh_packet_set_nonblocking()
503 return ssh->state->connection_in; in ssh_packet_get_connection_in()
522 const int sock = ssh->state->connection_in; in ssh_remote_ipaddr()
[all …]
Dsshconnect.c550 int connection_in = packet_get_connection_in(); in ssh_exchange_identification() local
559 fdsetsz = howmany(connection_in + 1, NFDBITS) * sizeof(fd_mask); in ssh_exchange_identification()
579 FD_SET(connection_in, fdset); in ssh_exchange_identification()
580 rc = select(connection_in + 1, fdset, NULL, in ssh_exchange_identification()
594 len = atomicio(read, connection_in, &buf[i], 1); in ssh_exchange_identification()
Dclientloop.c164 static int connection_in; /* Connection to server (input). */ variable
631 FD_SET(connection_in, *readsetp); in client_wait_until_can_do_something()
653 FD_SET(connection_in, *readsetp); in client_wait_until_can_do_something()
765 if (FD_ISSET(connection_in, readset)) { in client_process_net_input()
767 len = read(connection_in, buf, sizeof(buf)); in client_process_net_input()
1552 connection_in = packet_get_connection_in(); in client_loop()
1554 max_fd = MAXIMUM(connection_in, connection_out); in client_loop()