FD.io VPP  v19.08-23-g4b943d6
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
 
u32 mask_len
 
u8 mask [mask_len]
 

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_len- length of match mask, should be equal to match_n_vectors * sizeof (u32x4)
mask- match mask

Definition at line 43 of file classify.api.

Field Documentation

u32 vl_api_classify_add_del_table_t::client_index

Definition at line 45 of file classify.api.

u32 vl_api_classify_add_del_table_t::context

Definition at line 46 of file classify.api.

u32 vl_api_classify_add_del_table_t::current_data_flag

Definition at line 56 of file classify.api.

i32 vl_api_classify_add_del_table_t::current_data_offset

Definition at line 57 of file classify.api.

u8 vl_api_classify_add_del_table_t::del_chain

Definition at line 48 of file classify.api.

u8 vl_api_classify_add_del_table_t::is_add

Definition at line 47 of file classify.api.

u8 vl_api_classify_add_del_table_t::mask[mask_len]

Definition at line 59 of file classify.api.

u32 vl_api_classify_add_del_table_t::mask_len

Definition at line 58 of file classify.api.

u32 vl_api_classify_add_del_table_t::match_n_vectors

Definition at line 53 of file classify.api.

u32 vl_api_classify_add_del_table_t::memory_size

Definition at line 51 of file classify.api.

u32 vl_api_classify_add_del_table_t::miss_next_index

Definition at line 55 of file classify.api.

u32 vl_api_classify_add_del_table_t::nbuckets

Definition at line 50 of file classify.api.

u32 vl_api_classify_add_del_table_t::next_table_index

Definition at line 54 of file classify.api.

u32 vl_api_classify_add_del_table_t::skip_n_vectors

Definition at line 52 of file classify.api.

u32 vl_api_classify_add_del_table_t::table_index

Definition at line 49 of file classify.api.


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