Lines Matching defs:do_telnetopt
1981 int do_telnetopt;
2018 * the buf and the do_telnetopt variable will be used to track the
2029 if (s->do_telnetopt > 1) {
2030 if ((unsigned char)buf[i] == IAC && s->do_telnetopt == 2) {
2035 s->do_telnetopt = 1;
2037 if ((unsigned char)buf[i] == IAC_BREAK && s->do_telnetopt == 2) {
2040 s->do_telnetopt++;
2042 s->do_telnetopt++;
2044 if (s->do_telnetopt >= 4) {
2045 s->do_telnetopt = 1;
2049 s->do_telnetopt = 2;
2149 if (s->do_telnetopt)
2200 if (s->do_telnetopt)
2285 s->do_telnetopt = 1;