GBP: l3-out subnets
[vpp.git] / src / plugins / gbp / gbp_route_domain.h
index f7fc4a4..b83d598 100644 (file)
@@ -62,9 +62,11 @@ extern int gbp_route_domain_add_and_lock (u32 rd_id,
 extern void gbp_route_domain_unlock (index_t grdi);
 extern index_t gbp_route_domain_find_and_lock (u32 rd_id);
 extern index_t gbp_route_domain_find (u32 rd_id);
+extern index_t gbp_route_domain_index (const gbp_route_domain_t *);
 
 extern int gbp_route_domain_delete (u32 rd_id);
 extern gbp_route_domain_t *gbp_route_domain_get (index_t i);
+extern u32 gbp_route_domain_get_rd_id (index_t i);
 
 typedef int (*gbp_route_domain_cb_t) (gbp_route_domain_t * gb, void *ctx);
 extern void gbp_route_domain_walk (gbp_route_domain_cb_t bgpe, void *ctx);