Lines Matching refs:ctrl_out
72 FILE *ctrl_in, *ctrl_out; variable
322 ctrl_out = fdopen(s, "w"); in hookup()
323 if (ctrl_in == NULL || ctrl_out == NULL) { in hookup()
327 if (ctrl_out) in hookup()
328 (void) fclose(ctrl_out); in hookup()
337 if (ctrl_out) in hookup()
338 (void) fclose(ctrl_out); in hookup()
339 ctrl_in = ctrl_out = NULL; in hookup()
340 ctrl_in = ctrl_out = NULL; in hookup()
458 if (ctrl_out == NULL) { in command()
548 (void) fprintf(ctrl_out, "%c%c%wc", IAC, in getreply()
550 (void) fflush(ctrl_out); in getreply()
555 (void) fprintf(ctrl_out, "%c%c%wc", IAC, in getreply()
557 (void) fflush(ctrl_out); in getreply()
1389 (void) fprintf(ctrl_out, "%c%c", IAC, IP); in recvrequest()
1390 (void) fflush(ctrl_out); in recvrequest()
1396 if (send(fileno(ctrl_out), &msg, 1, MSG_OOB) != 1) { in recvrequest()
1399 (void) fprintf(ctrl_out, "%cABOR\r\n", DM); in recvrequest()
1400 (void) fflush(ctrl_out); in recvrequest()
1806 ip->out = ctrl_out; in pswitch()
1807 ctrl_out = op->out; in pswitch()
2010 (void) fprintf(ctrl_out, "%c%c", IAC, IP); in proxtrans()
2011 (void) fflush(ctrl_out); in proxtrans()
2014 if (send(fileno(ctrl_out), msg, 2, MSG_OOB) in proxtrans()
2017 (void) fprintf(ctrl_out, "ABOR\r\n"); in proxtrans()
2018 (void) fflush(ctrl_out); in proxtrans()
2043 (void) fprintf(ctrl_out, "%c%c", IAC, IP); in proxtrans()
2044 (void) fflush(ctrl_out); in proxtrans()
2047 if (send(fileno(ctrl_out), msg, 2, MSG_OOB) != 2) in proxtrans()
2049 (void) fprintf(ctrl_out, "ABOR\r\n"); in proxtrans()
2050 (void) fflush(ctrl_out); in proxtrans()
2087 (void) fprintf(ctrl_out, "%c%c", IAC, IP); in proxtrans()
2088 (void) fflush(ctrl_out); in proxtrans()
2091 if (send(fileno(ctrl_out), msg, 2, MSG_OOB) in proxtrans()
2094 (void) fprintf(ctrl_out, "ABOR\r\n"); in proxtrans()
2095 (void) fflush(ctrl_out); in proxtrans()
2120 (void) fprintf(ctrl_out, "%c%c", IAC, IP); in proxtrans()
2121 (void) fflush(ctrl_out); in proxtrans()
2124 if (send(fileno(ctrl_out), msg, 2, MSG_OOB) != 2) in proxtrans()
2126 (void) fprintf(ctrl_out, "ABOR\r\n"); in proxtrans()
2127 (void) fflush(ctrl_out); in proxtrans()
2349 (void) fprintf(ctrl_out, "%s %s", in secure_command()
2365 fputs(cmd, ctrl_out); in secure_command()
2368 (void) fprintf(ctrl_out, "\r\n"); in secure_command()
2369 (void) fflush(ctrl_out); in secure_command()