summaryrefslogtreecommitdiffstats
path: root/src/plugins/cnat/cnat.api
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/cnat/cnat.api')
-rw-r--r--src/plugins/cnat/cnat.api11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/plugins/cnat/cnat.api b/src/plugins/cnat/cnat.api
index 2b79e0d1b8b..a5df8b1e578 100644
--- a/src/plugins/cnat/cnat.api
+++ b/src/plugins/cnat/cnat.api
@@ -167,6 +167,17 @@ autoreply define cnat_add_del_snat_prefix
vl_api_prefix_t prefix;
};
+enum cnat_snat_policies:u32
+{
+ CNAT_SNAT_POLICY_NONE = 1,
+};
+
+autoreply define cnat_set_snat_policy
+{
+ u32 client_index;
+ u32 context;
+ vl_api_cnat_snat_policies_t policy;
+};
/*
* fd.io coding-style-patch-verification: ON
*