summaryrefslogtreecommitdiffstats
path: root/src/plugins/nat/nat66/nat66.api
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/nat/nat66/nat66.api')
-rw-r--r--src/plugins/nat/nat66/nat66.api14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/plugins/nat/nat66/nat66.api b/src/plugins/nat/nat66/nat66.api
index bbadf07184a..29425c09ce5 100644
--- a/src/plugins/nat/nat66/nat66.api
+++ b/src/plugins/nat/nat66/nat66.api
@@ -18,6 +18,20 @@ import "vnet/ip/ip_types.api";
import "vnet/interface_types.api";
import "plugins/nat/lib/nat_types.api";
+
+/** \brief Enable/disable NAT66 plugin
+ @param client_index - opaque cookie to identify the sender
+ @param context - sender context, to match reply w/ request
+ @param outside_vrf - outside vrf id
+ @param enable - true if enable, false if disable
+*/
+autoreply define nat66_plugin_enable_disable {
+ u32 client_index;
+ u32 context;
+ u32 outside_vrf;
+ bool enable;
+};
+
/** \brief Enable/disable NAT66 feature on the interface
@param client_index - opaque cookie to identify the sender
@param context - sender context, to match reply w/ request