summaryrefslogtreecommitdiff
path: root/lib/lib_errors.h
diff options
context:
space:
mode:
authorStephen Worley <sworley@cumulusnetworks.com>2020-05-13 14:32:13 -0400
committerStephen Worley <sworley@cumulusnetworks.com>2020-09-28 12:40:59 -0400
commit54c89c9377685e32010ab1f788b2a19c0bc3531b (patch)
tree0c3e604646bd67b9230d151058fdcb9a9358197f /lib/lib_errors.h
parent16b20ad0628ee98537c79ae7e018303ad1de8aca (diff)
zebra: NHG ID bounds macros
Determine the NHG ID spacing and lower bound with ZEBRA_ROUTE_MAX in macros. Directly set the upperbound to be the lower 28bits of the uint32_t ID space (the top 4 are reserved for l2-NHGs). Round that number down a bit to make it more even. Convert all former lower_bound calls to just use the macro. Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
Diffstat (limited to 'lib/lib_errors.h')
0 files changed, 0 insertions, 0 deletions