summaryrefslogtreecommitdiffstats
path: root/vnet/vnet/fib/fib_types.h
diff options
context:
space:
mode:
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