summaryrefslogtreecommitdiffstats
path: root/src/plugins/nat/nat64_db.h
diff options
context:
space:
mode:
authorKlement Sekera <ksekera@cisco.com>2020-03-31 09:48:02 +0200
committerNeale Ranns <nranns@cisco.com>2020-04-08 14:54:23 +0000
commit61717cc38f321df3e28464336ac4e570aa47b490 (patch)
tree0499390bb4e65c1ec84161329d3d644bd1ff5596 /src/plugins/nat/nat64_db.h
parent7d697185437722ffce23a2d0b8838fc390cc6c84 (diff)
nat: use correct data types for memory sizes
Type: fix Signed-off-by: Klement Sekera <ksekera@cisco.com> Change-Id: Id2d181385f109163d4c806eecda166c2087c4b92
Diffstat (limited to 'src/plugins/nat/nat64_db.h')
-rw-r--r--src/plugins/nat/nat64_db.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/nat/nat64_db.h b/src/plugins/nat/nat64_db.h
index e6fa8e727ad..68f048ca59e 100644
--- a/src/plugins/nat/nat64_db.h
+++ b/src/plugins/nat/nat64_db.h
@@ -153,8 +153,8 @@ typedef struct nat64_db_s
*
* @returns 0 on success, non-zero value otherwise.
*/
-int nat64_db_init (nat64_db_t * db, u32 bib_buckets, u32 bib_memory_size,
- u32 st_buckets, u32 st_memory_size,
+int nat64_db_init (nat64_db_t * db, u32 bib_buckets, uword bib_memory_size,
+ u32 st_buckets, uword st_memory_size,
nat64_db_free_addr_port_function_t free_addr_port_cb);
/**