Adding Multipath support for exclusive DPO based fib path entries via rpath
[vpp.git] / src / vnet / fib / fib_types.h
index 805f8e1..714a1d9 100644 (file)
@@ -187,6 +187,11 @@ extern fib_forward_chain_type_t fib_forw_chain_type_from_link_type(vnet_link_t l
  */
 extern fib_forward_chain_type_t fib_forw_chain_type_from_dpo_proto(dpo_proto_t proto);
 
+/**
+ * @brief Convert from a fib-protocol to a chain type.
+ */
+extern fib_forward_chain_type_t fib_forw_chain_type_from_fib_proto(fib_protocol_t proto);
+
 /**
  * @brief Convert from a chain type to the DPO proto it will install
  */
@@ -518,6 +523,11 @@ typedef struct fib_route_path_t_ {
              * The outgoing MPLS label Stack. NULL implies no label.
              */
             fib_mpls_label_t *frp_label_stack;
+
+            /**
+            * Exclusive DPO
+            */
+           dpo_id_t dpo;
         };
         /**
          * A path that resolves via a BIER Table.