ipv6 connection tracking plugin
[vpp.git] / src / plugins / ct6 / ct6.api
diff --git a/src/plugins/ct6/ct6.api b/src/plugins/ct6/ct6.api
new file mode 100644 (file)
index 0000000..67af42f
--- /dev/null
@@ -0,0 +1,27 @@
+
+/* Define a simple enable-disable binary API to control the feature */
+
+define ct6_enable_disable {
+    /* Client identifier, set from api_main.my_client_index */
+    u32 client_index;
+
+    /* Arbitrary context, so client can match reply to request */
+    u32 context;
+
+    /* Enable / disable the feature */
+    u8 enable_disable;
+
+    /* Inside or outside interface */
+    u8 is_inside;
+
+    /* Interface handle */
+    u32 sw_if_index;
+};
+
+define ct6_enable_disable_reply {
+    /* From the request */
+    u32 context;
+
+    /* Return value, zero means all OK */
+    i32 retval;
+};