Trees | Indices | Help |
|
---|
|
Classes and functions for import/export daemon.
|
|||
CommandBuilder | |||
ChildIOProcessor |
|
|||
|
|||
float or None |
|
|
|||
LISTENING_RE = re.compile(r"^listening on\s+" r"AF=(?P<family> Used to recognize point at which socat(1) starts to listen on its socket. |
|||
TRANSFER_LOOP_RE = re.compile(r"^starting data transfer loop w Used to recognize point at which socat(1) is sending data over the wire |
|||
SOCAT_LOG_DEBUG = "D"
|
|||
SOCAT_LOG_INFO = "I"
|
|||
SOCAT_LOG_NOTICE = "N"
|
|||
SOCAT_LOG_WARNING = "W"
|
|||
SOCAT_LOG_ERROR = "E"
|
|||
SOCAT_LOG_FATAL = "F"
|
|||
SOCAT_LOG_IGNORE = compat.UniqueFrozenset([SOCAT_LOG_DEBUG, SO
|
|||
DD_INFO_RE = re.compile(r"^(?P<bytes>\d+)\s*byte(?:|s)\s.*\sco Used to parse GNU dd(1) statistics |
|||
DD_STDERR_IGNORE = re.compile(r"^\d+\+\d+\s*records\s+(?:in|ou Used to ignore "N+N records in/out" on dd(1)'s stderr |
|||
DD_INFO_SIGNAL = getattr(signal, "SIGINFO", signal.SIGUSR1) Signal upon which dd(1) will print statistics (on some platforms, SIGINFO is unavailable and SIGUSR1 is used instead) |
|||
BUFSIZE = 1024* 1024 Buffer size: at most this many bytes are transferred at once |
|||
SOCAT_TCP_OPTS = ["keepalive", "keepidle=60", "keepintvl=10",
|
|||
SOCAT_OPENSSL_OPTS = ["verify=1", "method=TLSv1", "cipher=%s"
|
|||
SOCAT_OPTION_MAXLEN = 400
|
|||
PROG_ALL = compat.UniqueFrozenset([PROG_OTHER, PROG_SOCAT, PRO
|
Imports: os, re, socket, logging, signal, errno, time, StringIO, constants, errors, utils, netutils, compat
|
Calculates the throughput in MiB/second.
|
|
LISTENING_REUsed to recognize point at which socat(1) starts to listen on its socket. The local address is required for the remote peer to connect (in particular the port number).
|
TRANSFER_LOOP_REUsed to recognize point at which socat(1) is sending data over the wire
|
SOCAT_LOG_IGNORE
|
DD_INFO_REUsed to parse GNU dd(1) statistics
|
DD_STDERR_IGNOREUsed to ignore "N+N records in/out" on dd(1)'s stderr
|
SOCAT_TCP_OPTS
|
SOCAT_OPENSSL_OPTS
|
PROG_ALL
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu Jan 7 16:23:25 2016 | http://epydoc.sourceforge.net |