ipsec: IPSec protection for multi-point tunnel interfaces
[vpp.git] / src / vnet / bier / bier_table.h
index 9cd9937..2fd3ea3 100644 (file)
@@ -33,7 +33,7 @@ struct bier_route_update_t_;
  * Each entry (bit-position) represents one destination, and its reachability
  *
  * The number of entries in a table is thus the maximum supported
- * bit-position. Since this is smal <4096, the table is a flat arry
+ * bit-position. Since this is small <4096, the table is a flat array
  */
 typedef struct bier_table_t_ {
     /**
@@ -91,6 +91,7 @@ STATIC_ASSERT((sizeof(bier_table_t) <= 2*CLIB_CACHE_LINE_BYTES),
 
 extern index_t bier_table_add_or_lock(const bier_table_id_t *id,
                                       mpls_label_t ll);
+extern index_t bier_table_lock(const bier_table_id_t *id);
 extern void bier_table_unlock(const bier_table_id_t *id);
 
 extern void bier_table_route_path_add(const bier_table_id_t *bti,