summaryrefslogtreecommitdiff
path: root/zebra/zebra_fpm_protobuf.c
diff options
context:
space:
mode:
authorAvneesh Sachdev <avneesh@sproute.com>2016-03-11 12:21:26 -0800
committerDonald Sharp <sharpd@cumulusnetworks.com>2016-09-23 12:12:17 -0400
commitb80f3b245caa3ff1cf40b5a0d7be47540ffd6d4c (patch)
tree6bc7514224f12293384f7b9f6bf984bab6000009 /zebra/zebra_fpm_protobuf.c
parent3b8282a8e8bdf97ab78cb11321f07063488640fa (diff)
zebra: add developer test functions for FPM code
Add test functions for the zebra code that interfaces with the Forwarding Plane Manager. These functions can be invoked in a development build via the recently-added 'invoke' command. For example: # invoke zebra function zfpm_dt_benchmark_protobuf_encode 100000 Changes: * zebra/zebra_fpm_dt.c Add the following functions. Each function encodes or decodes a route in a particular FPM format a specified number of times. - zfpm_dt_benchmark_netlink_encode() - zfpm_dt_benchmark_protobuf_encode() - zfpm_dt_benchmark_protobuf_decode() * zebra/Makefile.am Compile zebra_fpm_dt when building a development build. Signed-off-by: Avneesh Sachdev <avneesh@sproute.com>
Diffstat (limited to 'zebra/zebra_fpm_protobuf.c')
0 files changed, 0 insertions, 0 deletions