ip: reassembly cleanup
[vpp.git] / src / vnet / mfib / ip4_mfib.h
index 7767d79..2e263a4 100644 (file)
@@ -38,6 +38,10 @@ extern fib_node_index_t ip4_mfib_table_lookup_exact_match(const ip4_mfib_t *fib,
                                                           const ip4_address_t *grp,
                                                           const ip4_address_t *src,
                                                           u32 len);
+extern fib_node_index_t ip4_mfib_table_get_less_specific (const ip4_mfib_t *mfib,
+                                                          const ip4_address_t *src,
+                                                          const ip4_address_t *grp,
+                                                          u32 len);
 
 extern void ip4_mfib_table_entry_remove(ip4_mfib_t *fib,
                                         const ip4_address_t *grp,
@@ -51,6 +55,13 @@ extern void ip4_mfib_table_entry_insert(ip4_mfib_t *fib,
                                         fib_node_index_t fib_entry_index);
 extern void ip4_mfib_table_destroy(ip4_mfib_t *fib);
 
+/**
+ * @brief
+ *  Add/remove the interface from the accepting list of the special MFIB entries
+ */
+extern void ip4_mfib_interface_enable_disable(u32 sw_if_index,
+                                              int is_enable);
+
 /**
  * @brief Get the FIB at the given index
  */