FD.io VPP  v21.06-3-gbb25fbf28
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
 
bool is_add
 
bool del_chain
 
u32 table_index [default=0xffffffff]
 
u32 nbuckets [default=2]
 
u32 memory_size [default=2097152]
 
u32 skip_n_vectors [default=0]
 
u32 match_n_vectors [default=1]
 
u32 next_table_index [default=0xffffffff]
 
u32 miss_next_index [default=0xffffffff]
 
u8 current_data_flag [default=0]
 
i16 current_data_offset [default=0]
 
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, returns 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 45 of file classify.api.

Field Documentation

◆ client_index

u32 vl_api_classify_add_del_table_t::client_index

Definition at line 47 of file classify.api.

◆ context

u32 vl_api_classify_add_del_table_t::context

Definition at line 48 of file classify.api.

◆ current_data_flag

u8 vl_api_classify_add_del_table_t::current_data_flag[default=0]

Definition at line 58 of file classify.api.

◆ current_data_offset

i16 vl_api_classify_add_del_table_t::current_data_offset[default=0]

Definition at line 59 of file classify.api.

◆ del_chain

bool vl_api_classify_add_del_table_t::del_chain

Definition at line 50 of file classify.api.

◆ is_add

bool vl_api_classify_add_del_table_t::is_add

Definition at line 49 of file classify.api.

◆ mask

u8 vl_api_classify_add_del_table_t::mask[mask_len]

Definition at line 61 of file classify.api.

◆ mask_len

u32 vl_api_classify_add_del_table_t::mask_len

Definition at line 60 of file classify.api.

◆ match_n_vectors

u32 vl_api_classify_add_del_table_t::match_n_vectors[default=1]

Definition at line 55 of file classify.api.

◆ memory_size

u32 vl_api_classify_add_del_table_t::memory_size[default=2097152]

Definition at line 53 of file classify.api.

◆ miss_next_index

u32 vl_api_classify_add_del_table_t::miss_next_index[default=0xffffffff]

Definition at line 57 of file classify.api.

◆ nbuckets

u32 vl_api_classify_add_del_table_t::nbuckets[default=2]

Definition at line 52 of file classify.api.

◆ next_table_index

u32 vl_api_classify_add_del_table_t::next_table_index[default=0xffffffff]

Definition at line 56 of file classify.api.

◆ skip_n_vectors

u32 vl_api_classify_add_del_table_t::skip_n_vectors[default=0]

Definition at line 54 of file classify.api.

◆ table_index

u32 vl_api_classify_add_del_table_t::table_index[default=0xffffffff]

Definition at line 51 of file classify.api.


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