diff options
author | ulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7> | 2006-03-24 02:23:48 +0000 |
---|---|---|
committer | ulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7> | 2006-03-24 02:23:48 +0000 |
commit | ca1537a227a998352e54367834814f67c244aa98 (patch) | |
tree | 26aaef12624b268826efd4255bc4d8c1f91b1278 /capture_sync.h | |
parent | 0dc09aa2ccf23c8f6b248c5e09d9972b4f415957 (diff) |
Various code cleanup in the capture pipe stuff
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17714 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'capture_sync.h')
-rw-r--r-- | capture_sync.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/capture_sync.h b/capture_sync.h index aecb8f00d1..95d973d52e 100644 --- a/capture_sync.h +++ b/capture_sync.h @@ -35,6 +35,16 @@ #define __CAPTURE_SYNC_H__ +/* + * Maximum length of sync pipe message data. Must be < 2^24, as the + * 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. + */ +#define SP_MAX_MSG_LEN 4096 + + /* Size of buffer to hold decimal representation of signed/unsigned 64-bit int */ #define SP_DECISIZE 20 |