Home
last modified time | relevance | path

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

/external/toybox/toys/pending/
Dtelnet.c122 put_iac(6, IAC,DONT,TELOPT_ECHO,IAC,DONT, TELOPT_SGA); in handle_esc()
132 put_iac(6, IAC,DO,TELOPT_ECHO,IAC,DO,TELOPT_SGA); in handle_esc()
167 put_iac(4, IAC,SB,TELOPT_TTYPE,TELQUAL_IS); in handle_negotiations()
169 put_iac(2, IAC,SE); in handle_negotiations()
186 if (ddww == DO) put_iac(3, IAC,WONT,TELOPT_ECHO); in handle_ddww()
192 (TT.flags & UF_ECHO)? put_iac(3, IAC,DO,TELOPT_ECHO) : in handle_ddww()
193 put_iac(3, IAC,DONT,TELOPT_ECHO); in handle_ddww()
203 (TT.flags & UF_SGA)? put_iac(3, IAC,DO,TELOPT_SGA) : in handle_ddww()
204 put_iac(3, IAC,DONT,TELOPT_SGA); in handle_ddww()
208 (TT.ttype)? put_iac(3, IAC,WILL,TELOPT_TTYPE): in handle_ddww()
[all …]
Dtelnetd.c40 # define IAC 255 /* interpret as command: */ macro
187 char intial_iacs[] = {IAC, DO, TELOPT_ECHO, IAC, DO, TELOPT_NAWS, in new_session()
188 IAC, WILL, TELOPT_ECHO, IAC, WILL, TELOPT_SGA }; in new_session()
218 if (*curr != IAC){ in handle_iacs()
236 if (*(curr+1) == IAC) { //IAC as data --> IAC IAC in handle_iacs()
260 while (*curr != IAC && curr <= end) { in handle_iacs()
264 if (*curr == IAC) { in handle_iacs()
279 char arr[] = {IAC, IAC}; in dup_iacs()
284 if (*start == IAC) { in dup_iacs()
292 needle = memchr(start, IAC, len); in dup_iacs()
/external/python/cpython2/Lib/test/
Dtest_telnetlib.py362 self._test_command(['x' * 100, tl.IAC + cmd, 'y'*100, EOF_sigil])
363 self._test_command(['x' * 10, tl.IAC + cmd, 'y'*10, EOF_sigil])
364 self._test_command([tl.IAC + cmd, EOF_sigil])
366 self._test_command([tl.IAC + cmd for (cmd) in self.cmds] + [EOF_sigil])
371 send = [tl.IAC + tl.SB + tl.IAC + tl.SE,
372 tl.IAC + tl.SB + tl.IAC + tl.IAC + tl.IAC + tl.SE,
373 tl.IAC + tl.SB + tl.IAC + tl.IAC + 'aa' + tl.IAC + tl.SE,
374 tl.IAC + tl.SB + 'bb' + tl.IAC + tl.IAC + tl.IAC + tl.SE,
375 tl.IAC + tl.SB + 'cc' + tl.IAC + tl.IAC + 'dd' + tl.IAC + tl.SE,
385 want_sb_data = tl.IAC + tl.IAC + 'aabb' + tl.IAC + 'cc' + tl.IAC + 'dd'
/external/python/cpython2/Demo/sockets/
Dtelnet.py23 IAC = chr(255) # Interpret as command variable
85 if c == IAC:
90 opt = IAC + WONT
94 opt = IAC + DONT
97 elif c == IAC:
/external/python/cpython2/Demo/threads/
Dtelnet.py24 IAC = chr(255) # Interpret as command variable
85 if c == IAC:
90 opt = IAC + WONT
94 opt = IAC + DONT
97 elif c == IAC:
/external/tcpdump/
Dprint-telnet.c70 #define IAC 255 /* interpret as command: */ macro
104 #define TELCMD_LAST IAC
407 if (c != IAC) in telnet_parse()
410 if (c == IAC) { /* <IAC><IAC>! */ in telnet_parse()
417 if (i < 0 || i > IAC - TELCMD_FIRST) in telnet_parse()
441 if (p[0] == IAC && p[1] == SE) in telnet_parse()
445 if (*p != IAC) in telnet_parse()
517 while (length > 0 && *sp == IAC) { in telnet_print()
/external/chromium-trace/catapult/third_party/pyserial/serial/
Drfc2217.py85 IAC = to_bytes([255]) # Interpret As Command variable
90 IAC_DOUBLED = to_bytes([IAC, IAC])
595 self._socket.sendall(to_bytes(data).replace(IAC, IAC_DOUBLED))
705 if byte == IAC:
715 if byte == IAC:
719 suboption.append(IAC)
721 self._read_buffer.put(IAC)
818 self._internal_raw_write(to_bytes([IAC, action, option]))
822 value = value.replace(IAC, IAC_DOUBLED)
823 … self._internal_raw_write(to_bytes([IAC, SB, COM_PORT_OPTION, option] + list(value) + [IAC, SE]))
[all …]
/external/python/cpython2/Lib/
Dtelnetlib.py51 IAC = chr(255) # "Interpret As Command" variable
280 if IAC in buffer:
281 buffer = buffer.replace(IAC, IAC+IAC)
490 if c != IAC:
502 if c == IAC:
531 self.sock.sendall(IAC + WONT + opt)
538 self.sock.sendall(IAC + DONT + opt)
/external/python/cpython2/Doc/library/
Dtelnetlib.rst23 The symbolic constants for the telnet commands are: IAC, DONT, DO, WONT, WILL,
91 of an IAC sequence.
100 of an IAC sequence.
109 IAC sequence.
172 Write a string to the socket, doubling any IAC characters. This can block if the
/external/netcat/
Dnetcat.c832 if (*p != IAC) in atelnet()
835 obuf[0] = IAC; in atelnet()
/external/openssh/regress/
Dnetcat.c69 #define IAC 255 macro
1062 if (*p != IAC) in atelnet()
1065 obuf[0] = IAC; in atelnet()
/external/v8/src/s390/
Dconstants-s390.h1238 V(iac, IAC, 0xB224) /* type = RRE INSERT ADDRESS SPACE CONTROL */ \
/external/syslinux/gpxe/src/drivers/net/e1000/
De1000_hw.c6546 temp = E1000_READ_REG(hw, IAC); in e1000_clear_hw_cntrs()