summaryrefslogtreecommitdiffstats
path: root/vnet/vnet/mpls-gre/mpls.h
diff options
context:
space:
mode:
Diffstat (limited to 'vnet/vnet/mpls-gre/mpls.h')
-rw-r--r--vnet/vnet/mpls-gre/mpls.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/vnet/vnet/mpls-gre/mpls.h b/vnet/vnet/mpls-gre/mpls.h
index cd487b2f59d..d8ffca22793 100644
--- a/vnet/vnet/mpls-gre/mpls.h
+++ b/vnet/vnet/mpls-gre/mpls.h
@@ -229,4 +229,21 @@ typedef struct {
u8 * format_mpls_eth_tx_trace (u8 * s, va_list * args);
+typedef struct {
+ u32 fib_index;
+ u32 entry_index;
+ u32 dest;
+ u32 s_bit;
+ u32 label;
+} show_mpls_fib_t;
+
+int
+mpls_dest_cmp(void * a1, void * a2);
+
+int
+mpls_fib_index_cmp(void * a1, void * a2);
+
+int
+mpls_label_cmp(void * a1, void * a2);
+
#endif /* included_vnet_mpls_gre_h */