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: add allowed ethertypes to contracts
[vpp.git]
/
src
/
plugins
/
gbp
/
gbp_route_domain.c
diff --git
a/src/plugins/gbp/gbp_route_domain.c
b/src/plugins/gbp/gbp_route_domain.c
index
df3959e
..
67b6915
100644
(file)
--- a/
src/plugins/gbp/gbp_route_domain.c
+++ b/
src/plugins/gbp/gbp_route_domain.c
@@
-231,6
+231,16
@@
gbp_route_domain_unlock (index_t index)
}
}
}
}
+u32
+gbp_route_domain_get_rd_id (index_t grdi)
+{
+ gbp_route_domain_t *grd;
+
+ grd = gbp_route_domain_get (grdi);
+
+ return (grd->grd_id);
+}
+
int
gbp_route_domain_delete (u32 rd_id)
{
int
gbp_route_domain_delete (u32 rd_id)
{