nat: fix bihash kvp print
[vpp.git] / src / vppinfra / bihash_doc.h
index da8c832..7c7e517 100644 (file)
@@ -81,6 +81,7 @@ typedef struct
   uword alloc_arena;                 /**< memory allocation arena  */
   uword alloc_arena_next;            /**< first available mem chunk */
   uword alloc_arena_size;            /**< size of the arena */
+  uword alloc_arena_mapped;          /**< size of mapped memory in the arena */
 } clib_bihash_t;
 
 /** Get pointer to value page given its clib mheap offset */
@@ -111,7 +112,7 @@ void clib_bihash_free (clib_bihash * h);
 
     @param h - the bi-hash table to search
     @param add_v - the (key,value) pair to add
-    @param is_add - add=1, delete=0
+    @param is_add - add=1 (BIHASH_ADD), delete=0 (BIHASH_DEL)
     @returns 0 on success, < 0 on error
     @note This function will replace an existing (key,value) pair if the
     new key matches an existing key