diff options
Diffstat (limited to 'src/vppinfra/format.h')
-rw-r--r-- | src/vppinfra/format.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/vppinfra/format.h b/src/vppinfra/format.h index 678029e2a16..e71c7b347e8 100644 --- a/src/vppinfra/format.h +++ b/src/vppinfra/format.h @@ -298,6 +298,12 @@ unformat_function_t unformat_memory_size; /* Unparse memory size e.g. 100, 100k, 100m, 100g. */ u8 *format_memory_size (u8 * s, va_list * va); +/* Parse memory page size e.g. 4K, 2M */ +unformat_function_t unformat_log2_page_size; + +/* Unparse memory page size e.g. 4K, 2M */ +u8 *format_log2_page_size (u8 * s, va_list * va); + /* Format c identifier: e.g. a_name -> "a name". */ u8 *format_c_identifier (u8 * s, va_list * va); |