VOM: mroutes
[vpp.git] / src / vnet / bier / bier_fmask.h
index 81b3923..0666605 100644 (file)
@@ -97,6 +97,11 @@ typedef enum bier_fmask_flags_t_
  *      for the next lookup
  */
 typedef struct bier_fmask_t_ {
+    /**
+     * Required for pool_get_aligned
+     */
+    CLIB_CACHE_LINE_ALIGN_MARK(cacheline0);
+
     /**
      * The BIER fmask is a child of a FIB entry in the FIB graph.
      */
@@ -158,6 +163,10 @@ extern u32 bier_fmask_child_add (fib_node_index_t fib_entry_index,
                                  fib_node_index_t child_index);
 extern void bier_fmask_child_remove (fib_node_index_t fib_entry_index,
                                      u32 sibling_index);
+extern void bier_fmask_get_stats (index_t bfmi, u64 * packets, u64 * bytes);
+extern void bier_fmask_encode (index_t bfmi,
+                               bier_table_id_t *btid,
+                               fib_route_path_encode_t *rpath);
 
 /*
  * provided for fast data-path access