|
FD.io VPP
v21.10.1-2-g0a485f517
Vector Packet Processing
|
Go to the documentation of this file.
18 import "vnet/interface_types.api";
45 define classify_add_del_table
51 u32 table_index [
default=0xffffffff];
52 u32 nbuckets [
default=2];
54 u32 skip_n_vectors [
default=0];
55 u32 match_n_vectors [
default=1];
56 u32 next_table_index [
default=0xffffffff];
57 u32 miss_next_index [
default=0xffffffff];
58 u8 current_data_flag [
default=0];
59 i16 current_data_offset [
default=0];
71 define classify_add_del_table_reply
80 enum classify_action :
u8
119 autoreply define classify_add_del_session
125 u32 hit_next_index [
default=0xffffffff];
126 u32 opaque_index [
default=0xffffffff];
128 vl_api_classify_action_t
action [
default=0];
145 autoreply define policer_classify_set_interface
170 define policer_classify_dump
174 vl_api_policer_classify_table_t
type;
183 define policer_classify_details
194 define classify_table_ids
205 define classify_table_ids_reply
218 define classify_table_by_interface
233 define classify_table_by_interface_reply
248 define classify_table_info
267 define classify_table_info_reply
287 define classify_session_dump
303 define classify_session_details
312 u8 match[match_length];
326 autoreply define flow_classify_set_interface {
347 define flow_classify_dump {
350 vl_api_flow_classify_table_t
type;
359 define flow_classify_details {
372 autoreply define classify_set_interface_ip_table
389 autoreply define classify_set_interface_l2_tables
412 autoreply define input_acl_set_interface
434 autoreply define output_acl_set_interface
456 define classify_pcap_lookup_table
461 u32 skip_n_vectors [
default=0];
462 u32 match_n_vectors [
default=1];
472 define classify_pcap_lookup_table_reply
486 define classify_pcap_set_table
491 u32 table_index [
default=0xffffffff];
492 bool sort_masks [
default=0];
500 define classify_pcap_set_table_reply
511 define classify_pcap_get_tables
524 define classify_pcap_get_tables_reply
542 define classify_trace_lookup_table
546 u32 skip_n_vectors [
default=0];
547 u32 match_n_vectors [
default=1];
557 define classify_trace_lookup_table_reply
570 define classify_trace_set_table
574 u32 table_index [
default=0xffffffff];
575 bool sort_masks [
default=0];
583 define classify_trace_set_table_reply
594 define classify_trace_get_tables
606 define classify_trace_get_tables_reply
Classify get the Trace table indices.
Add a Classify table into a PCAP chain on an interface.
u32 skip_n_vectors[default=0]
Classify table ids by interface index request.
Classify get table IDs request.
i16 current_data_offset[default=0]
Set/unset policer classify interface.
u32 next_table_index[default=0xffffffff]
@ CLASSIFY_API_ACTION_SET_IP4_FIB_INDEX
@ CLASSIFY_API_ACTION_SET_IP6_FIB_INDEX
vl_api_interface_index_t sw_if_index
Reply for classify get table IDs request.
Add/Delete classification table request.
u32 skip_n_vectors[default=0]
@ CLASSIFY_API_ACTION_SET_METADATA
Classify add / del session request.
u32 match_n_vectors[default=1]
vl_api_interface_index_t sw_if_index
Flow classify operational state response.
Find a mask-compatible Classify table in the Trace chain.
Get list of policer classify interfaces and tables.
vl_api_interface_index_t sw_if_index
Set/unset flow classify interface.
vl_api_interface_index_t sw_if_index
u32 memory_size[default=2097152]
@ FLOW_CLASSIFY_API_TABLE_IP6
vl_api_interface_index_t sw_if_index[default=0xffffffff]
bool sort_masks[default=0]
u32 table_index[default=0xffffffff]
u32 match_n_vectors[default=1]
u32 opaque_index[default=0xffffffff]
u8 current_data_flag[default=0]
@ POLICER_CLASSIFY_API_TABLE_L2
Get list of flow classify interfaces and tables.
@ POLICER_CLASSIFY_API_TABLE_IP6
vl_api_classify_action_t action[default=0]
u32 table_index[default=0xffffffff]
Classify pcap table lookup response.
Classify sessions dump request.
Policer classify operational state response.
u32 match_n_vectors[default=1]
vl_api_interface_index_t sw_if_index
@ FLOW_CLASSIFY_API_TABLE_IP4
@ POLICER_CLASSIFY_API_TABLE_IP4
u32 skip_n_vectors[default=0]
vl_api_policer_classify_table_t type
Classify get the Trace tables response.
vl_api_interface_index_t sw_if_index
Find a compatible Classify table in a PCAP chain.
Set/unset l2 classification tables for an interface request.
Add/Delete classification table response.
vl_api_interface_index_t sw_if_index
vl_api_interface_index_t sw_if_index
u32 hit_next_index[default=0xffffffff]
Reply for classify table id by interface index request.
Reply for classify table info request.
Classify pcap table lookup response.
bool sort_masks[default=0]
vl_api_interface_index_t sw_if_index
@ CLASSIFY_API_ACTION_NONE
Classify get the PCAP table indices for an interface.
vl_api_interface_index_t sw_if_index
Set/unset the classification table for an interface request.
Reply for classify table session dump request.
Classify get a PCAP tables response.
Classify Trace table lookup response.
vl_api_flow_classify_table_t type
vl_api_mac_event_action_t action
vl_api_interface_index_t sw_if_index
vl_api_interface_index_t sw_if_index
u32 table_index[default=0xffffffff]
Classify trace table lookup response.
u32 miss_next_index[default=0xffffffff]
Set/unset output ACL interface.
Add a Classify table into the Trace chain.
vl_api_interface_index_t sw_if_index
vl_api_interface_index_t sw_if_index