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.api
diff --git
a/src/vnet/mpls/mpls.api
b/src/vnet/mpls/mpls.api
index
7fa24f4
..
ca1aa3a
100644
(file)
--- a/
src/vnet/mpls/mpls.api
+++ b/
src/vnet/mpls/mpls.api
@@
-70,17
+70,19
@@
define mpls_tunnel_add_del_reply
u32 context;
i32 retval;
u32 sw_if_index;
u32 context;
i32 retval;
u32 sw_if_index;
+ u32 tunnel_index;
};
/** \brief Dump mpls eth tunnel table
@param client_index - opaque cookie to identify the sender
};
/** \brief Dump mpls eth tunnel table
@param client_index - opaque cookie to identify the sender
- @param tunnel_index - eth tunnel identifier or -1 in case of all tunnels
+ @param sw_if_index - sw_if_index of the MPLS tunnel
+ (as returned from the create)
*/
define mpls_tunnel_dump
{
u32 client_index;
u32 context;
*/
define mpls_tunnel_dump
{
u32 client_index;
u32 context;
-
i32 tunnel
_index;
+
u32 sw_if
_index;
};
/** \brief mpls tunnel details
};
/** \brief mpls tunnel details
@@
-88,8
+90,8
@@
define mpls_tunnel_dump
manual_endian manual_print define mpls_tunnel_details
{
u32 context;
manual_endian manual_print define mpls_tunnel_details
{
u32 context;
- u
8
mt_sw_if_index;
- u
8
mt_tunnel_index;
+ u
32
mt_sw_if_index;
+ u
32
mt_tunnel_index;
u8 mt_l2_only;
u8 mt_is_multicast;
u32 mt_count;
u8 mt_l2_only;
u8 mt_is_multicast;
u32 mt_count;