HomeSort by relevance Sort by last modified time
    Searched refs:IAC (Results 1 - 18 of 18) sorted by null

  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/sockets/
telnet.py 23 IAC = chr(255) # Interpret as command
68 iac = 0 # Interpret next char as command
83 elif iac:
84 iac = 0
85 if c == IAC:
90 opt = IAC + WONT
94 opt = IAC + DONT
97 elif c == IAC:
98 iac = 1
99 print '(IAC)',
    [all...]
  /external/python/cpython2/Demo/sockets/
telnet.py 23 IAC = chr(255) # Interpret as command
68 iac = 0 # Interpret next char as command
83 elif iac:
84 iac = 0
85 if c == IAC:
90 opt = IAC + WONT
94 opt = IAC + DONT
97 elif c == IAC:
98 iac = 1
99 print '(IAC)',
    [all...]
  /external/toybox/toys/pending/
telnet.c 31 char iac[256];
70 // flushes all data in IAC buff to server.
73 int wlen = write(TT.sfd, TT.iac, TT.piac);
75 if(wlen <= 0) error_msg("IAC : send failed.");
79 // puts DATA in iac buff of length LEN and updates iac buff pointer.
86 for(;len > 0; TT.iac[TT.piac++] = (uint8_t)va_arg(va, int), len--);
90 // puts string STR in iac buff and updates iac buff pointer.
96 strcpy(&TT.iac[TT.piac], str)
    [all...]
telnetd.c 40 # define IAC 255 /* interpret as command: */
187 char intial_iacs[] = {IAC, DO, TELOPT_ECHO, IAC, DO, TELOPT_NAWS,
188 IAC, WILL, TELOPT_ECHO, IAC, WILL, TELOPT_SGA };
218 if (*curr != IAC){
236 if (*(curr+1) == IAC) { //IAC as data --> IAC IAC
    [all...]
  /external/python/cpython3/Lib/test/
test_telnetlib.py 248 # NB -- we need to test the IAC block which is mentioned in the
292 '''The only thing that write does is replace each tl.IAC for
293 tl.IAC+tl.IAC'''
296 data_sample = [b'data sample without IAC',
297 b'data sample with' + tl.IAC + b' one IAC',
298 b'a few' + tl.IAC + tl.IAC + b' iacs' + tl.IAC,
    [all...]
  /external/python/cpython2/Demo/threads/
telnet.py 24 IAC = chr(255) # Interpret as command
68 iac = 0 # Interpret next char as command
83 elif iac:
84 iac = 0
85 if c == IAC:
90 opt = IAC + WONT
94 opt = IAC + DONT
97 elif c == IAC:
98 iac = 1
99 print '(IAC)',
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
test_telnetlib.py 239 # NB -- we need to test the IAC block which is mentioned in the docstring
316 """ helper for testing IAC + cmd """
340 self._test_command(['x' * 100, tl.IAC + cmd, 'y'*100, EOF_sigil])
341 self._test_command(['x' * 10, tl.IAC + cmd, 'y'*10, EOF_sigil])
342 self._test_command([tl.IAC + cmd, EOF_sigil])
344 self._test_command([tl.IAC + cmd for (cmd) in self.cmds] + [EOF_sigil])
349 send = [tl.IAC + tl.SB + tl.IAC + tl.SE,
350 tl.IAC + tl.SB + tl.IAC + tl.IAC + tl.IAC + tl.SE,
    [all...]
  /external/python/cpython2/Lib/test/
test_telnetlib.py 261 # NB -- we need to test the IAC block which is mentioned in the docstring
338 """ helper for testing IAC + cmd """
362 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
    [all...]
  /external/tcpdump/
print-telnet.c 70 #define IAC 255 /* interpret as command: */
97 "EL", "GA", "SB", "WILL", "WONT", "DO", "DONT", "IAC", 0,
104 #define TELCMD_LAST IAC
388 /* sp points to IAC byte */
407 if (c != IAC)
410 if (c == IAC) { /* <IAC><IAC>! */
412 ND_PRINT((ndo, "IAC IAC"));
    [all...]
  /external/chromium-trace/catapult/third_party/pyserial/serial/
rfc2217.py 85 IAC = to_bytes([255]) # Interpret As Command
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)
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
telnetlib.py 50 IAC = chr(255) # "Interpret As Command"
204 self.iacseq = '' # Buffer for IAC sequence.
271 """Write a string to the socket, doubling any IAC characters.
277 if IAC in buffer:
278 buffer = buffer.replace(IAC, IAC+IAC)
351 Don't block unless in the midst of an IAC sequence.
365 Don't block unless in the midst of an IAC sequence.
379 unless in the midst of an IAC sequence.
    [all...]
  /external/python/cpython2/Lib/
telnetlib.py 51 IAC = chr(255) # "Interpret As Command"
205 self.iacseq = '' # Buffer for IAC sequence.
274 """Write a string to the socket, doubling any IAC characters.
280 if IAC in buffer:
281 buffer = buffer.replace(IAC, IAC+IAC)
411 Don't block unless in the midst of an IAC sequence.
425 Don't block unless in the midst of an IAC sequence.
439 unless in the midst of an IAC sequence
    [all...]
  /external/python/cpython3/Lib/
telnetlib.py 50 IAC = bytes([255]) # "Interpret As Command"
213 self.iacseq = b'' # Buffer for IAC sequence.
281 """Write a string to the socket, doubling any IAC characters.
287 if IAC in buffer:
288 buffer = buffer.replace(IAC, IAC+IAC)
359 Don't block unless in the midst of an IAC sequence.
373 Don't block unless in the midst of an IAC sequence.
387 unless in the midst of an IAC sequence
    [all...]
  /bionic/libc/include/arpa/
telnet.h 39 #define IAC 255 /* interpret as command: */
66 "EL", "GA", "SB", "WILL", "WONT", "DO", "DONT", "IAC",
74 #define TELCMD_LAST IAC
  /device/linaro/bootloader/edk2/StdLib/Include/arpa/
telnet.h 42 #define IAC 255 /* interpret as command: */
69 "EL", "GA", "SB", "WILL", "WONT", "DO", "DONT", "IAC",
77 #define TELCMD_LAST IAC
  /external/curl/tests/
negtelnetserver.py 135 if byte_int == NegTokens.IAC:
137 log.debug("Starting negotiation (IAC)")
194 message = [NegTokens.IAC]
231 IAC = 255
  /external/openssh/regress/
netcat.c 69 #define IAC 255
1062 if (*p != IAC)
1065 obuf[0] = IAC;
    [all...]
  /external/v8/src/s390/
constants-s390.h     [all...]

Completed in 1872 milliseconds