diff options
author | Klement Sekera <ksekera@cisco.com> | 2020-03-31 09:48:02 +0200 |
---|---|---|
committer | Neale Ranns <nranns@cisco.com> | 2020-04-08 14:54:23 +0000 |
commit | 61717cc38f321df3e28464336ac4e570aa47b490 (patch) | |
tree | 0499390bb4e65c1ec84161329d3d644bd1ff5596 /src/plugins/nat/nat64.h | |
parent | 7d697185437722ffce23a2d0b8838fc390cc6c84 (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.h')
-rw-r--r-- | src/plugins/nat/nat64.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/nat/nat64.h b/src/plugins/nat/nat64.h index a95ded22893..f13334447b0 100644 --- a/src/plugins/nat/nat64.h +++ b/src/plugins/nat/nat64.h @@ -91,9 +91,9 @@ typedef struct /** config parameters */ u32 bib_buckets; - u32 bib_memory_size; + uword bib_memory_size; u32 st_buckets; - u32 st_memory_size; + uword st_memory_size; /** values of various timeouts */ u32 udp_timeout; @@ -359,8 +359,8 @@ void nat64_extract_ip4 (ip6_address_t * ip6, ip4_address_t * ip4, * @param st_buckets Number of session table hash buckets. * @param st_memory_size Memory size of session table hash. */ -void nat64_set_hash (u32 bib_buckets, u32 bib_memory_size, u32 st_buckets, - u32 st_memory_size); +void nat64_set_hash (u32 bib_buckets, uword bib_memory_size, u32 st_buckets, + uword st_memory_size); /** * @brief Get worker thread index for NAT64 in2out. |