Home
last modified time | relevance | path

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

12

/freebsd/contrib/telnet/telnet/
H A Dtelnet.c231 snprintf(temp2, sizeof(temp2), "%c%c%c%c....%c%c", IAC, SB, TELOPT_COMPORT, in DoBaudRate()
232 COMPORT_SET_BAUDRATE, IAC, SE); in DoBaudRate()
252 NET2ADD(IAC, DO); in send_do()
269 NET2ADD(IAC, DONT); in send_dont()
286 NET2ADD(IAC, WILL); in send_will()
303 NET2ADD(IAC, WONT); in send_wont()
782 snprintf(temp, sizeof(temp), "%c%c%c%c%s%c%c", IAC, SB, TELOPT_TTYPE, in suboption()
783 TELQUAL_IS, name, IAC, SE); in suboption()
804 snprintf((char *)temp, sizeof(temp), "%c%c%c%c%ld,%ld%c%c", IAC, SB, TELOPT_TSPEED, in suboption()
805 TELQUAL_IS, ospeed, ispeed, IAC, SE); in suboption()
[all …]
H A Dauthenc.c56 if (str[0] == IAC && str[1] == SE) in net_write()
/freebsd/crypto/heimdal/appl/telnet/telnet/
H A Dtelnet.c184 NET2ADD(IAC, DO); in send_do()
199 NET2ADD(IAC, DONT); in send_dont()
214 NET2ADD(IAC, WILL); in send_will()
229 NET2ADD(IAC, WONT); in send_wont()
724 "%c%c%c%c%s%c%c", IAC, SB, TELOPT_TTYPE, in suboption()
725 TELQUAL_IS, name, IAC, SE); in suboption()
747 "%c%c%c%c%u,%u%c%c", IAC, SB, TELOPT_TSPEED, in suboption()
750 (unsigned)input_speed, IAC, SE); in suboption()
855 "%c%c%c%c%s%c%c", IAC, SB, TELOPT_XDISPLOC, in suboption()
856 TELQUAL_IS, dp, IAC, SE); in suboption()
[all …]
/freebsd/contrib/telnet/libtelnet/
H A Dencrypt.c134 static unsigned char str_send[64] = { IAC, SB, TELOPT_ENCRYPT,
137 static unsigned char str_start[72] = { IAC, SB, TELOPT_ENCRYPT };
138 static unsigned char str_end[] = { IAC, SB, TELOPT_ENCRYPT, 0, IAC, SE };
202 if ((str_send[str_suplen++] = ep->type) == IAC) in encrypt_init()
203 str_send[str_suplen++] = IAC; in encrypt_init()
208 str_send[str_suplen++] = IAC; in encrypt_init()
695 static unsigned char str_keyid[(MAXKEYLEN*2)+5] = { IAC, SB, TELOPT_ENCRYPT };
767 if ((*strp++ = *keyid++) == IAC) in encrypt_send_keyid()
768 *strp++ = IAC; in encrypt_send_keyid()
770 *strp++ = IAC; in encrypt_send_keyid()
[all …]
H A Dauth.c334 static unsigned char str_request[64] = { IAC, SB, in auth_request()
353 *e++ = IAC; in auth_request()
375 static unsigned char str_none[] = { IAC, SB, TELOPT_AUTHENTICATION, in auth_send()
377 IAC, SE }; in auth_send()
521 = { IAC, SB, TELOPT_AUTHENTICATION, TELQUAL_NAME, }; in auth_sendname()
526 if ((*e++ = *cp++) == IAC) in auth_sendname()
527 *e++ = IAC; in auth_sendname()
531 *e++ = IAC; in auth_sendname()
H A Drsaencpwd.c83 static unsigned char str_data[1024] = { IAC, SB, TELOPT_AUTHENTICATION, 0,
85 static unsigned char str_name[1024] = { IAC, SB, TELOPT_AUTHENTICATION,
130 if ((*p++ = *cd++) == IAC)
131 *p++ = IAC;
133 *p++ = IAC;
240 case IAC:
H A Dkrb4encpwd.c87 static unsigned char str_data[1024] = { IAC, SB, TELOPT_AUTHENTICATION, 0,
89 static unsigned char str_name[1024] = { IAC, SB, TELOPT_AUTHENTICATION,
134 if ((*p++ = *cd++) == IAC)
135 *p++ = IAC;
137 *p++ = IAC;
H A Denc_des.c141 fbp->fb_feed[0] = IAC; in fb64_init()
212 if ((*p++ = fbp->temp_feed[x]) == IAC) in fb64_start()
213 *p++ = IAC; in fb64_start()
215 *p++ = IAC; in fb64_start()
274 *p++ = IAC; in fb64_is()
299 *p++ = IAC; in fb64_is()
H A Dkerberos.c72 static unsigned char str_data[1024] = { IAC, SB, TELOPT_AUTHENTICATION, 0,
114 if ((*p++ = *cd++) == IAC) in Data()
115 *p++ = IAC; in Data()
117 *p++ = IAC; in Data()
H A Dsra.c64 static unsigned char str_data[1024] = { IAC, SB, TELOPT_AUTHENTICATION, 0,
98 if ((*p++ = *cd++) == IAC) in Data()
99 *p++ = IAC; in Data()
101 *p++ = IAC; in Data()
H A Dkerberos5.c77 static unsigned char str_data[1024] = { IAC, SB, TELOPT_AUTHENTICATION, 0,
126 if ((*p++ = *cd++) == IAC) in Data()
127 *p++ = IAC; in Data()
129 *p++ = IAC; in Data()
/freebsd/crypto/heimdal/appl/telnet/libtelnet/
H A Dencrypt.c134 static unsigned char str_send[64] = { IAC, SB, TELOPT_ENCRYPT,
137 static unsigned char str_start[72] = { IAC, SB, TELOPT_ENCRYPT };
138 static unsigned char str_end[] = { IAC, SB, TELOPT_ENCRYPT, 0, IAC, SE };
203 if ((str_send[str_suplen++] = ep->type) == IAC) in encrypt_init()
204 str_send[str_suplen++] = IAC; in encrypt_init()
209 str_send[str_suplen++] = IAC; in encrypt_init()
730 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 …]
H A Dauth.c328 static unsigned char str_request[64] = { IAC, SB, in auth_request()
347 *e++ = IAC; in auth_request()
369 static unsigned char str_none[] = { IAC, SB, TELOPT_AUTHENTICATION, in auth_send()
371 IAC, SE }; in auth_send()
524 = { IAC, SB, TELOPT_AUTHENTICATION, TELQUAL_NAME, }; in auth_sendname()
529 if ((*e++ = *cp++) == IAC) in auth_sendname()
530 *e++ = IAC; in auth_sendname()
534 *e++ = IAC; in auth_sendname()
H A Drsaencpwd.c92 static unsigned char str_data[1024] = { IAC, SB, TELOPT_AUTHENTICATION, 0,
94 static unsigned char str_name[1024] = { IAC, SB, TELOPT_AUTHENTICATION,
139 if ((*p++ = *cd++) == IAC)
140 *p++ = IAC;
142 *p++ = IAC;
248 case IAC:
H A Dspx.c94 static unsigned char str_data[1024] = { IAC, SB, TELOPT_AUTHENTICATION, 0,
96 static unsigned char str_name[1024] = { IAC, SB, TELOPT_AUTHENTICATION,
156 if ((*p++ = *cd++) == IAC)
157 *p++ = IAC;
159 *p++ = IAC;
H A Denc_des.c150 fbp->fb_feed[0] = IAC; in fb64_init()
224 if ((*p++ = fbp->temp_feed[x]) == IAC) in fb64_start()
225 *p++ = IAC; in fb64_start()
227 *p++ = IAC; in fb64_start()
285 *p++ = IAC; in fb64_is()
310 *p++ = IAC; in fb64_is()
H A Dkerberos5.c100 static unsigned char str_data[4] = { IAC, SB, TELOPT_AUTHENTICATION, 0 };
129 if (*cp == IAC) in Data()
151 if ((*p++ = *cd++) == IAC) in Data()
152 *p++ = IAC; in Data()
154 *p++ = IAC; in Data()
/freebsd/crypto/heimdal/appl/telnet/telnetd/
H A Dtermstat.c58 IAC, SB, TELOPT_LFLOW, in flowstat()
60 IAC, SE); in flowstat()
65 IAC, SB, TELOPT_LFLOW, in flowstat()
68 IAC, SE); in flowstat()
H A Dstate.c38 unsigned char doopt[] = { IAC, DO, '%', 'c', 0 };
39 unsigned char dont[] = { IAC, DONT, '%', 'c', 0 };
40 unsigned char will[] = { IAC, WILL, '%', 'c', 0 };
41 unsigned char wont[] = { IAC, WONT, '%', 'c', 0 };
104 if (c == IAC) { in telrcv()
182 output_data ("%c%c", IAC, DM); in telrcv()
266 case IAC: in telrcv()
274 if (c == IAC) { in telrcv()
283 if (c != IAC) { in telrcv()
294 SB_ACCUM(IAC); in telrcv()
[all …]
H A Dtelnetd.c508 IAC, SB, TELOPT_TTYPE, TELQUAL_SEND, IAC, SE
569 { IAC, SB, TELOPT_TSPEED, TELQUAL_SEND, IAC, SE }; in getterminaltype()
576 { IAC, SB, TELOPT_XDISPLOC, TELQUAL_SEND, IAC, SE }; in getterminaltype()
583 { IAC, SB, TELOPT_NEW_ENVIRON, TELQUAL_SEND, IAC, SE }; in getterminaltype()
590 { IAC, SB, TELOPT_OLD_ENVIRON, TELQUAL_SEND, IAC, SE }; in getterminaltype()
1161 output_data ("%c%c", IAC, DM); in my_telnet()
1177 IAC, SB, TELOPT_LFLOW, in my_telnet()
1180 IAC, SE); in my_telnet()
1195 if (c == IAC) in my_telnet()
H A Dutility.c148 if ((*current&0xff) != IAC) { in nextitem()
162 if ((*look++&0xff) == IAC) { in nextitem()
196 #define wewant(p) ((nfrontp > p) && ((*p&0xff) == IAC) && \ in netclear()
555 if (i != IAC || j != SE) { in printsub()
757 if ((pointer[i+SLC_VALUE] == IAC) && in printsub()
758 (pointer[i+SLC_VALUE+1] == IAC)) in printsub()
/freebsd/contrib/tcpdump/
H A Dprint-telnet.c65 #define IAC 255 /* interpret as command: */ macro
95 #define TELCMD_LAST IAC
396 if (c != IAC) in telnet_parse()
399 if (c == IAC) { /* <IAC><IAC>! */ in telnet_parse()
406 if (i < 0 || i > IAC - TELCMD_FIRST) in telnet_parse()
429 if (GET_U_1(p) == IAC && GET_U_1(p + 1) == SE) in telnet_parse()
433 if (GET_U_1(p) != IAC) in telnet_parse()
503 while (length > 0 && GET_U_1(sp) == IAC) { in telnet_print()
/freebsd/crypto/heimdal/appl/telnet/arpa/
H A Dtelnet.h42 #define IAC 255 /* interpret as command: */ macro
76 #define TELCMD_LAST IAC
/freebsd/contrib/telnet/arpa/
H A Dtelnet.h39 #define IAC 255 /* interpret as command: */ macro
74 #define TELCMD_LAST IAC
/freebsd/include/arpa/
H A Dtelnet.h38 #define IAC 255 /* interpret as command: */ macro
73 #define TELCMD_LAST IAC

12