api: clean up use of deprecated flag
[vpp.git] / src / plugins / nat / nat64_db.h
index e6fa8e7..76e00c9 100644 (file)
@@ -60,7 +60,7 @@ typedef struct
 /* *INDENT-OFF* */
 #define _(N, i, n, s) \
   nat64_db_bib_entry_t *_##n##_bib;
-  foreach_snat_protocol
+  foreach_nat_protocol
 #undef _
 /* *INDENT-ON* */
   nat64_db_bib_entry_t *_unk_proto_bib;
@@ -110,7 +110,7 @@ typedef struct
 /* *INDENT-OFF* */
 #define _(N, i, n, s) \
   nat64_db_st_entry_t *_##n##_st;
-  foreach_snat_protocol
+  foreach_nat_protocol
 #undef _
 /* *INDENT-ON* */
   nat64_db_st_entry_t *_unk_proto_st;
@@ -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);
 
 /**