Lines Matching refs:IAC
260 NET2ADD(IAC, DO); in send_do()
275 NET2ADD(IAC, DONT); in send_dont()
290 NET2ADD(IAC, WILL); in send_will()
305 NET2ADD(IAC, WONT); in send_wont()
785 snprintf((char *)temp, sizeof(temp), "%c%c%c%c%s%c%c", IAC, SB, in suboption()
786 TELOPT_TTYPE, TELQUAL_IS, name, IAC, SE); in suboption()
807 snprintf((char *)temp, sizeof(temp), "%c%c%c%c%ld,%ld%c%c", IAC, SB, in suboption()
808 TELOPT_TSPEED, TELQUAL_IS, osp, isp, IAC, SE); in suboption()
909 snprintf((char *)temp, sizeof(temp), "%c%c%c%c%s%c%c", IAC, SB, in suboption()
910 TELOPT_XDISPLOC, TELQUAL_IS, dp, IAC, SE); in suboption()
1018 static unsigned char str_lm[] = { IAC, SB, TELOPT_LINEMODE, 0, 0, IAC, SE };
1093 IAC, SB, TELOPT_LINEMODE, LM_MODE, 0, IAC, SE
1214 IAC, SB, TELOPT_LINEMODE, LM_SLC, 0, SLC_VARIABLE, 0, IAC, SE
1217 IAC, SB, TELOPT_LINEMODE, LM_SLC, 0, SLC_DEFAULT, 0, IAC, SE
1355 *slc_replyp++ = IAC; in slc_start_reply()
1366 if ((*slc_replyp++ = func) == IAC) in slc_add_reply()
1367 *slc_replyp++ = IAC; in slc_add_reply()
1368 if ((*slc_replyp++ = flags) == IAC) in slc_add_reply()
1369 *slc_replyp++ = IAC; in slc_add_reply()
1370 if ((*slc_replyp++ = (unsigned char)value) == IAC) in slc_add_reply()
1371 *slc_replyp++ = IAC; in slc_add_reply()
1382 *slc_replyp++ = IAC; in slc_end_reply()
1481 *opt_replyp++ = IAC; in env_opt_start()
1543 case IAC: in env_opt_add()
1544 *opt_replyp++ = IAC; in env_opt_add()
1582 *opt_replyp++ = IAC; in env_opt_end()
1644 if (c == IAC) { in telrcv()
1719 printoption("RCVD", IAC, DM); in telrcv()
1732 case IAC: in telrcv()
1733 TTYADD(IAC); in telrcv()
1739 printoption("RCVD", IAC, c); in telrcv()
1779 if (c == IAC) { in telrcv()
1788 if (c != IAC) { in telrcv()
1801 SB_ACCUM(IAC); in telrcv()
1806 printoption("In SUBOPTION processing, RCVD", IAC, c); in telrcv()
1814 SB_ACCUM(IAC); in telrcv()
1965 case IAC: in telsnd()
1966 NET2ADD(IAC, IAC); in telsnd()
1972 } else if (c == IAC) { in telsnd()
1973 NET2ADD(IAC, IAC); in telsnd()
2115 if ((*current&0xff) != IAC) {
2129 if ((*look++&0xff) == IAC) {
2165 #define wewant(p) ((nfrontp > p) && ((*p&0xff) == IAC) && \ in netclear()
2205 NET2ADD(IAC, DO); in doflush()
2217 NET2ADD(IAC, AO); in xmitAO()
2218 printoption("SENT", IAC, AO); in xmitAO()
2228 NET2ADD(IAC, EL); in xmitEL()
2229 printoption("SENT", IAC, EL); in xmitEL()
2235 NET2ADD(IAC, EC); in xmitEC()
2236 printoption("SENT", IAC, EC); in xmitEC()
2244 NETADD(IAC); in dosynch()
2247 printoption("SENT", IAC, DM); in dosynch()
2265 *cp++ = IAC; in get_status()
2269 *cp++ = IAC; in get_status()
2282 NET2ADD(IAC, IP); in intp()
2283 printoption("SENT", IAC, IP); in intp()
2296 NET2ADD(IAC, BREAK); in sendbrk()
2297 printoption("SENT", IAC, BREAK); in sendbrk()
2310 NET2ADD(IAC, ABORT); in sendabort()
2311 printoption("SENT", IAC, ABORT); in sendabort()
2324 NET2ADD(IAC, SUSP); in sendsusp()
2325 printoption("SENT", IAC, SUSP); in sendsusp()
2338 NET2ADD(IAC, xEOF); in sendeof()
2339 printoption("SENT", IAC, xEOF); in sendeof()
2345 NET2ADD(IAC, AYT); in sendayt()
2346 printoption("SENT", IAC, AYT); in sendayt()
2363 #define PUTSHORT(cp, x) { if ((*cp++ = ((x)>>8)&0xff) == IAC) *cp++ = IAC; \ in sendnaws()
2364 if ((*cp++ = ((x))&0xff) == IAC) *cp++ = IAC; } in sendnaws()
2372 *cp++ = IAC; in sendnaws()
2377 *cp++ = IAC; in sendnaws()