Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
GBP: l3-out subnets
[vpp.git]
/
src
/
plugins
/
gbp
/
gbp_bridge_domain.c
diff --git
a/src/plugins/gbp/gbp_bridge_domain.c
b/src/plugins/gbp/gbp_bridge_domain.c
index
298819f
..
21ffe9c
100644
(file)
--- a/
src/plugins/gbp/gbp_bridge_domain.c
+++ b/
src/plugins/gbp/gbp_bridge_domain.c
@@
-56,6
+56,16
@@
gbp_bridge_domain_lock (index_t i)
gb->gb_locks++;
}
+u32
+gbp_bridge_domain_get_bd_id (index_t gbdi)
+{
+ gbp_bridge_domain_t *gb;
+
+ gb = gbp_bridge_domain_get (gbdi);
+
+ return (gb->gb_bd_id);
+}
+
static index_t
gbp_bridge_domain_find (u32 bd_id)
{