FD.io VPP  v21.10.1-2-g0a485f517
Vector Packet Processing
ct6.api
Go to the documentation of this file.
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 */
9 
10  /* Arbitrary context, so client can match reply to request */
12 
13  /* Enable / disable the feature */
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 };
vl_api_ct6_enable_disable_t::client_index
u32 client_index
Definition: ct6.api:8
vl_api_ct6_enable_disable_t::enable_disable
bool enable_disable
Definition: ct6.api:14
vl_api_ct6_enable_disable_t
Definition: ct6.api:6
vl_api_ct6_enable_disable_t::is_inside
bool is_inside
Definition: ct6.api:17
vl_api_ct6_enable_disable_t::vat_help
option vat_help
Definition: ct6.api:21
version
option version
Definition: ct6.api:3
u32
unsigned int u32
Definition: types.h:88
vl_api_ct6_enable_disable_t::sw_if_index
vl_api_interface_index_t sw_if_index
Definition: ct6.api:20
vl_api_ct6_enable_disable_t::context
u32 context
Definition: ct6.api:11