ct6: use explicit type in api
[vpp.git] / src / plugins / ct6 / ct6.api
1
2 /* Define a simple enable-disable binary API to control the feature */
3 option version = "1.0.0";
4 import "vnet/interface_types.api";
5
6 autoreply define ct6_enable_disable {
7     /* Client identifier, set from api_main.my_client_index */
8     u32 client_index;
9
10     /* Arbitrary context, so client can match reply to request */
11     u32 context;
12
13     /* Enable / disable the feature */
14     bool enable_disable;
15
16     /* Inside or outside interface */
17     bool is_inside;
18
19     /* Interface handle */
20     vl_api_interface_index_t sw_if_index;
21     option vat_help = "<intfc> [disable]";
22 };