X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvnet%2Fip%2Fip4_mtrie.h;h=34b97dc1a9dacfe50ea310fe028491dfab1e4182;hb=561af9b441c7392cf391dd46399b0b16b876a08a;hp=be262c2c84db6021dab4d6a7a12186a51e1e4e82;hpb=a3af337e06a79f7d1dacf42a319f241c907122fc;p=vpp.git diff --git a/src/vnet/ip/ip4_mtrie.h b/src/vnet/ip/ip4_mtrie.h index be262c2c84d..34b97dc1a9d 100644 --- a/src/vnet/ip/ip4_mtrie.h +++ b/src/vnet/ip/ip4_mtrie.h @@ -161,6 +161,11 @@ void ip4_fib_mtrie_route_del (ip4_fib_mtrie_t * m, u32 adj_index, u32 cover_address_length, u32 cover_adj_index); +/** + * @brief return the memory used by the table + */ +uword ip4_fib_mtrie_memory_usage (ip4_fib_mtrie_t * m); + /** * @brief Format/display the contents of the mtrie */