IAC
#define TELCMD_LAST IAC
if (c == IAC) {
printf("%c%c%c", IAC, DONT, 0377&c);
printf("%c%c%c", IAC, WONT, 0377&c);
case IAC:
temp = E1000_READ_REG(hw, IAC);
snprintf(buf, sizeof buf, "%c%c%c", IAC, IP, IAC);
if (c == IAC) { /* handle telnet commands */
fprintf(cout, "%c%c%c", IAC, DONT, c);
fprintf(cout, "%c%c%c", IAC, WONT, c);
if (*p != IAC)
obuf[0] = IAC;
NET2ADD(IAC, s->what);
printoption("SENT", IAC, s->what);
IAC, SB, TELOPT_LINEMODE, LM_SLC, 0, SLC_DEFAULT, 0, IAC, SE
slc_add(IAC);
if (slc_add(func) == IAC)
slc_add(IAC);
if (slc_add(flags) == IAC)
slc_add(IAC);
if (slc_add((unsigned char)value) == IAC)
slc_add(IAC);
slc_add(IAC);
opt_add(IAC);
case IAC:
opt_add(IAC);
opt_add(IAC);
if (c == IAC) {
printoption("RCVD", IAC, DM);
case IAC:
TTYADD(IAC);
printoption("RCVD", IAC, c);
if (c == IAC) {
if (c != IAC) {
SB_ACCUM(IAC);
printoption("In SUBOPTION processing, RCVD", IAC, c);
SB_ACCUM(IAC);
case IAC:
NET2ADD(IAC, IAC);
} else if (c == IAC) {
NET2ADD(IAC, IAC);
if ((*current&0xff) != IAC) {
if ((*look++&0xff) == IAC) {
#define wewant(p) ((nfrontp > p) && ((*p&0xff) == IAC) && \
NET2ADD(IAC, DO);
NET2ADD(IAC, DO);
NET2ADD(IAC, AO);
printoption("SENT", IAC, AO);
NET2ADD(IAC, EL);
printoption("SENT", IAC, EL);
NET2ADD(IAC, EC);
printoption("SENT", IAC, EC);
NETADD(IAC);
printoption("SENT", IAC, DM);
*cp++ = IAC;
*cp++ = IAC;
NET2ADD(IAC, IP);
printoption("SENT", IAC, IP);
NET2ADD(IAC, BREAK);
printoption("SENT", IAC, BREAK);
NET2ADD(IAC, ABORT);
printoption("SENT", IAC, ABORT);
NET2ADD(IAC, DONT);
NET2ADD(IAC, SUSP);
printoption("SENT", IAC, SUSP);
NET2ADD(IAC, xEOF);
printoption("SENT", IAC, xEOF);
NET2ADD(IAC, AYT);
printoption("SENT", IAC, AYT);
#define PUTSHORT(cp, x) { if ((*cp++ = ((x)>>8)&0xff) == IAC) *cp++ = IAC; \
if ((*cp++ = ((x))&0xff) == IAC) *cp++ = IAC; }
*cp++ = IAC;
*cp++ = IAC;
NET2ADD(IAC, WILL);
NET2ADD(IAC, WONT);
"%c%c%c%c%s%c%c", IAC, SB, TELOPT_TTYPE,
TELQUAL_IS, name, IAC, SE);
"%c%c%c%c%ld,%ld%c%c", IAC, SB, TELOPT_TSPEED,
TELQUAL_IS, ospeed, ispeed, IAC, SE);
"%c%c%c%c%s%c%c", IAC, SB, TELOPT_XDISPLOC,
TELQUAL_IS, dp, IAC, SE);
static unsigned char str_lm[] = { IAC, SB, TELOPT_LINEMODE, 0, 0, IAC, SE };
IAC, SB, TELOPT_LINEMODE, LM_MODE, 0, IAC, SE
IAC, SB, TELOPT_LINEMODE, LM_SLC, 0, SLC_VARIABLE, 0, IAC, SE
if (cmd == IAC) {
if (i != IAC || j != SE) {
if ((pointer[i+SLC_VALUE] == IAC) &&
(pointer[i+SLC_VALUE+1] == IAC))