aboutsummaryrefslogtreecommitdiffstats
path: root/vnet/vnet/fib/fib_types.h
diff options
context:
space:
mode:
authorSteven <sluong@cisco.com>2016-11-02 10:40:09 -0700
committerNeale Ranns <nranns@cisco.com>2016-11-15 08:13:26 +0000
commit01b071222d99bea31e2846e95963c475262dd114 (patch)
treec41f2fae6ae74285557c604fe110384ec419ab00 /vnet/vnet/fib/fib_types.h
parentd4895d54158a409124e59304b1b523ec4c2adab7 (diff)
Dump routes (VPP-500)
Change-Id: I86e7382395a8b6471a0deaf57163718d41b71b83 Signed-off-by: Steven <sluong@cisco.com>
Diffstat (limited to 'vnet/vnet/fib/fib_types.h')
-rw-r--r--vnet/vnet/fib/fib_types.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/vnet/vnet/fib/fib_types.h b/vnet/vnet/fib/fib_types.h
index 1e70a2a98d8..83123a5127a 100644
--- a/vnet/vnet/fib/fib_types.h
+++ b/vnet/vnet/fib/fib_types.h
@@ -316,4 +316,13 @@ typedef struct fib_route_path_t_ {
mpls_label_t frp_label;
} fib_route_path_t;
+/**
+ * @brief
+ * A representation of a fib path for fib_path_encode to convey the information to the caller
+ */
+typedef struct fib_route_path_encode_t_ {
+ fib_route_path_t rpath;
+ dpo_id_t dpo;
+} fib_route_path_encode_t;
+
#endif