|
FD.io VPP
v21.10.1-2-g0a485f517
Vector Packet Processing
|
Go to the documentation of this file.
24 import "plugins/acl/acl_types.api";
25 import "vnet/interface_types.api";
32 define acl_plugin_get_version
44 define acl_plugin_get_version_reply
55 define acl_plugin_control_ping
67 define acl_plugin_control_ping_reply
80 define acl_plugin_get_conn_table_max_entries
90 define acl_plugin_get_conn_table_max_entries_reply
105 define acl_add_replace
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], ... , ...";
122 define acl_add_replace_reply
135 autoreply define acl_del
140 option vat_help =
"<acl-idx>";
154 autoreply define acl_interface_add_del
158 bool is_add [
default=
true];
166 option vat_help =
"<intfc> | sw_if_index <if-idx> [add|del] [input|output] acl <acl-idx>";
178 autoreply define acl_interface_set_acl_list
186 option vat_help =
"<intfc> | sw_if_index <if-idx> input [acl-idx list] output [acl-idx list]";
205 option vat_help =
"[<acl-idx>]";
231 define acl_interface_list_dump
236 option vat_help =
"[<intfc> | sw_if_index <if-idx>]";
247 define acl_interface_list_details
271 option vat_help =
"...";
280 define macip_acl_add_reply
296 define macip_acl_add_replace
304 option vat_help =
"<acl-idx> <permit|deny|action N> [count <count>] [src] ip <ipaddress/[plen]> mac <mac> mask <mac_mask>, ... , ...";
313 define macip_acl_add_replace_reply
326 autoreply define macip_acl_del
331 option vat_help =
"<acl-idx>";
342 autoreply define macip_acl_interface_add_del
346 bool is_add [
default=
true];
350 option vat_help =
"<intfc> | sw_if_index <if-idx> [add|del] acl <acl-idx>";
359 define macip_acl_dump
364 option vat_help =
"[<acl-idx>]";
375 define macip_acl_details
389 define macip_acl_interface_get
401 define macip_acl_interface_get_reply
414 define macip_acl_interface_list_dump
428 define macip_acl_interface_list_details
445 autoreply define acl_interface_set_etype_whitelist
453 option vat_help =
"<intfc> | sw_if_index <if-idx> input [ethertype list] output [ethertype list]";
462 define acl_interface_etype_whitelist_dump
467 option vat_help =
"[<intfc> | sw_if_index <if-idx>]";
478 define acl_interface_etype_whitelist_details
493 autoreply define acl_stats_intf_counters_enable
498 option vat_help =
"[disable]";
507 autoreply define acl_plugin_use_hash_lookup_set
509 option status=
"in_progress";
521 define acl_plugin_use_hash_lookup_get
523 option status=
"in_progress";
534 define acl_plugin_use_hash_lookup_get_reply
536 option status=
"in_progress";
vl_api_interface_index_t sw_if_index
Dump the list(s) of ACL applied to specific or all interfaces.
Reply to get connection table max entries.
vl_api_interface_index_t sw_if_index
Details about a single ACL contents.
Details about one MACIP ACL.
Get Connection table max entries.
Dump one or all defined MACIP ACLs.
vl_api_macip_acl_rule_t r[count]
vl_api_interface_index_t sw_if_index
Details about a single MACIP ACL contents.
Reply with the previous state of the hash lookup.
u32 acl_index[default=0xffffffff]
Reply to set the ACL list on an interface.
vl_api_interface_index_t sw_if_index
vl_api_acl_rule_t r[count]
vnet_hw_if_output_node_runtime_t * r
Control ping from client to api server request.
u64 conn_table_max_entries
u32 acl_index[default=0xffffffff]
Use acl_interface_set_acl_list instead Append/remove an ACL index to/from the list of ACLs checked fo...
Dump the list(s) of Ethertype whitelists applied to specific or all interfaces.
vl_api_interface_index_t sw_if_index
Reply to get the plugin version.
Set the ethertype whitelists on an interface.
Enable hash-based ACL lookups (default) or disable them (use linear search)
Get if the hash-based ACL lookups are enabled (default) or not (use linear search)
vl_api_macip_acl_rule_t r[count]
Reply with the vector of MACIP ACLs by sw_if_index.
Enable or disable incrementing ACL counters in stats segment by interface processing.
Add or delete a MACIP ACL to/from interface.
bool is_add[default=true]
vl_api_interface_index_t sw_if_index[default=0xffffffff]
vl_api_interface_index_t sw_if_index
Set the vector of input/output ACLs checked for an interface.
vl_api_interface_index_t sw_if_index
Reply to add/replace MACIP ACL.
Dump the list(s) of MACIP ACLs applied to specific or all interfaces.
Replace an existing ACL in-place or create a new ACL.
vl_api_interface_index_t sw_if_index
Control ping from the client to the server response.
Reply to add/replace ACL.
Details about ethertype whitelist on a single interface.
bool is_add[default=true]
Get the vector of MACIP ACL IDs applied to the interfaces.
vl_api_interface_index_t sw_if_index
vl_api_interface_index_t sw_if_index
vl_api_acl_rule_t r[count]
Details about a single ACL contents.
vl_api_macip_acl_rule_t r[count]