| /netbsd/src/usr.bin/telnet/ |
| D | telnet.c | 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() [all …]
|
| D | utilities.c | 178 if (cmd == IAC) { in printoption() 307 if (i != IAC || j != SE) { in printsub() 619 if ((pointer[i+SLC_VALUE] == IAC) && in printsub() 620 (pointer[i+SLC_VALUE+1] == IAC)) in printsub()
|
| D | authenc.c | 60 if (str[0] == IAC && str[1] == SE) { in telnet_net_write()
|
| D | commands.c | 423 NET2ADD(IAC, (unsigned char)s->what); in sendcmd() 424 printoption("SENT", IAC, s->what); in sendcmd()
|
| /netbsd/src/libexec/telnetd/ |
| D | termstat.c | 282 (void) output_data("%c%c%c%c%c%c%c", IAC, SB, in localstat() 284 IAC, SE); in localstat() 310 (void) output_data("%c%c%c%c%c%c%c", IAC, SB, in localstat() 312 IAC, SE); in localstat() 357 IAC, SB, TELOPT_LFLOW, in flowstat() 359 IAC, SE); in flowstat() 364 IAC, SB, TELOPT_LFLOW, in flowstat() 367 IAC, SE); in flowstat() 438 (void) output_data("%c%c%c%c%c%c%c", IAC, in clientstat() 440 useeditmode, IAC, SE); in clientstat() [all …]
|
| D | telnetd.c | 483 IAC, SB, TELOPT_TTYPE, TELQUAL_SEND, IAC, SE 527 { IAC, SB, TELOPT_TSPEED, TELQUAL_SEND, IAC, SE }; in getterminaltype() 543 { IAC, SB, TELOPT_XDISPLOC, TELQUAL_SEND, IAC, SE }; in getterminaltype() 550 { IAC, SB, TELOPT_NEW_ENVIRON, TELQUAL_SEND, IAC, SE }; in getterminaltype() 557 { IAC, SB, TELOPT_OLD_ENVIRON, TELQUAL_SEND, IAC, SE }; in getterminaltype() 1044 output_data("%c%c", IAC, DM); in telnet() 1058 IAC, SB, TELOPT_LFLOW, in telnet() 1061 IAC, SE); in telnet() 1076 if (c == IAC) in telnet()
|
| D | state.c | 134 if (c == IAC) { in telrcv() 191 output_data("%c%c", IAC, DM); in telrcv() 275 case IAC: in telrcv() 283 if (c == IAC) { in telrcv() 292 if (c != IAC) { in telrcv() 303 SB_ACCUM(IAC); in telrcv() 316 SB_ACCUM(IAC); in telrcv() 428 (void) output_data("%c%c%c", IAC, DO, option); in send_do() 651 (void) output_data("%c%c%c", IAC, DONT, option); in send_dont() 799 (void) output_data("%c%c%c", IAC, WILL, option); in send_will() [all …]
|
| D | utility.c | 151 if ((*current&0xff) != IAC) { in nextitem() 168 if ((*look++&0xff) == IAC) { in nextitem() 203 #define wewant(p) ((nfrontp > p) && ((*p&0xff) == IAC) && \ in netclear() 546 if (i != IAC || j != SE) { in printsub() 715 if ((pointer[i+SLC_VALUE] == IAC) && in printsub() 716 (pointer[i+SLC_VALUE+1] == IAC)) in printsub()
|
| D | slc.c | 163 IAC, SB, TELOPT_LINEMODE, LM_SLC); in start_slc() 203 IAC, SE); in end_slc()
|
| /netbsd/src/lib/libtelnet/ |
| D | encrypt.c | 132 static unsigned char str_send[64] = { IAC, SB, TELOPT_ENCRYPT, 135 static unsigned char str_start[72] = { IAC, SB, TELOPT_ENCRYPT }; 136 static unsigned char str_end[] = { IAC, SB, TELOPT_ENCRYPT, 0, IAC, SE }; 201 if ((str_send[str_suplen++] = ep->type) == IAC) in encrypt_init() 202 str_send[str_suplen++] = IAC; in encrypt_init() 207 str_send[str_suplen++] = IAC; in encrypt_init() 700 static unsigned char str_keyid[(MAXKEYLEN*2)+5] = { IAC, SB, TELOPT_ENCRYPT }; 771 if ((*strp++ = *keyid++) == IAC) in encrypt_send_keyid() 772 *strp++ = IAC; in encrypt_send_keyid() 774 *strp++ = IAC; in encrypt_send_keyid() [all …]
|
| D | auth.c | 287 static unsigned char str_request[64] = { IAC, SB, in auth_request() 306 *e++ = IAC; in auth_request() 328 static unsigned char str_none[] = { IAC, SB, TELOPT_AUTHENTICATION, in auth_send() 330 IAC, SE }; in auth_send() 482 = { IAC, SB, TELOPT_AUTHENTICATION, TELQUAL_NAME, }; in auth_sendname() 487 if ((*e++ = *cp++) == IAC) in auth_sendname() 488 *e++ = IAC; in auth_sendname() 492 *e++ = IAC; in auth_sendname()
|
| D | enc_des.c | 146 fbp->fb_feed[0] = IAC; in fb64_init() 217 if ((*p++ = fbp->temp_feed[x]) == IAC) in fb64_start() 218 *p++ = IAC; in fb64_start() 220 *p++ = IAC; in fb64_start() 278 *p++ = IAC; in fb64_is() 303 *p++ = IAC; in fb64_is()
|
| D | sra.c | 73 static unsigned char str_data[1024] = { IAC, SB, TELOPT_AUTHENTICATION, 0, 108 if ((*p++ = *cd++) == IAC) in Data() 109 *p++ = IAC; in Data() 111 *p++ = IAC; in Data()
|
| D | kerberos5.c | 80 static unsigned char str_data[1024] = {IAC, SB, TELOPT_AUTHENTICATION, 0, 119 if ((*p++ = *cd++) == IAC) in Data() 120 *p++ = IAC; in Data() 122 *p++ = IAC; in Data()
|
| /netbsd/src/external/bsd/tcpdump/dist/ |
| D | print-telnet.c | 63 #define IAC 255 /* interpret as command: */ macro 93 #define TELCMD_LAST IAC 394 if (c != IAC) in telnet_parse() 397 if (c == IAC) { /* <IAC><IAC>! */ in telnet_parse() 404 if (i < 0 || i > IAC - TELCMD_FIRST) in telnet_parse() 427 if (GET_U_1(p) == IAC && GET_U_1(p + 1) == SE) in telnet_parse() 431 if (GET_U_1(p) != IAC) in telnet_parse() 501 while (length > 0 && GET_U_1(sp) == IAC) { in telnet_print()
|
| /netbsd/src/include/arpa/ |
| D | telnet.h | 40 #define IAC 255 /* interpret as command: */ macro 74 #define TELCMD_LAST IAC
|
| /netbsd/src/libexec/ftpd/ |
| D | ftpcmd.y | 1397 if (c == IAC) { 1408 cprintf(stdout, "%c%c%c", IAC, DONT, 0377&c); 1416 cprintf(stdout, "%c%c%c", IAC, WONT, 0377&c); 1419 case IAC:
|
| /netbsd/src/usr.bin/ftp/ |
| D | ftp.c | 414 if (c == IAC) { /* handle telnet commands */ in getreply() 419 fprintf(cout, "%c%c%c", IAC, DONT, c); in getreply() 425 fprintf(cout, "%c%c%c", IAC, WONT, c); in getreply() 2124 buf[0] = IAC; in abort_remote() 2126 buf[2] = IAC; in abort_remote()
|
| /netbsd/src/share/misc/ |
| D | acronyms | 248 IAC in any case
|
| /netbsd/src/external/bsd/file/dist/magic/magdir/ |
| D | console | 245 >0x104 string \ IAC Sega Pico ROM image
|