summaryrefslogtreecommitdiff
path: root/lib/zclient.h
diff options
context:
space:
mode:
authorMark Stapp <mjs.ietf@gmail.com>2025-03-03 11:09:47 -0500
committerGitHub <noreply@github.com>2025-03-03 11:09:47 -0500
commitb66145b8ca1ee8c222ceb79afa89bced21273537 (patch)
treea435e58b5ec050d6074b86ddc5c9e05eb81ece0d /lib/zclient.h
parent21a8f5277b51ec90fff2cfcdee2a60c28e9037f6 (diff)
parent8c9b007a0c7efb2e9afc2eac936ba9dd971c6707 (diff)
Merge pull request #18030 from fdumontet6WIND/mem_alloc_stream
zebra: reduce memory usage by streams when redistributing routes
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 afd84acce2..43521d6e2e 100644
--- a/lib/zclient.h
+++ b/lib/zclient.h
@@ -1158,6 +1158,7 @@ zclient_send_rnh(struct zclient *zclient, int command, const struct prefix *p,
vrf_id_t vrf_id);
int zapi_nexthop_encode(struct stream *s, const struct zapi_nexthop *api_nh,
uint32_t api_flags, uint32_t api_message);
+extern int zapi_redistribute_stream_size(struct zapi_route *api);
extern int zapi_route_encode(uint8_t, struct stream *, struct zapi_route *);
extern int zapi_route_decode(struct stream *s, struct zapi_route *api);
extern int zapi_nexthop_decode(struct stream *s, struct zapi_nexthop *api_nh,