Home
last modified time | relevance | path

Searched refs:IAC (Results 1 – 12 of 12) sorted by relevance

/mirbsd/src/usr.bin/telnet/
Dtelnet.c192 NET2ADD(IAC, DO);
208 NET2ADD(IAC, DONT);
224 NET2ADD(IAC, WILL);
240 NET2ADD(IAC, WONT);
745 "%c%c%c%c%s%c%c", IAC, SB, TELOPT_TTYPE, in suboption()
746 TELQUAL_IS, name, IAC, SE); in suboption()
768 "%c%c%c%c%ld,%ld%c%c", IAC, SB, TELOPT_TSPEED, in suboption()
769 TELQUAL_IS, ospeed, ispeed, IAC, SE); in suboption()
874 "%c%c%c%c%s%c%c", IAC, SB, TELOPT_XDISPLOC, in suboption()
875 TELQUAL_IS, dp, IAC, SE); in suboption()
[all …]
Dencrypt.c140 static unsigned char str_send[64] = { IAC, SB, TELOPT_ENCRYPT,
143 static unsigned char str_start[72] = { IAC, SB, TELOPT_ENCRYPT };
144 static unsigned char str_end[] = { IAC, SB, TELOPT_ENCRYPT, 0, IAC, SE };
209 if ((str_send[str_suplen++] = ep->type) == IAC) in encrypt_init()
210 str_send[str_suplen++] = IAC; in encrypt_init()
215 str_send[str_suplen++] = IAC; in encrypt_init()
733 static unsigned char str_keyid[(MAXKEYLEN*2)+5] = { IAC, SB, TELOPT_ENCRYPT };
799 if ((*strp++ = *keyid++) == IAC) in encrypt_send_keyid()
800 *strp++ = IAC; in encrypt_send_keyid()
802 *strp++ = IAC; in encrypt_send_keyid()
[all …]
Dauth.c366 static unsigned char str_request[64] = { IAC, SB, in auth_request()
385 *e++ = IAC; in auth_request()
407 static unsigned char str_none[] = { IAC, SB, TELOPT_AUTHENTICATION, in auth_send()
409 IAC, SE }; in auth_send()
562 = { IAC, SB, TELOPT_AUTHENTICATION, TELQUAL_NAME, }; in auth_sendname()
567 if ((*e++ = *cp++) == IAC) in auth_sendname()
568 *e++ = IAC; in auth_sendname()
572 *e++ = IAC; in auth_sendname()
Dauthenc.c48 if (str[0] == IAC && str[1] == SE)
Dutilities.c167 if (cmd == IAC) {
294 if (i != IAC || j != SE) {
604 if ((pointer[i+SLC_VALUE] == IAC) &&
605 (pointer[i+SLC_VALUE+1] == IAC))
Dcommands.c346 NET2ADD(IAC, s->what);
347 printoption("SENT", IAC, s->what);
DREADME588 IAC EOF was not translated properly in telnetd for SYSV_TERMIO
/mirbsd/src/include/arpa/
Dtelnet.h41 #define IAC 255 /* interpret as command: */ macro
76 #define TELCMD_LAST IAC
/mirbsd/src/libexec/ftpd/
Dftpcmd.y1116 if (c == IAC) {
1123 printf("%c%c%c", IAC, DONT, 0377&c);
1129 printf("%c%c%c", IAC, WONT, 0377&c);
1132 case IAC:
/mirbsd/src/usr.bin/ftp/
Dftp.c413 if (c == IAC) { /* handle telnet commands */ in getreply()
418 fprintf(cout, "%c%c%c", IAC, DONT, c); in getreply()
424 fprintf(cout, "%c%c%c", IAC, WONT, c); in getreply()
1965 snprintf(buf, sizeof buf, "%c%c%c", IAC, IP, IAC); in abort_remote()
/mirbsd/src/usr.bin/nc/
Dnetcat.c669 if (*p != IAC) in atelnet()
672 obuf[0] = IAC; in atelnet()
/mirbsd/src/share/misc/
Dacronyms5767 IAC in any case