]> git.proxmox.com Git - mirror_frr.git/commit - zebra/zebra_pbr.c
zebra: Move rules_hash to zrouter
authorDonald Sharp <sharpd@cumulusnetworks.com>
Mon, 27 Aug 2018 18:36:46 +0000 (14:36 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 24 Oct 2018 10:53:09 +0000 (06:53 -0400)
commit7f0ea8a4a23f4500421e89268b442cf145d0d75f
treec0ed158240450cff618b54cfe61ab9775ae1ba98
parent89272910f738c05ba7986e7d91c14dc0eb1f6ba6
zebra: Move rules_hash to zrouter

Move the rules_hash to the zrouter data structure and provide
the additional bit of work needed to lookup the rule based upon
the namespace id as well.  Make the callers of functions not
care about what namespace id we are in.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
zebra/zapi_msg.c
zebra/zebra_ns.c
zebra/zebra_ns.h
zebra/zebra_pbr.c
zebra/zebra_pbr.h
zebra/zebra_router.c
zebra/zebra_router.h