Lines Matching refs:IAC
51 unsigned char doopt[] = { IAC, DO, '%', 'c', 0 };
52 unsigned char dont[] = { IAC, DONT, '%', 'c', 0 };
53 unsigned char will[] = { IAC, WILL, '%', 'c', 0 };
54 unsigned char wont[] = { IAC, WONT, '%', 'c', 0 };
83 #define TS_IAC 1 /* look for double IAC's */
119 if (c == IAC) {
172 printoption("td: recv IAC", c));
178 printoption("td: recv IAC", c));
187 printoption("td: recv IAC", c));
197 printoption("td: recv IAC", c));
208 output_data("%c%c", IAC, DM);
211 printoption("td: send IAC", DM));
225 printoption("td: recv IAC", c));
242 printoption("td: recv IAC", c));
292 case IAC:
300 if (c == IAC) {
309 if (c != IAC) {
320 SB_ACCUM(IAC);
333 SB_ACCUM(IAC);
1494 #define ADD_DATA(c) { *ncp++ = c; if (c == SE || c == IAC) *ncp++ = c; }
1506 ADD(IAC);
1523 if (i == IAC)
1524 ADD(IAC);
1529 if (i == IAC)
1530 ADD(IAC);
1579 ADD(IAC);