Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
MPLS tunnel dump: use sw_if_index not tunnel_index
[vpp.git]
/
src
/
vnet
/
mpls
/
mpls_tunnel.h
diff --git
a/src/vnet/mpls/mpls_tunnel.h
b/src/vnet/mpls/mpls_tunnel.h
index
285817c
..
5685a0d
100644
(file)
--- a/
src/vnet/mpls/mpls_tunnel.h
+++ b/
src/vnet/mpls/mpls_tunnel.h
@@
-116,6
+116,11
@@
extern void vnet_mpls_tunnel_path_add (u32 sw_if_index,
extern int vnet_mpls_tunnel_path_remove (u32 sw_if_index,
fib_route_path_t *rpath);
+/**
+ * @vrief return the tunnel index from the sw_if_index
+ */
+extern int vnet_mpls_tunnel_get_index (u32 sw_if_index);
+
/**
* @brief Delete an MPLS tunnel
*/