Home
last modified time | relevance | path

Searched refs:IAC (Results 1 – 6 of 6) 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/tcpdump/
Dprint-telnet.c67 #define IAC 255 /* interpret as command: */ macro
101 #define TELCMD_LAST IAC
404 if (c != IAC) in telnet_parse()
407 if (c == IAC) { /* <IAC><IAC>! */ in telnet_parse()
414 if (i < 0 || i > IAC - TELCMD_FIRST) in telnet_parse()
437 if (p[0] == IAC && p[1] == SE) in telnet_parse()
441 if (*p != IAC) in telnet_parse()
512 while (length > 0 && *sp == IAC) { in telnet_print()
/external/chromium-trace/catapult/telemetry/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/netcat/
Dnetcat.c832 if (*p != IAC) in atelnet()
835 obuf[0] = IAC; in atelnet()
/external/syslinux/gpxe/src/drivers/net/e1000/
De1000_hw.c6546 temp = E1000_READ_REG(hw, IAC); in e1000_clear_hw_cntrs()