Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
cmake: improve add_vpp_plugin macro
[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
4345fd3
..
f1b93cf
100644
(file)
--- a/
src/plugins/nat/nat64_db.h
+++ b/
src/plugins/nat/nat64_db.h
@@
-68,6
+68,9
@@
typedef struct
/* BIB lookup */
clib_bihash_24_8_t in2out;
clib_bihash_24_8_t out2in;
/* BIB lookup */
clib_bihash_24_8_t in2out;
clib_bihash_24_8_t out2in;
+
+ u32 limit;
+ u32 bib_entries_num;
} nat64_db_bib_t;
typedef struct
} nat64_db_bib_t;
typedef struct
@@
-115,6
+118,9
@@
typedef struct
/* session lookup */
clib_bihash_48_8_t in2out;
clib_bihash_48_8_t out2in;
/* session lookup */
clib_bihash_48_8_t in2out;
clib_bihash_48_8_t out2in;
+
+ u32 limit;
+ u32 st_entries_num;
} nat64_db_st_t;
struct nat64_db_s;
} nat64_db_st_t;
struct nat64_db_s;
@@
-132,6
+138,7
@@
typedef struct nat64_db_s
nat64_db_bib_t bib;
nat64_db_st_t st;
nat64_db_free_addr_port_function_t free_addr_port_cb;
nat64_db_bib_t bib;
nat64_db_st_t st;
nat64_db_free_addr_port_function_t free_addr_port_cb;
+ u8 addr_free;
} nat64_db_t;
/**
} nat64_db_t;
/**