diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-09-19 04:14:53 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-09-19 04:14:53 +0000 |
commit | a86c5f7cae7ec9a3398300555a0b644689d946a1 (patch) | |
tree | 39fe4b107c71174fd1e8a8ceb9a4d2aa14116248 /sync_pipe.h | |
parent | Releasing progress-linux version 4.2.6-1~progress7.99u1. (diff) | |
download | wireshark-a86c5f7cae7ec9a3398300555a0b644689d946a1.tar.xz wireshark-a86c5f7cae7ec9a3398300555a0b644689d946a1.zip |
Merging upstream version 4.4.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'sync_pipe.h')
-rw-r--r-- | sync_pipe.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/sync_pipe.h b/sync_pipe.h index 4b54c622..aca63387 100644 --- a/sync_pipe.h +++ b/sync_pipe.h @@ -25,9 +25,12 @@ * message length is 3 bytes. * XXX - this must be large enough to handle a Really Big Filter * Expression, as the error message for an incorrect filter expression - * is a bit larger than the filter expression. + * is a bit larger than the filter expression, and large enough to + * handle a large interface list. + * 4096 is a typical PIPE_BUF size for atomic writes, but we should have + * only one writer and one reader so that shouldn't be an issue. */ -#define SP_MAX_MSG_LEN 4096 +#define SP_MAX_MSG_LEN (512 * 1000) /* * Indications sent out on the sync pipe (from child to parent). @@ -39,11 +42,13 @@ #define SP_EXEC_FAILED 'X' /* errno value for the exec failing */ #define SP_FILE 'F' /* the name of the recently opened file */ #define SP_ERROR_MSG 'E' /* error message */ +#define SP_LOG_MSG 'L' /* log message */ #define SP_BAD_FILTER 'B' /* error message for bad capture filter */ #define SP_PACKET_COUNT 'P' /* count of packets captured since last message */ #define SP_DROPS 'D' /* count of packets dropped in capture */ #define SP_SUCCESS 'S' /* success indication, no extra data */ #define SP_TOOLBAR_CTRL 'T' /* interface toolbar control packet */ +#define SP_IFACE_LIST 'I' /* interface list */ /* * Win32 only: Indications sent out on the signal pipe (from parent to child) * (UNIX-like sends signals for this) |