Home
last modified time | relevance | path

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

/external/openssh/
Dserverloop.c105 static int connection_in; /* Connection to client (input). */ variable
316 FD_SET(connection_in, *readsetp); in wait_until_can_do_something()
324 FD_SET(connection_in, *readsetp); in wait_until_can_do_something()
401 if (FD_ISSET(connection_in, readset)) { in process_input()
403 len = roaming_read(connection_in, buf, sizeof(buf), &cont); in process_input()
599 connection_in = packet_get_connection_in(); in server_loop()
614 max_fd = MAX(connection_in, connection_out); in server_loop()
701 max_fd = MAX(connection_in, connection_out); in server_loop()
835 connection_in = packet_get_connection_in(); in server_loop2()
846 max_fd = MAX(connection_in, connection_out); in server_loop2()
Dpacket.c118 int connection_in; member
239 state->connection_in = -1; in ssh_alloc_session_state()
286 state->connection_in = fd_in; in ssh_packet_set_connection()
376 if (state->connection_in == state->connection_out) in ssh_packet_connection_is_on_socket()
380 if (getpeername(state->connection_in, (struct sockaddr *)&from, in ssh_packet_connection_is_on_socket()
428 set_nonblock(ssh->state->connection_in); in ssh_packet_set_nonblocking()
430 if (ssh->state->connection_out != ssh->state->connection_in) in ssh_packet_set_nonblocking()
439 return ssh->state->connection_in; in ssh_packet_get_connection_in()
461 get_peer_ipaddr(ssh->state->connection_in) : in ssh_remote_ipaddr()
480 if (state->connection_in == state->connection_out) { in ssh_packet_close()
[all …]
Dclientloop.c163 static int connection_in; /* Connection to server (input). */ variable
611 FD_SET(connection_in, *readsetp); in client_wait_until_can_do_something()
633 FD_SET(connection_in, *readsetp); in client_wait_until_can_do_something()
745 if (FD_ISSET(connection_in, readset)) { in client_process_net_input()
747 len = roaming_read(connection_in, buf, sizeof(buf), &cont); in client_process_net_input()
1501 connection_in = packet_get_connection_in(); in client_loop()
1503 max_fd = MAX(connection_in, connection_out); in client_loop()
1640 connection_in = packet_get_connection_in(); in client_loop()
1643 max_fd = MAX(max_fd, connection_in); in client_loop()
Dsshconnect.c548 int connection_in = packet_get_connection_in(); in ssh_exchange_identification() local
557 fdsetsz = howmany(connection_in + 1, NFDBITS) * sizeof(fd_mask); in ssh_exchange_identification()
577 FD_SET(connection_in, fdset); in ssh_exchange_identification()
578 rc = select(connection_in + 1, fdset, NULL, in ssh_exchange_identification()
592 len = roaming_atomicio(read, connection_in, &buf[i], 1); in ssh_exchange_identification()