summaryrefslogtreecommitdiff
path: root/lib/zclient.h
diff options
context:
space:
mode:
authorMark Stapp <mjs@voltanet.io>2020-08-20 14:13:34 -0400
committerDonald Sharp <sharpd@nvidia.com>2020-11-15 14:50:17 -0500
commit55e74ca925f0457bb42be4e26d8ff5d0e314edb6 (patch)
treef8299ff1ab7b18b11a21cc8fa71d1b760ab4de17 /lib/zclient.h
parentbacc299a498b80e2463960fb5aa5bc36cdefa10d (diff)
zebra: use smaller stream buffer for zapi route notifications
The owner-notification zapi message is small; use a small buffer for it. Signed-off-by: Mark Stapp <mjs@voltanet.io>
Diffstat (limited to 'lib/zclient.h')
-rw-r--r--lib/zclient.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/zclient.h b/lib/zclient.h
index 231fdad09b..d9237048bd 100644
--- a/lib/zclient.h
+++ b/lib/zclient.h
@@ -54,6 +54,7 @@ typedef uint16_t zebra_size_t;
/* For input/output buffer to zebra. */
#define ZEBRA_MAX_PACKET_SIZ 16384U
+#define ZEBRA_SMALL_PACKET_SIZE 200U
/* Zebra header size. */
#define ZEBRA_HEADER_SIZE 10