Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
misc: strcpy be gone
[vpp.git]
/
src
/
plugins
/
ct6
/
ct6.api
diff --git
a/src/plugins/ct6/ct6.api
b/src/plugins/ct6/ct6.api
index
10a2825
..
f22822b
100644
(file)
--- a/
src/plugins/ct6/ct6.api
+++ b/
src/plugins/ct6/ct6.api
@@
-1,5
+1,7
@@
/* Define a simple enable-disable binary API to control the feature */
/* Define a simple enable-disable binary API to control the feature */
+option version = "1.0.0";
+import "vnet/interface_types.api";
autoreply define ct6_enable_disable {
/* Client identifier, set from api_main.my_client_index */
autoreply define ct6_enable_disable {
/* Client identifier, set from api_main.my_client_index */
@@
-9,12
+11,12
@@
autoreply define ct6_enable_disable {
u32 context;
/* Enable / disable the feature */
u32 context;
/* Enable / disable the feature */
-
u8
enable_disable;
+
bool
enable_disable;
/* Inside or outside interface */
/* Inside or outside interface */
-
u8
is_inside;
+
bool
is_inside;
/* Interface handle */
/* Interface handle */
-
u32
sw_if_index;
+
vl_api_interface_index_t
sw_if_index;
option vat_help = "<intfc> [disable]";
};
option vat_help = "<intfc> [disable]";
};