aboutsummaryrefslogtreecommitdiffstats
path: root/capture_sync.h
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2006-03-24 02:23:48 +0000
committerUlf Lamping <ulf.lamping@web.de>2006-03-24 02:23:48 +0000
commitfe3c3029aaccd6b5a8fe7774d7902188a03c2c94 (patch)
tree26aaef12624b268826efd4255bc4d8c1f91b1278 /capture_sync.h
parente43c4e50c901e652ea61d3cf3d8834b384181fc3 (diff)
Various code cleanup in the capture pipe stuff
svn path=/trunk/; revision=17714
Diffstat (limited to 'capture_sync.h')
-rw-r--r--capture_sync.h10
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