Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
nat: use correct data types for memory sizes
[vpp.git]
/
src
/
plugins
/
nat
/
nat64_db.h
diff --git
a/src/plugins/nat/nat64_db.h
b/src/plugins/nat/nat64_db.h
index
e6fa8e7
..
68f048c
100644
(file)
--- 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.
*/
*
* @returns 0 on success, non-zero value otherwise.
*/
-int nat64_db_init (nat64_db_t * db, u32 bib_buckets, u
32
bib_memory_size,
- u32 st_buckets, u
32
st_memory_size,
+int nat64_db_init (nat64_db_t * db, u32 bib_buckets, u
word
bib_memory_size,
+ u32 st_buckets, u
word
st_memory_size,
nat64_db_free_addr_port_function_t free_addr_port_cb);
/**
nat64_db_free_addr_port_function_t free_addr_port_cb);
/**