Lines Matching refs:IAC

305 	NET2ADD(IAC, DO);
321 NET2ADD(IAC, DONT);
337 NET2ADD(IAC, WILL);
353 NET2ADD(IAC, WONT);
819 "%c%c%c%c%s%c%c", IAC, SB, in suboption()
820 TELOPT_TTYPE, TELQUAL_IS, name, IAC, SE); in suboption()
844 "%c%c%c%c%d,%d%c%c", IAC, SB, in suboption()
845 TELOPT_TSPEED, TELQUAL_IS, ospeed, ispeed, IAC, SE); in suboption()
954 "%c%c%c%c%s%c%c", IAC, SB, in suboption()
955 TELOPT_XDISPLOC, TELQUAL_IS, dp, IAC, SE); in suboption()
1053 static unsigned char str_lm[] = { IAC, SB, TELOPT_LINEMODE, 0, 0, IAC, SE };
1148 IAC, SB, TELOPT_LINEMODE, LM_MODE, 0, IAC, SE
1274 IAC, SB, TELOPT_LINEMODE, LM_SLC, 0, SLC_VARIABLE, 0, IAC, SE
1277 IAC, SB, TELOPT_LINEMODE, LM_SLC, 0, SLC_DEFAULT, 0, IAC, SE
1438 *slc_replyp++ = IAC; in slc_start_reply()
1447 if ((*slc_replyp++ = func) == IAC) in slc_add_reply()
1448 *slc_replyp++ = IAC; in slc_add_reply()
1449 if ((*slc_replyp++ = flags) == IAC) in slc_add_reply()
1450 *slc_replyp++ = IAC; in slc_add_reply()
1451 if ((*slc_replyp++ = (unsigned char)value) == IAC) in slc_add_reply()
1452 *slc_replyp++ = IAC; in slc_add_reply()
1460 *slc_replyp++ = IAC; in slc_end_reply()
1603 *opt_replyp++ = IAC; in env_opt_start()
1676 case IAC:
1677 *opt_replyp++ = IAC;
1722 *opt_replyp++ = IAC;
1786 if (c == IAC) { in telrcv()
1861 printoption("RCVD", IAC, DM); in telrcv()
1876 case IAC: in telrcv()
1877 TTYADD(IAC); in telrcv()
1883 printoption("RCVD", IAC, c); in telrcv()
1923 if (c == IAC) { in telrcv()
1932 if (c != IAC) { in telrcv()
1945 SB_ACCUM(IAC); in telrcv()
1951 "RCVD", IAC, c); in telrcv()
1959 SB_ACCUM(IAC); in telrcv()
2111 case IAC: in telsnd()
2112 NET2ADD(IAC, IAC); in telsnd()
2118 } else if (c == IAC) { in telsnd()
2119 NET2ADD(IAC, IAC); in telsnd()
2346 if ((*current&0xff) != IAC) {
2360 if ((*look++&0xff) == IAC) {
2396 #define wewant(p) ((nfrontp > p) && ((*p&0xff) == IAC) && \ in netclear()
2441 NET2ADD(IAC, DO); in doflush()
2458 NET2ADD(IAC, AO); in xmitAO()
2459 printoption("SENT", IAC, AO); in xmitAO()
2471 NET2ADD(IAC, EL); in xmitEL()
2472 printoption("SENT", IAC, EL); in xmitEL()
2478 NET2ADD(IAC, EC); in xmitEC()
2479 printoption("SENT", IAC, EC); in xmitEC()
2487 NETADD(IAC); in dosynch()
2490 printoption("SENT", IAC, DM); in dosynch()
2508 *cp++ = IAC; in get_status()
2512 *cp++ = IAC; in get_status()
2525 NET2ADD(IAC, IP); in intp()
2526 printoption("SENT", IAC, IP); in intp()
2540 NET2ADD(IAC, BREAK); in sendbrk()
2541 printoption("SENT", IAC, BREAK); in sendbrk()
2556 NET2ADD(IAC, ABORT); in sendabort()
2557 printoption("SENT", IAC, ABORT); in sendabort()
2574 NET2ADD(IAC, SUSP); in sendsusp()
2575 printoption("SENT", IAC, SUSP); in sendsusp()
2591 NET2ADD(IAC, xEOF); in sendeof()
2592 printoption("SENT", IAC, xEOF); in sendeof()
2609 #define PUTSHORT(cp, x) { if ((*cp++ = ((x)>>8)&0xff) == IAC) *cp++ = IAC; \ in sendnaws()
2610 if ((*cp++ = ((x))&0xff) == IAC) *cp++ = IAC; } in sendnaws()
2618 *cp++ = IAC; in sendnaws()
2623 *cp++ = IAC; in sendnaws()