FD.io VPP  v17.01.1-3-gc6833f8
Vector Packet Processing
vl_api_classify_add_del_table_t Struct Reference

Add/Delete classification table request. More...

Data Fields

u32 client_index
 
u32 context
 
u8 is_add
 
u8 del_chain
 
u32 table_index
 
u32 nbuckets
 
u32 memory_size
 
u32 skip_n_vectors
 
u32 match_n_vectors
 
u32 next_table_index
 
u32 miss_next_index
 
u32 current_data_flag
 
i32 current_data_offset
 
u8 mask [0]
 

Detailed Description

Add/Delete classification table request.

Template Parameters
client_index- opaque cookie to identify the sender
context- sender context, to match reply w/ request
is_add-if non-zero add the table, else delete it
del_chain- if non-zero delete the whole chain of tables
table_index- if add, reuturns index of the created table, else specifies the table to delete
nbuckets- number of buckets when adding a table
memory_size- memory size when adding a table
match_n_vectors- number of match vectors
next_table_index- index of next table
miss_next_index- index of miss table
current_data_flag- option to use current node's packet payload as the starting point from where packets are classified, This option is only valid for L2/L3 input ACL for now. 0: by default, classify data from the buffer's start location 1: classify packets from VPP node’s current data pointer
current_data_offset- a signed value to shift the start location of the packet to be classified For example, if input IP ACL node is used, L2 header’s first byte can be accessible by configuring current_data_offset to -14 if there is no vlan tag. This is valid only if current_data_flag is set to 1.
mask[]- match mask

Definition at line 1132 of file vpe.api.

Field Documentation

u32 vl_api_classify_add_del_table_t::client_index

Definition at line 1134 of file vpe.api.

u32 vl_api_classify_add_del_table_t::context

Definition at line 1135 of file vpe.api.

u32 vl_api_classify_add_del_table_t::current_data_flag

Definition at line 1145 of file vpe.api.

i32 vl_api_classify_add_del_table_t::current_data_offset

Definition at line 1146 of file vpe.api.

u8 vl_api_classify_add_del_table_t::del_chain

Definition at line 1137 of file vpe.api.

u8 vl_api_classify_add_del_table_t::is_add

Definition at line 1136 of file vpe.api.

u8 vl_api_classify_add_del_table_t::mask[0]

Definition at line 1147 of file vpe.api.

u32 vl_api_classify_add_del_table_t::match_n_vectors

Definition at line 1142 of file vpe.api.

u32 vl_api_classify_add_del_table_t::memory_size

Definition at line 1140 of file vpe.api.

u32 vl_api_classify_add_del_table_t::miss_next_index

Definition at line 1144 of file vpe.api.

u32 vl_api_classify_add_del_table_t::nbuckets

Definition at line 1139 of file vpe.api.

u32 vl_api_classify_add_del_table_t::next_table_index

Definition at line 1143 of file vpe.api.

u32 vl_api_classify_add_del_table_t::skip_n_vectors

Definition at line 1141 of file vpe.api.

u32 vl_api_classify_add_del_table_t::table_index

Definition at line 1138 of file vpe.api.


The documentation for this struct was generated from the following file: