fib: fib api updates
[vpp.git] / src / vnet / bier / bier_fmask.h
index 0666605..87845bb 100644 (file)
  * egress towards the next-hop. As such the fmask is part of the rewrite
  * (adj) for that next-hop. It it thus an extension of the next-hop and in
  * no way associated with the bit-position(s) that are reachable through it.
- * Fmasks are thus shared by bit-positions that egress throught the same
+ * Fmasks are thus shared by bit-positions that egress through the same
  * nh (BFR-NBR).
- * Deag fmasks are also shread in the event that a router has local
- * bit-positions. This is necessary to prevent the router recieving two copies
+ * Deag fmasks are also shared in the event that a router has local
+ * bit-positions. This is necessary to prevent the router receiving two copies
  * of each packet. Consequently it also means that they share the same
  * disposition data for the global data.
  */
@@ -166,12 +166,12 @@ extern void bier_fmask_child_remove (fib_node_index_t fib_entry_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);
+                               fib_route_path_t *rpath);
 
 /*
  * provided for fast data-path access
  */
-bier_fmask_t *bier_fmask_pool;
+extern bier_fmask_t *bier_fmask_pool;
 
 static inline bier_fmask_t *
 bier_fmask_get (u32 index)