X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=extras%2Fvom%2Fvom%2Fgbp_route_domain.hpp;h=dd096738297758068e06a396bde40da27be95d19;hb=3d1ef873da900ddf4ef18d5cf7709aab70ed6b7d;hp=d2dc049deff9ca9afeb6129f58ff58b4c3fefbc7;hpb=f324dec0a371431f9326f67e920630579741da3c;p=vpp.git diff --git a/extras/vom/vom/gbp_route_domain.hpp b/extras/vom/vom/gbp_route_domain.hpp index d2dc049deff..dd096738297 100644 --- a/extras/vom/vom/gbp_route_domain.hpp +++ b/extras/vom/vom/gbp_route_domain.hpp @@ -16,6 +16,7 @@ #ifndef __VOM_GBP_ROUTE_DOMAIN_H__ #define __VOM_GBP_ROUTE_DOMAIN_H__ +#include "vom/gbp_types.hpp" #include "vom/interface.hpp" #include "vom/route_domain.hpp" #include "vom/singular_db.hpp" @@ -37,12 +38,14 @@ public: /** * Construct a GBP route_domain */ - gbp_route_domain(const route_domain& rd); + gbp_route_domain(const route_domain& rd, scope_t scope); gbp_route_domain(const route_domain& rd, + scope_t scope, const interface& ip4_uu_fwd, const interface& ip6_uu_fwd); gbp_route_domain(const route_domain& rd, + scope_t scope, const std::shared_ptr ip4_uu_fwd, const std::shared_ptr ip6_uu_fwd); @@ -171,6 +174,7 @@ private: HW::item m_id; std::shared_ptr m_rd; + scope_t m_scope; std::shared_ptr m_ip4_uu_fwd; std::shared_ptr m_ip6_uu_fwd;