Home | History | Annotate | Download | only in qemu

Lines Matching defs:IAC

1860 #define IAC 255
1866 /* Handle any telnet client's basic IAC options to satisfy char by
1867 * char mode with no echo. All IAC options will be removed from
1869 * state of the width of the IAC information.
1871 * IAC commands come in sets of 3 bytes with the exception of the
1872 * "IAC BREAK" command and the double IAC.
1880 if ((unsigned char)buf[i] == IAC && s->do_telnetopt == 2) {
1881 /* Double IAC means send an IAC */
1888 /* Handle IAC break commands by sending a serial break */
1898 if ((unsigned char)buf[i] == IAC) {
1956 IACSET(buf, 0xff, 0xfb, 0x01); /* IAC WILL ECHO */
1958 IACSET(buf, 0xff, 0xfb, 0x03); /* IAC WILL Suppress go ahead */
1960 IACSET(buf, 0xff, 0xfb, 0x00); /* IAC WILL Binary */
1962 IACSET(buf, 0xff, 0xfd, 0x00); /* IAC DO Binary */