diff options
author | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-03-19 14:01:52 +0100 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-04-06 19:22:43 +0200 |
commit | d36d0d57711ec79bb7ff4360b62d80b1a9809f6f (patch) | |
tree | 7e9f9c3fc7865e2bb9129a546389d857fff6d641 /pbrd/pbr_zebra.h | |
parent | doc: bit of cleanup for pbr docs (diff) | |
download | frr-d36d0d57711ec79bb7ff4360b62d80b1a9809f6f.tar.xz frr-d36d0d57711ec79bb7ff4360b62d80b1a9809f6f.zip |
lib: Add hash and use const a bit more intelligently
This commit adds code to notify the compiler that we
will not be changing the arguments to nexthop2str
and we expect thre return to be treated the same.
Additionally we add some code to allow nexthops to
be hashed to be used in a hash.
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'pbrd/pbr_zebra.h')
0 files changed, 0 insertions, 0 deletions