Lines Matching refs:do_telnetopt
179 if (s->do_telnetopt > 1) { in tcp_chr_process_IAC_bytes()
180 if ((unsigned char)buf[i] == IAC && s->do_telnetopt == 2) { in tcp_chr_process_IAC_bytes()
186 s->do_telnetopt = 1; in tcp_chr_process_IAC_bytes()
189 && s->do_telnetopt == 2) { in tcp_chr_process_IAC_bytes()
192 s->do_telnetopt++; in tcp_chr_process_IAC_bytes()
196 && s->do_telnetopt == 2) { in tcp_chr_process_IAC_bytes()
199 s->do_telnetopt++; in tcp_chr_process_IAC_bytes()
202 && s->do_telnetopt == 2) { in tcp_chr_process_IAC_bytes()
204 s->do_telnetopt++; in tcp_chr_process_IAC_bytes()
206 s->do_telnetopt++; in tcp_chr_process_IAC_bytes()
208 if (s->do_telnetopt >= 4) { in tcp_chr_process_IAC_bytes()
209 s->do_telnetopt = 1; in tcp_chr_process_IAC_bytes()
213 s->do_telnetopt = 2; in tcp_chr_process_IAC_bytes()
516 if (s->do_telnetopt) { in tcp_chr_read()
785 if (s->do_telnetopt) { in tcp_chr_websock_handshake()
827 } else if (s->do_telnetopt) { in tcp_chr_tls_handshake()
916 } else if (s->do_telnetopt) { in tcp_chr_new_client()
1232 s->do_telnetopt = 1; in qmp_chardev_open_socket_server()