diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-08-27 20:36:46 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-10-24 12:53:09 +0200 |
commit | 7f0ea8a4a23f4500421e89268b442cf145d0d75f (patch) | |
tree | c0ed158240450cff618b54cfe61ab9775ae1ba98 /zebra/zebra_ns.h | |
parent | zebra: Start breakup of zns into zrouter and zns (diff) | |
download | frr-7f0ea8a4a23f4500421e89268b442cf145d0d75f.tar.xz frr-7f0ea8a4a23f4500421e89268b442cf145d0d75f.zip |
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>
Diffstat (limited to 'zebra/zebra_ns.h')
-rw-r--r-- | zebra/zebra_ns.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/zebra/zebra_ns.h b/zebra/zebra_ns.h index 8944f0b6f..2af430420 100644 --- a/zebra/zebra_ns.h +++ b/zebra/zebra_ns.h @@ -57,8 +57,6 @@ struct zebra_ns { struct rtadv rtadv; #endif /* HAVE_RTADV */ - struct hash *rules_hash; - struct hash *ipset_hash; struct hash *ipset_entry_hash; |