Home
last modified time | relevance | path

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

/titanic_41/usr/src/cmd/ssh/libssh/common/
H A Dpacket.c92 static int connection_out = -1; variable
193 connection_out = fd_out; in packet_set_connection()
230 if (connection_in != -1 && connection_in == connection_out) in packet_connection_is_on_socket()
238 if (getpeername(connection_out, (struct sockaddr *)&to, &tolen) < 0) in packet_connection_is_on_socket()
256 if (getsockname(connection_out, (struct sockaddr *)&to, &tolen) < 0) in packet_connection_is_ipv4()
277 if (connection_out != connection_in) { in packet_set_nonblocking()
278 if (fcntl(connection_out, F_SETFL, O_NONBLOCK) < 0) in packet_set_nonblocking()
296 return connection_out; in packet_get_connection_out()
307 if (connection_in == connection_out) { in packet_close()
308 shutdown(connection_out, SHUT_RDWR); in packet_close()
[all …]
/titanic_41/usr/src/cmd/ssh/sshd/
H A Dserverloop.c89 static int connection_out; /* Connection to client (output). */ variable
323 FD_SET(connection_out, *writesetp); in wait_until_can_do_something()
462 if (FD_ISSET(connection_out, writeset)) in process_output()
543 connection_out = packet_get_connection_out(); in server_loop()
557 max_fd = MAX(connection_in, connection_out); in server_loop()
644 max_fd = MAX(connection_in, connection_out); in server_loop()
789 if ((connection_out = packet_get_connection_out()) >= 0 && in aps_wait_until_can_do_something()
791 FD_SET(connection_out, *writesetp); in aps_wait_until_can_do_something()
883 connection_out = packet_get_connection_out(); in aps_monitor_loop()
887 max_fd = MAX(connection_in, connection_out); in aps_monitor_loop()
[all …]
/titanic_41/usr/src/cmd/ssh/ssh/
H A Dclientloop.c128 static int connection_out; /* Connection to server (output). */ variable
524 FD_SET(connection_out, *writesetp); in client_wait_until_can_do_something()
1104 connection_out = packet_get_connection_out(); in client_loop()
1105 max_fd = MAX(connection_in, connection_out); in client_loop()
1236 if (FD_ISSET(connection_out, writeset)) in client_loop()
H A Dsshconnect.c453 int connection_out = packet_get_connection_out(); in ssh_exchange_identification() local
537 if (atomicio(write, connection_out, buf, strlen(buf)) != strlen(buf)) in ssh_exchange_identification()