FD.io VPP  v21.06-3-gbb25fbf28
Vector Packet Processing
acl.api
Go to the documentation of this file.
1 /* Hey Emacs use -*- mode: C -*- */
2 /*
3  * Copyright (c) 2016 Cisco and/or its affiliates.
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at:
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 /** \file
18  This file defines the vpp control-plane API messages
19  used to control the ACL plugin
20 */
21 
22 option version = "2.0.0";
23 
24 import "plugins/acl/acl_types.api";
25 import "vnet/interface_types.api";
26 
27 /** \brief Get the plugin version
28  @param client_index - opaque cookie to identify the sender
29  @param context - sender context, to match reply w/ request
30 */
31 
32 define acl_plugin_get_version
33 {
36 };
37 
38 /** \brief Reply to get the plugin version
39  @param context - returned sender context, to match reply w/ request
40  @param major - Incremented every time a known breaking behavior change is introduced
41  @param minor - Incremented with small changes, may be used to avoid buggy versions
42 */
43 
44 define acl_plugin_get_version_reply
45 {
49 };
50 
51 /** \brief Control ping from client to api server request
52  @param client_index - opaque cookie to identify the sender
53  @param context - sender context, to match reply w/ request
54 */
55 define acl_plugin_control_ping
56 {
59 };
60 
61 /** \brief Control ping from the client to the server response
62  @param client_index - opaque cookie to identify the sender
63  @param context - sender context, to match reply w/ request
64  @param retval - return code for the request
65  @param vpe_pid - the pid of the vpe, returned by the server
66 */
67 define acl_plugin_control_ping_reply
68 {
73 };
74 
75 /** \brief Get Connection table max entries
76  @param client_index - opaque cookie to identify the sender
77  @param context - sender context, to match reply w/ request
78 */
79 
80 define acl_plugin_get_conn_table_max_entries
81 {
84 };
85 
86 /** \brief Reply to get connection table max entries
87  @param context - sender context, to match reply w/ request
88  @param conn_table_max_entries - the value of maximum entries of connection table
89 */
90 define acl_plugin_get_conn_table_max_entries_reply
91 {
94 };
95 
96 /** \brief Replace an existing ACL in-place or create a new ACL
97  @param client_index - opaque cookie to identify the sender
98  @param context - sender context, to match reply w/ request
99  @param acl_index - an existing ACL entry (0..0xfffffffe) to replace, or 0xffffffff to make new ACL
100  @param tag - a string value stored along with the ACL, for descriptive purposes
101  @param count - number of ACL rules
102  @r - Rules for this access-list
103 */
104 
105  define acl_add_replace
106 {
109  u32 acl_index; /* ~0 to add, existing ACL# to replace */
110  string tag[64]; /* What gets in here gets out in the corresponding tag field when dumping the ACLs. */
112  vl_api_acl_rule_t r[count];
113  option vat_help = "<acl-idx> <permit|permit+reflect|deny|action N> [src IP/plen] [dst IP/plen] [sport X-Y] [dport X-Y] [proto P] [tcpflags FL MASK], ... , ...";
114 };
115 
116 /** \brief Reply to add/replace ACL
117  @param context - returned sender context, to match reply w/ request
118  @param acl_index - index of the updated or newly created ACL
119  @param retval 0 - no error
120 */
121 
122 define acl_add_replace_reply
123 {
127 };
128 
129 /** \brief Delete an ACL
130  @param client_index - opaque cookie to identify the sender
131  @param context - sender context, to match reply w/ request
132  @param acl_index - ACL index to delete
133 */
134 
135 autoreply define acl_del
136 {
140  option vat_help = "<acl-idx>";
141 };
142 
143 /* acl_interface_add_del(_reply) to be deprecated in lieu of acl_interface_set_acl_list */
144 /** \brief Use acl_interface_set_acl_list instead
145  Append/remove an ACL index to/from the list of ACLs checked for an interface
146  @param client_index - opaque cookie to identify the sender
147  @param context - sender context, to match reply w/ request
148  @param is_add - add or delete the ACL index from the list
149  @param is_input - check the ACL on input (1) or output (0)
150  @param sw_if_index - the interface to alter the list of ACLs on
151  @param acl_index - index of ACL for the operation
152 */
153 
154 autoreply define acl_interface_add_del
155 {
158  bool is_add [default=true];
159 /*
160  * is_input = 0 => ACL applied on interface egress
161  * is_input = 1 => ACL applied on interface ingress
162  */
163  bool is_input;
164  vl_api_interface_index_t sw_if_index;
166  option vat_help = "<intfc> | sw_if_index <if-idx> [add|del] [input|output] acl <acl-idx>";
167 };
168 
169 /** \brief Set the vector of input/output ACLs checked for an interface
170  @param client_index - opaque cookie to identify the sender
171  @param context - sender context, to match reply w/ request
172  @param sw_if_index - the interface to alter the list of ACLs on
173  @param count - total number of ACL indices in the vector
174  @param n_input - this many first elements correspond to input ACLs, the rest - output
175  @param acls - vector of ACL indices
176 */
177 
178 autoreply define acl_interface_set_acl_list
179 {
182  vl_api_interface_index_t sw_if_index;
184  u8 n_input; /* First n_input ACLs are set as a list of input ACLs, the rest are applied as output */
185  u32 acls[count];
186  option vat_help = "<intfc> | sw_if_index <if-idx> input [acl-idx list] output [acl-idx list]";
187 };
188 
189 /** \brief Reply to set the ACL list on an interface
190  @param context - returned sender context, to match reply w/ request
191  @param retval 0 - no error
192 */
193 
194 /** \brief Dump the specific ACL contents or all of the ACLs' contents
195  @param client_index - opaque cookie to identify the sender
196  @param context - sender context, to match reply w/ request
197  @param acl_index - ACL index to dump, ~0 to dump all ACLs
198 */
199 
200 define acl_dump
201 {
204  u32 acl_index; /* ~0 for all ACLs */
205  option vat_help = "[<acl-idx>]";
206 };
207 
208 /** \brief Details about a single ACL contents
209  @param context - returned sender context, to match reply w/ request
210  @param acl_index - ACL index whose contents are being sent in this message
211  @param tag - Descriptive tag value which was supplied at ACL creation
212  @param count - Number of rules in this ACL
213  @param r - Array of rules within this ACL
214 */
215 
216 define acl_details
217 {
220  string tag[64]; /* Same blob that was supplied to us when creating the ACL, one hopes. */
222  vl_api_acl_rule_t r[count];
223 };
224 
225 /** \brief Dump the list(s) of ACL applied to specific or all interfaces
226  @param client_index - opaque cookie to identify the sender
227  @param context - sender context, to match reply w/ request
228  @param sw_if_index - interface for which to dump the ACL list. Default: 0xffffffff (All interfaces)
229 */
230 
231 define acl_interface_list_dump
232 {
235  vl_api_interface_index_t sw_if_index [default=0xffffffff];
236  option vat_help = "[<intfc> | sw_if_index <if-idx>]";
237 };
238 
239 /** \brief Details about a single ACL contents
240  @param context - returned sender context, to match reply w/ request
241  @param sw_if_index - interface for which the list of ACLs is applied
242  @param count - total length of acl indices vector
243  @param n_input - this many of indices in the beginning are input ACLs, the rest - output
244  @param acls - the vector of ACL indices
245 */
246 
247 define acl_interface_list_details
248 {
250  vl_api_interface_index_t sw_if_index;
253  u32 acls[count];
254 };
255 
256 /** \brief Add a MACIP ACL
257  @param client_index - opaque cookie to identify the sender
258  @param context - sender context, to match reply w/ request
259  @param tag - descriptive value for this MACIP ACL
260  @param count - number of rules in this MACIP ACL
261  @param r - vector of MACIP ACL rules
262 */
263 
264 define macip_acl_add
265 {
268  string tag[64];
270  vl_api_macip_acl_rule_t r[count];
271  option vat_help = "...";
272 };
273 
274 /** \brief Reply to add MACIP ACL
275  @param context - returned sender context, to match reply w/ request
276  @param acl_index - index of the newly created MACIP ACL
277  @param retval 0 - no error
278 */
279 
280 define macip_acl_add_reply
281 {
285 };
286 
287 /** \brief Add/Replace a MACIP ACL
288  @param client_index - opaque cookie to identify the sender
289  @param context - sender context, to match reply w/ request
290  @param acl_index - an existing MACIP ACL entry (0..0xfffffffe) to replace, or 0xffffffff to make new MACIP ACL Default: 0xffffffff
291  @param tag - descriptive value for this MACIP ACL
292  @param count - number of rules in this MACIP ACL
293  @param r - vector of MACIP ACL rules
294 */
295 
296 define macip_acl_add_replace
297 {
300  u32 acl_index [default=0xffffffff]; /* ~0 to add, existing MACIP ACL# to replace */
301  string tag[64];
303  vl_api_macip_acl_rule_t r[count];
304  option vat_help = "<acl-idx> <permit|deny|action N> [count <count>] [src] ip <ipaddress/[plen]> mac <mac> mask <mac_mask>, ... , ...";
305 };
306 
307 /** \brief Reply to add/replace MACIP ACL
308  @param context - returned sender context, to match reply w/ request
309  @param acl_index - index of the newly created MACIP ACL
310  @param retval 0 - no error
311 */
312 
313 define macip_acl_add_replace_reply
314 {
318 };
319 
320 /** \brief Delete a MACIP ACL
321  @param client_index - opaque cookie to identify the sender
322  @param context - sender context, to match reply w/ request
323  @param acl_index - MACIP ACL index to delete
324 */
325 
326 autoreply define macip_acl_del
327 {
331  option vat_help = "<acl-idx>";
332 };
333 
334 /** \brief Add or delete a MACIP ACL to/from interface
335  @param client_index - opaque cookie to identify the sender
336  @param context - sender context, to match reply w/ request
337  @param is_add - add (1) or delete (0) MACIP ACL from being used on an interface
338  @param sw_if_index - interface to apply the action to
339  @param acl_index - MACIP ACL index
340 */
341 
342 autoreply define macip_acl_interface_add_del
343 {
346  bool is_add [default=true];
347  /* MACIP ACLs are always input */
348  vl_api_interface_index_t sw_if_index;
350  option vat_help = "<intfc> | sw_if_index <if-idx> [add|del] acl <acl-idx>";
351 };
352 
353 /** \brief Dump one or all defined MACIP ACLs
354  @param client_index - opaque cookie to identify the sender
355  @param context - sender context, to match reply w/ request
356  @param acl_index - MACIP ACL index or ~0 to dump all MACIP ACLs Default: 0xffffffff
357 */
358 
359 define macip_acl_dump
360 {
363  u32 acl_index [default=0xffffffff]; /* ~0 for all ACLs */
364  option vat_help = "[<acl-idx>]";
365 };
366 
367 /** \brief Details about one MACIP ACL
368  @param context - returned sender context, to match reply w/ request
369  @param acl_index - index of this MACIP ACL
370  @param tag - descriptive tag which was supplied during the creation
371  @param count - length of the vector of MACIP ACL rules
372  @param r - rules comprising this MACIP ACL
373 */
374 
375  define macip_acl_details
376 {
379  string tag[64];
381  vl_api_macip_acl_rule_t r[count];
382 };
383 
384 /** \brief Get the vector of MACIP ACL IDs applied to the interfaces
385  @param client_index - opaque cookie to identify the sender
386  @param context - sender context, to match reply w/ request
387 */
388 
389 define macip_acl_interface_get
390 {
393 };
394 
395 /** \brief Reply with the vector of MACIP ACLs by sw_if_index
396  @param context - returned sender context, to match reply w/ request
397  @param count - total number of elements in the vector
398  @param acls - the vector of active MACIP ACL indices per sw_if_index
399 */
400 
401 define macip_acl_interface_get_reply
402 {
405  u32 acls[count];
406 };
407 
408 /** \brief Dump the list(s) of MACIP ACLs applied to specific or all interfaces
409  @param client_index - opaque cookie to identify the sender
410  @param context - sender context, to match reply w/ request
411  @param sw_if_index - interface to dump the MACIP ACL list for
412 */
413 
414 define macip_acl_interface_list_dump
415 {
418  vl_api_interface_index_t sw_if_index; /* ~0 for all interfaces */
419 };
420 
421 /** \brief Details about a single MACIP ACL contents
422  @param context - returned sender context, to match reply w/ request
423  @param sw_if_index - interface for which the list of MACIP ACLs is applied
424  @param count - total length of acl indices vector
425  @param acls - the vector of MACIP ACL indices
426 */
427 
428 define macip_acl_interface_list_details
429 {
431  vl_api_interface_index_t sw_if_index;
433  u32 acls[count];
434 };
435 
436 /** \brief Set the ethertype whitelists on an interface. Takes effect when applying ACLs on the interface, so must be given prior.
437  @param client_index - opaque cookie to identify the sender
438  @param context - sender context, to match reply w/ request
439  @param sw_if_index - the interface to alter the list of ACLs on
440  @param count - total number of whitelisted ethertypes in the vector
441  @param n_input - this many first elements correspond to input whitelisted ethertypes, the rest - output
442  @param whitelist - vector of whitelisted ethertypes
443 */
444 
445 autoreply define acl_interface_set_etype_whitelist
446 {
449  vl_api_interface_index_t sw_if_index;
450  u8 count; /* Total number of ethertypes in the whitelist */
451  u8 n_input; /* first n_input ethertypes are input, the rest - output */
452  u16 whitelist[count];
453  option vat_help = "<intfc> | sw_if_index <if-idx> input [ethertype list] output [ethertype list]";
454 };
455 
456 /** \brief Dump the list(s) of Ethertype whitelists applied to specific or all interfaces
457  @param client_index - opaque cookie to identify the sender
458  @param context - sender context, to match reply w/ request
459  @param sw_if_index - interface to dump the ethertype whitelist for
460 */
461 
462 define acl_interface_etype_whitelist_dump
463 {
466  vl_api_interface_index_t sw_if_index; /* ~0 for all interfaces */
467  option vat_help = "[<intfc> | sw_if_index <if-idx>]";
468 };
469 
470 /** \brief Details about ethertype whitelist on a single interface
471  @param context - returned sender context, to match reply w/ request
472  @param sw_if_index - interface for which the list of MACIP ACLs is applied
473  @param count - total number of whitelisted ethertypes in the vector
474  @param n_input - this many first elements correspond to input whitelisted ethertypes, the rest - output
475  @param whitelist - vector of whitelisted ethertypes
476 */
477 
478 define acl_interface_etype_whitelist_details
479 {
481  vl_api_interface_index_t sw_if_index;
483  u8 n_input; /* first n_input ethertypes are input, the rest - output */
484  u16 whitelist[count];
485 };
486 
487 /** \brief Enable or disable incrementing ACL counters in stats segment by interface processing
488  @param client_index - opaque cookie to identify the sender
489  @param context - sender context, to match reply w/ request
490  @param enable - whether to enable or disable incrementing the counters
491 */
492 
493 autoreply define acl_stats_intf_counters_enable
494 {
497  bool enable;
498  option vat_help = "[disable]";
499 };
vl_api_acl_plugin_get_version_t
Get the plugin version.
Definition: acl.api:32
vl_api_acl_plugin_control_ping_reply_t::context
u32 context
Definition: acl.api:69
vl_api_acl_interface_add_del_t::sw_if_index
vl_api_interface_index_t sw_if_index
Definition: acl.api:164
vl_api_acl_interface_list_dump_t
Dump the list(s) of ACL applied to specific or all interfaces.
Definition: acl.api:231
vl_api_acl_plugin_get_conn_table_max_entries_reply_t
Reply to get connection table max entries.
Definition: acl.api:90
vl_api_acl_interface_etype_whitelist_details_t::sw_if_index
vl_api_interface_index_t sw_if_index
Definition: acl.api:481
vl_api_acl_add_replace_t::client_index
u32 client_index
Definition: acl.api:107
vl_api_acl_interface_set_etype_whitelist_t::client_index
u32 client_index
Definition: acl.api:447
vl_api_acl_interface_add_del_t::acl_index
u32 acl_index
Definition: acl.api:165
vl_api_acl_interface_list_details_t
Details about a single ACL contents.
Definition: acl.api:247
vl_api_macip_acl_dump_t::vat_help
option vat_help
Definition: acl.api:364
vl_api_acl_interface_set_etype_whitelist_t::n_input
u8 n_input
Definition: acl.api:451
vl_api_acl_interface_etype_whitelist_dump_t::vat_help
option vat_help
Definition: acl.api:467
vl_api_acl_interface_etype_whitelist_details_t::count
u8 count
Definition: acl.api:482
vl_api_acl_del_t::acl_index
u32 acl_index
Definition: acl.api:139
vl_api_macip_acl_details_t
Details about one MACIP ACL.
Definition: acl.api:375
vl_api_acl_plugin_get_conn_table_max_entries_t
Get Connection table max entries.
Definition: acl.api:80
vl_api_macip_acl_interface_add_del_t::context
u32 context
Definition: acl.api:345
vl_api_macip_acl_dump_t
Dump one or all defined MACIP ACLs.
Definition: acl.api:359
vl_api_macip_acl_add_replace_t::r
vl_api_macip_acl_rule_t r[count]
Definition: acl.api:303
vl_api_macip_acl_interface_get_t::client_index
u32 client_index
Definition: acl.api:391
vl_api_macip_acl_interface_list_details_t::sw_if_index
vl_api_interface_index_t sw_if_index
Definition: acl.api:431
vl_api_acl_add_replace_t::context
u32 context
Definition: acl.api:108
vl_api_macip_acl_interface_list_details_t
Details about a single MACIP ACL contents.
Definition: acl.api:428
vl_api_acl_dump_t::context
u32 context
Definition: acl.api:203
vl_api_acl_interface_list_details_t::context
u32 context
Definition: acl.api:249
u16
unsigned short u16
Definition: types.h:57
vl_api_macip_acl_add_replace_t::acl_index
u32 acl_index[default=0xffffffff]
Definition: acl.api:300
vl_api_macip_acl_del_t
Delete a MACIP ACL.
Definition: acl.api:326
vl_api_acl_plugin_control_ping_t::context
u32 context
Definition: acl.api:58
vl_api_acl_dump_t
Reply to set the ACL list on an interface.
Definition: acl.api:200
vl_api_acl_stats_intf_counters_enable_t::context
u32 context
Definition: acl.api:496
vl_api_macip_acl_add_reply_t::acl_index
u32 acl_index
Definition: acl.api:283
vl_api_acl_details_t::acl_index
u32 acl_index
Definition: acl.api:219
vl_api_acl_interface_add_del_t::is_input
bool is_input
Definition: acl.api:163
vl_api_acl_interface_list_details_t::sw_if_index
vl_api_interface_index_t sw_if_index
Definition: acl.api:250
vl_api_macip_acl_add_t::vat_help
option vat_help
Definition: acl.api:271
vl_api_acl_add_replace_t::r
vl_api_acl_rule_t r[count]
Definition: acl.api:112
vl_api_macip_acl_details_t::context
u32 context
Definition: acl.api:377
r
vnet_hw_if_output_node_runtime_t * r
Definition: interface_output.c:1071
vl_api_acl_interface_etype_whitelist_details_t::context
u32 context
Definition: acl.api:480
vl_api_acl_details_t::count
u32 count
Definition: acl.api:221
vl_api_acl_interface_list_dump_t::vat_help
option vat_help
Definition: acl.api:236
vl_api_macip_acl_add_reply_t
Reply to add MACIP ACL.
Definition: acl.api:280
vl_api_acl_plugin_control_ping_t
Control ping from client to api server request.
Definition: acl.api:55
version
option version
Definition: acl.api:22
vl_api_acl_plugin_get_version_reply_t::minor
u32 minor
Definition: acl.api:48
vl_api_acl_add_replace_t::acl_index
u32 acl_index
Definition: acl.api:109
vl_api_macip_acl_details_t::count
u32 count
Definition: acl.api:380
i32
signed int i32
Definition: types.h:77
vl_api_acl_plugin_get_conn_table_max_entries_t::client_index
u32 client_index
Definition: acl.api:82
vl_api_macip_acl_dump_t::context
u32 context
Definition: acl.api:362
vl_api_macip_acl_interface_add_del_t::acl_index
u32 acl_index
Definition: acl.api:349
vl_api_macip_acl_interface_list_dump_t::client_index
u32 client_index
Definition: acl.api:416
vl_api_acl_plugin_get_conn_table_max_entries_reply_t::conn_table_max_entries
u64 conn_table_max_entries
Definition: acl.api:93
vl_api_acl_add_replace_reply_t::retval
i32 retval
Definition: acl.api:126
vl_api_acl_details_t::context
u32 context
Definition: acl.api:218
vl_api_acl_plugin_control_ping_reply_t::retval
i32 retval
Definition: acl.api:70
vl_api_macip_acl_details_t::acl_index
u32 acl_index
Definition: acl.api:378
count
u8 count
Definition: dhcp.api:208
vl_api_acl_interface_set_etype_whitelist_t::vat_help
option vat_help
Definition: acl.api:453
vl_api_macip_acl_interface_get_t::context
u32 context
Definition: acl.api:392
vl_api_macip_acl_add_t::context
u32 context
Definition: acl.api:267
vl_api_macip_acl_add_reply_t::context
u32 context
Definition: acl.api:282
vl_api_macip_acl_add_t::count
u32 count
Definition: acl.api:269
vl_api_acl_dump_t::acl_index
u32 acl_index
Definition: acl.api:204
vl_api_acl_plugin_control_ping_t::client_index
u32 client_index
Definition: acl.api:57
vl_api_macip_acl_add_replace_t
Add/Replace a MACIP ACL.
Definition: acl.api:296
vl_api_macip_acl_interface_add_del_t::vat_help
option vat_help
Definition: acl.api:350
vl_api_macip_acl_dump_t::client_index
u32 client_index
Definition: acl.api:361
vl_api_macip_acl_dump_t::acl_index
u32 acl_index[default=0xffffffff]
Definition: acl.api:363
vl_api_macip_acl_add_t::tag
string tag[64]
Definition: acl.api:268
vl_api_acl_interface_set_acl_list_t::acls
u32 acls[count]
Definition: acl.api:185
vl_api_acl_interface_set_acl_list_t::client_index
u32 client_index
Definition: acl.api:180
vl_api_acl_interface_add_del_t
Use acl_interface_set_acl_list instead Append/remove an ACL index to/from the list of ACLs checked fo...
Definition: acl.api:154
vl_api_acl_dump_t::vat_help
option vat_help
Definition: acl.api:205
vl_api_acl_plugin_get_conn_table_max_entries_reply_t::context
u32 context
Definition: acl.api:92
vl_api_macip_acl_add_replace_reply_t::acl_index
u32 acl_index
Definition: acl.api:316
vl_api_acl_del_t
Delete an ACL.
Definition: acl.api:135
vl_api_acl_interface_etype_whitelist_dump_t
Dump the list(s) of Ethertype whitelists applied to specific or all interfaces.
Definition: acl.api:462
vl_api_macip_acl_add_t
Add a MACIP ACL.
Definition: acl.api:264
vl_api_acl_interface_set_acl_list_t::sw_if_index
vl_api_interface_index_t sw_if_index
Definition: acl.api:182
vl_api_acl_interface_set_acl_list_t::count
u8 count
Definition: acl.api:183
vl_api_acl_plugin_get_version_reply_t
Reply to get the plugin version.
Definition: acl.api:44
vl_api_acl_interface_set_etype_whitelist_t
Set the ethertype whitelists on an interface.
Definition: acl.api:445
vl_api_macip_acl_add_replace_t::count
u32 count
Definition: acl.api:302
vl_api_acl_stats_intf_counters_enable_t::vat_help
option vat_help
Definition: acl.api:498
vl_api_acl_interface_set_etype_whitelist_t::count
u8 count
Definition: acl.api:450
acl_index
u32 acl_index
Definition: abf.api:60
vl_api_acl_interface_set_etype_whitelist_t::whitelist
u16 whitelist[count]
Definition: acl.api:452
vl_api_macip_acl_add_t::r
vl_api_macip_acl_rule_t r[count]
Definition: acl.api:270
vl_api_acl_plugin_get_conn_table_max_entries_t::context
u32 context
Definition: acl.api:83
vl_api_macip_acl_interface_get_reply_t
Reply with the vector of MACIP ACLs by sw_if_index.
Definition: acl.api:401
vl_api_acl_plugin_control_ping_reply_t::vpe_pid
u32 vpe_pid
Definition: acl.api:72
vl_api_acl_interface_set_acl_list_t::context
u32 context
Definition: acl.api:181
vl_api_acl_interface_add_del_t::client_index
u32 client_index
Definition: acl.api:156
vl_api_acl_stats_intf_counters_enable_t
Enable or disable incrementing ACL counters in stats segment by interface processing.
Definition: acl.api:493
vl_api_macip_acl_interface_add_del_t
Add or delete a MACIP ACL to/from interface.
Definition: acl.api:342
vl_api_acl_add_replace_t::vat_help
option vat_help
Definition: acl.api:113
vl_api_acl_interface_set_etype_whitelist_t::context
u32 context
Definition: acl.api:448
vl_api_acl_interface_add_del_t::vat_help
option vat_help
Definition: acl.api:166
vl_api_macip_acl_del_t::context
u32 context
Definition: acl.api:329
vl_api_macip_acl_del_t::acl_index
u32 acl_index
Definition: acl.api:330
vl_api_macip_acl_add_t::client_index
u32 client_index
Definition: acl.api:266
vl_api_macip_acl_interface_add_del_t::is_add
bool is_add[default=true]
Definition: acl.api:346
vl_api_macip_acl_interface_list_details_t::acls
u32 acls[count]
Definition: acl.api:433
vl_api_acl_interface_list_dump_t::sw_if_index
vl_api_interface_index_t sw_if_index[default=0xffffffff]
Definition: acl.api:235
vl_api_acl_plugin_get_version_reply_t::major
u32 major
Definition: acl.api:47
vl_api_macip_acl_interface_list_details_t::count
u8 count
Definition: acl.api:432
vl_api_acl_plugin_get_version_reply_t::context
u32 context
Definition: acl.api:46
vl_api_macip_acl_add_replace_t::tag
string tag[64]
Definition: acl.api:301
u64
unsigned long u64
Definition: types.h:89
vl_api_acl_details_t::tag
string tag[64]
Definition: acl.api:220
vl_api_acl_del_t::client_index
u32 client_index
Definition: acl.api:137
vl_api_macip_acl_interface_get_reply_t::count
u32 count
Definition: acl.api:404
vl_api_acl_interface_etype_whitelist_details_t::whitelist
u16 whitelist[count]
Definition: acl.api:484
vl_api_macip_acl_add_replace_reply_t::context
u32 context
Definition: acl.api:315
u32
unsigned int u32
Definition: types.h:88
vl_api_acl_interface_list_dump_t::client_index
u32 client_index
Definition: acl.api:233
vl_api_acl_interface_set_etype_whitelist_t::sw_if_index
vl_api_interface_index_t sw_if_index
Definition: acl.api:449
vl_api_acl_plugin_get_version_t::client_index
u32 client_index
Definition: acl.api:34
vl_api_macip_acl_interface_get_reply_t::acls
u32 acls[count]
Definition: acl.api:405
vl_api_acl_interface_set_acl_list_t
Set the vector of input/output ACLs checked for an interface.
Definition: acl.api:178
vl_api_acl_interface_etype_whitelist_details_t::n_input
u8 n_input
Definition: acl.api:483
vl_api_acl_interface_etype_whitelist_dump_t::context
u32 context
Definition: acl.api:465
vl_api_macip_acl_interface_list_dump_t::sw_if_index
vl_api_interface_index_t sw_if_index
Definition: acl.api:418
vl_api_macip_acl_add_replace_reply_t
Reply to add/replace MACIP ACL.
Definition: acl.api:313
vl_api_macip_acl_interface_list_dump_t
Dump the list(s) of MACIP ACLs applied to specific or all interfaces.
Definition: acl.api:414
vl_api_acl_interface_list_details_t::count
u8 count
Definition: acl.api:251
vl_api_acl_add_replace_t
Replace an existing ACL in-place or create a new ACL.
Definition: acl.api:105
vl_api_macip_acl_interface_add_del_t::sw_if_index
vl_api_interface_index_t sw_if_index
Definition: acl.api:348
vl_api_acl_add_replace_t::count
u32 count
Definition: acl.api:111
vl_api_macip_acl_del_t::vat_help
option vat_help
Definition: acl.api:331
vl_api_acl_interface_etype_whitelist_dump_t::client_index
u32 client_index
Definition: acl.api:464
vl_api_acl_del_t::context
u32 context
Definition: acl.api:138
vl_api_acl_add_replace_reply_t::acl_index
u32 acl_index
Definition: acl.api:125
vl_api_acl_interface_list_dump_t::context
u32 context
Definition: acl.api:234
vl_api_macip_acl_interface_list_details_t::context
u32 context
Definition: acl.api:430
vl_api_acl_add_replace_reply_t::context
u32 context
Definition: acl.api:124
vl_api_macip_acl_details_t::tag
string tag[64]
Definition: acl.api:379
vl_api_acl_plugin_control_ping_reply_t
Control ping from the client to the server response.
Definition: acl.api:67
u8
unsigned char u8
Definition: types.h:56
vl_api_macip_acl_add_reply_t::retval
i32 retval
Definition: acl.api:284
vl_api_acl_add_replace_reply_t
Reply to add/replace ACL.
Definition: acl.api:122
vl_api_macip_acl_interface_get_reply_t::context
u32 context
Definition: acl.api:403
vl_api_macip_acl_interface_add_del_t::client_index
u32 client_index
Definition: acl.api:344
vl_api_acl_interface_list_details_t::n_input
u8 n_input
Definition: acl.api:252
vl_api_macip_acl_interface_list_dump_t::context
u32 context
Definition: acl.api:417
vl_api_acl_stats_intf_counters_enable_t::client_index
u32 client_index
Definition: acl.api:495
vl_api_acl_dump_t::client_index
u32 client_index
Definition: acl.api:202
vl_api_acl_interface_etype_whitelist_details_t
Details about ethertype whitelist on a single interface.
Definition: acl.api:478
vl_api_acl_interface_add_del_t::is_add
bool is_add[default=true]
Definition: acl.api:158
vl_api_acl_plugin_control_ping_reply_t::client_index
u32 client_index
Definition: acl.api:71
vl_api_acl_interface_add_del_t::context
u32 context
Definition: acl.api:157
vl_api_acl_stats_intf_counters_enable_t::enable
bool enable
Definition: acl.api:497
vl_api_acl_interface_set_acl_list_t::n_input
u8 n_input
Definition: acl.api:184
vl_api_acl_plugin_get_version_t::context
u32 context
Definition: acl.api:35
vl_api_macip_acl_interface_get_t
Get the vector of MACIP ACL IDs applied to the interfaces.
Definition: acl.api:389
sw_if_index
vl_api_interface_index_t sw_if_index
Definition: wireguard.api:34
vl_api_acl_del_t::vat_help
option vat_help
Definition: acl.api:140
vl_api_acl_interface_etype_whitelist_dump_t::sw_if_index
vl_api_interface_index_t sw_if_index
Definition: acl.api:466
vl_api_acl_details_t::r
vl_api_acl_rule_t r[count]
Definition: acl.api:222
vl_api_macip_acl_del_t::client_index
u32 client_index
Definition: acl.api:328
vl_api_macip_acl_add_replace_t::vat_help
option vat_help
Definition: acl.api:304
vl_api_acl_interface_set_acl_list_t::vat_help
option vat_help
Definition: acl.api:186
vl_api_acl_interface_list_details_t::acls
u32 acls[count]
Definition: acl.api:253
vl_api_acl_details_t
Details about a single ACL contents.
Definition: acl.api:216
vl_api_macip_acl_add_replace_reply_t::retval
i32 retval
Definition: acl.api:317
vl_api_macip_acl_details_t::r
vl_api_macip_acl_rule_t r[count]
Definition: acl.api:381
vl_api_macip_acl_add_replace_t::client_index
u32 client_index
Definition: acl.api:298
vl_api_macip_acl_add_replace_t::context
u32 context
Definition: acl.api:299
vl_api_acl_add_replace_t::tag
string tag[64]
Definition: acl.api:110