Home
last modified time | relevance | path

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

/titanic_41/usr/src/cmd/ssh/libssh/common/
H A Dpacket.c91 static int connection_in = -1; variable
192 connection_in = fd_in; in packet_set_connection()
230 if (connection_in != -1 && connection_in == connection_out) in packet_connection_is_on_socket()
234 if (getpeername(connection_in, (struct sockaddr *)&from, &fromlen) < 0) in packet_connection_is_on_socket()
274 if (fcntl(connection_in, F_SETFL, O_NONBLOCK) < 0) in packet_set_nonblocking()
277 if (connection_out != connection_in) { in packet_set_nonblocking()
288 return connection_in; in packet_get_connection_in()
307 if (connection_in == connection_out) { in packet_close()
311 close(connection_in); in packet_close()
949 setp = (fd_set *)xmalloc(howmany(connection_in+1, NFDBITS) * in packet_read_seqnr()
[all …]
/titanic_41/usr/src/cmd/ssh/sshd/
H A Dserverloop.c88 static int connection_in; /* Connection to client (input). */ variable
290 FD_SET(connection_in, *readsetp); in wait_until_can_do_something()
298 FD_SET(connection_in, *readsetp); in wait_until_can_do_something()
366 if (FD_ISSET(connection_in, readset)) { in process_input()
367 len = read(connection_in, buf, sizeof(buf)); in process_input()
542 connection_in = packet_get_connection_in(); 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()
783 if ((connection_in = packet_get_connection_in()) >= 0 && in aps_wait_until_can_do_something()
785 FD_SET(connection_in, *readsetp); in aps_wait_until_can_do_something()
[all …]
/titanic_41/usr/src/cmd/ssh/ssh/
H A Dclientloop.c127 static int connection_in; /* Connection to server (input). */ variable
496 FD_SET(connection_in, *readsetp); in client_wait_until_can_do_something()
518 FD_SET(connection_in, *readsetp); in client_wait_until_can_do_something()
614 if (FD_ISSET(connection_in, readset)) { in client_process_net_input()
616 len = read(connection_in, buf, sizeof(buf)); in client_process_net_input()
1103 connection_in = packet_get_connection_in(); in client_loop()
1105 max_fd = MAX(connection_in, connection_out); in client_loop()
H A Dsshconnect.c452 int connection_in = packet_get_connection_in(); in ssh_exchange_identification() local
459 int len = atomicio(read, connection_in, &buf[i], 1); in ssh_exchange_identification()