Lines Matching refs:IAC

307 	NET2ADD(IAC, DO);
323 NET2ADD(IAC, DONT);
339 NET2ADD(IAC, WILL);
355 NET2ADD(IAC, WONT);
821 "%c%c%c%c%s%c%c", IAC, SB, in suboption()
822 TELOPT_TTYPE, TELQUAL_IS, name, IAC, SE); in suboption()
846 "%c%c%c%c%d,%d%c%c", IAC, SB, in suboption()
847 TELOPT_TSPEED, TELQUAL_IS, ospeed, ispeed, IAC, SE); in suboption()
956 "%c%c%c%c%s%c%c", IAC, SB, in suboption()
957 TELOPT_XDISPLOC, TELQUAL_IS, dp, IAC, SE); in suboption()
1055 static unsigned char str_lm[] = { IAC, SB, TELOPT_LINEMODE, 0, 0, IAC, SE };
1150 IAC, SB, TELOPT_LINEMODE, LM_MODE, 0, IAC, SE
1276 IAC, SB, TELOPT_LINEMODE, LM_SLC, 0, SLC_VARIABLE, 0, IAC, SE
1279 IAC, SB, TELOPT_LINEMODE, LM_SLC, 0, SLC_DEFAULT, 0, IAC, SE
1440 *slc_replyp++ = IAC; in slc_start_reply()
1449 if ((*slc_replyp++ = func) == IAC) in slc_add_reply()
1450 *slc_replyp++ = IAC; in slc_add_reply()
1451 if ((*slc_replyp++ = flags) == IAC) in slc_add_reply()
1452 *slc_replyp++ = IAC; in slc_add_reply()
1453 if ((*slc_replyp++ = (unsigned char)value) == IAC) in slc_add_reply()
1454 *slc_replyp++ = IAC; in slc_add_reply()
1462 *slc_replyp++ = IAC; in slc_end_reply()
1605 *opt_replyp++ = IAC; in env_opt_start()
1678 case IAC:
1679 *opt_replyp++ = IAC;
1724 *opt_replyp++ = IAC;
1788 if (c == IAC) { in telrcv()
1863 printoption("RCVD", IAC, DM); in telrcv()
1878 case IAC: in telrcv()
1879 TTYADD(IAC); in telrcv()
1885 printoption("RCVD", IAC, c); in telrcv()
1925 if (c == IAC) { in telrcv()
1934 if (c != IAC) { in telrcv()
1947 SB_ACCUM(IAC); in telrcv()
1953 "RCVD", IAC, c); in telrcv()
1961 SB_ACCUM(IAC); in telrcv()
2113 case IAC: in telsnd()
2114 NET2ADD(IAC, IAC); in telsnd()
2120 } else if (c == IAC) { in telsnd()
2121 NET2ADD(IAC, IAC); in telsnd()
2348 if ((*current&0xff) != IAC) {
2362 if ((*look++&0xff) == IAC) {
2398 #define wewant(p) ((nfrontp > p) && ((*p&0xff) == IAC) && \ in netclear()
2443 NET2ADD(IAC, DO); in doflush()
2460 NET2ADD(IAC, AO); in xmitAO()
2461 printoption("SENT", IAC, AO); in xmitAO()
2473 NET2ADD(IAC, EL); in xmitEL()
2474 printoption("SENT", IAC, EL); in xmitEL()
2480 NET2ADD(IAC, EC); in xmitEC()
2481 printoption("SENT", IAC, EC); in xmitEC()
2489 NETADD(IAC); in dosynch()
2492 printoption("SENT", IAC, DM); in dosynch()
2510 *cp++ = IAC; in get_status()
2514 *cp++ = IAC; in get_status()
2527 NET2ADD(IAC, IP); in intp()
2528 printoption("SENT", IAC, IP); in intp()
2542 NET2ADD(IAC, BREAK); in sendbrk()
2543 printoption("SENT", IAC, BREAK); in sendbrk()
2558 NET2ADD(IAC, ABORT); in sendabort()
2559 printoption("SENT", IAC, ABORT); in sendabort()
2576 NET2ADD(IAC, SUSP); in sendsusp()
2577 printoption("SENT", IAC, SUSP); in sendsusp()
2593 NET2ADD(IAC, xEOF); in sendeof()
2594 printoption("SENT", IAC, xEOF); in sendeof()
2611 #define PUTSHORT(cp, x) { if ((*cp++ = ((x)>>8)&0xff) == IAC) *cp++ = IAC; \ in sendnaws()
2612 if ((*cp++ = ((x))&0xff) == IAC) *cp++ = IAC; } in sendnaws()
2620 *cp++ = IAC; in sendnaws()
2625 *cp++ = IAC; in sendnaws()