X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvnet%2Fbier%2Fbier_table.h;h=2fd3ea3a57d180808861aba0760fe0c5bccf7d12;hb=3d1ef873da900ddf4ef18d5cf7709aab70ed6b7d;hp=9cd9937d76c2159eea353ee29f7be7836e4a861f;hpb=ef90ed08fbcde7535b4a789349b39dc25798c77d;p=vpp.git diff --git a/src/vnet/bier/bier_table.h b/src/vnet/bier/bier_table.h index 9cd9937d76c..2fd3ea3a57d 100644 --- a/src/vnet/bier/bier_table.h +++ b/src/vnet/bier/bier_table.h @@ -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,