diff options
author | Filip Varga <fivarga@cisco.com> | 2020-02-06 15:25:27 +0100 |
---|---|---|
committer | Ole Trøan <otroan@employees.org> | 2020-02-07 07:37:05 +0000 |
commit | edf777272b211de3d54f5dc7b211ee84cdb31373 (patch) | |
tree | ac18fd5190adb5d7090fdae80a9a296f048d8d80 /src/plugins/nat/nat.api | |
parent | b71ef86c7429e81921997e54a526bf666a2e4089 (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.api | 9 |
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 |