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: add user defined name tag to mpls tunnels
[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
5685a0d
..
11a461b
100644
(file)
--- a/
src/vnet/mpls/mpls_tunnel.h
+++ b/
src/vnet/mpls/mpls_tunnel.h
@@
-64,6
+64,11
@@
typedef struct mpls_tunnel_t_
*/
mpls_tunnel_flags_t mt_flags;
*/
mpls_tunnel_flags_t mt_flags;
+ /**
+ * @brief User defined name tag for this MPLS Tunnel.
+ */
+ u8 mt_tag[64];
+
/**
* @brief If the tunnel is an L2 tunnel, this is the link type ETHERNET
* load-balance
/**
* @brief If the tunnel is an L2 tunnel, this is the link type ETHERNET
* load-balance
@@
-101,7
+106,8
@@
typedef struct mpls_tunnel_t_
* @return the SW Interface index of the newly created tuneel
*/
extern u32 vnet_mpls_tunnel_create (u8 l2_only,
* @return the SW Interface index of the newly created tuneel
*/
extern u32 vnet_mpls_tunnel_create (u8 l2_only,
- u8 is_multicast);
+ u8 is_multicast,
+ u8 *description);
/**
* @brief Add a path to an MPLS tunnel
/**
* @brief Add a path to an MPLS tunnel