summaryrefslogtreecommitdiffstats
path: root/src/plugins/nat/nat.api
diff options
context:
space:
mode:
authorFilip Varga <fivarga@cisco.com>2020-02-06 15:25:27 +0100
committerOle Trøan <otroan@employees.org>2020-02-07 07:37:05 +0000
commitedf777272b211de3d54f5dc7b211ee84cdb31373 (patch)
treeac18fd5190adb5d7090fdae80a9a296f048d8d80 /src/plugins/nat/nat.api
parentb71ef86c7429e81921997e54a526bf666a2e4089 (diff)
nat: api & cli command for forcing session cleanup
Ticket: VPP-1836 Type: feature Signed-off-by: Filip Varga <fivarga@cisco.com> Change-Id: I8f7fc011bac435445a8916a4948d130ca9162f67
Diffstat (limited to 'src/plugins/nat/nat.api')
-rw-r--r--src/plugins/nat/nat.api9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/plugins/nat/nat.api b/src/plugins/nat/nat.api
index 58eee45d47d..0294d400966 100644
--- a/src/plugins/nat/nat.api
+++ b/src/plugins/nat/nat.api
@@ -130,6 +130,15 @@ enum nat_log_level : u8
NAT_LOG_DEBUG = 0x05,
};
+/** \brief Run nat44 garbage collection
+ @param client_index - opaque cookie to identify the sender
+ @param context - sender context, to match reply w/ request
+*/
+autoreply define nat44_session_cleanup {
+ u32 client_index;
+ u32 context;
+};
+
/** \brief Set NAT logging level
@param client_index - opaque cookie to identify the sender
@param context - sender context, to match reply w/ request