FD.io VPP  v21.01.1
Vector Packet Processing
vl_api_classify_add_del_session_t Struct Reference

Classify add / del session request. More...

Data Fields

u32 client_index
 
u32 context
 
bool is_add
 
u32 table_index
 
u32 hit_next_index [default=0xffffffff]
 
u32 opaque_index [default=0xffffffff]
 
i32 advance [default=0]
 
vl_api_classify_action_t action [default=0]
 
u32 metadata [default=0]
 
u32 match_len
 
u8 match [match_len]
 

Detailed Description

Classify add / del session request.

Template Parameters
client_index- opaque cookie to identify the sender
context- sender context, to match reply w/ request
is_add- add session if non-zero, else delete
table_index- index of the table to add/del the session, required
hit_next_index- for add, hit_next_index of new session, required
opaque_index- for add, opaque_index of new session
advance-for add, advance value for session
action- 0: no action (by default) metadata is not used. 1: Classified IP packets will be looked up from the specified ipv4 fib table (configured by metadata as VRF id). Only valid for L3 input ACL node 2: Classified IP packets will be looked up from the specified ipv6 fib table (configured by metadata as VRF id). Only valid for L3 input ACL node 3: Classified packet will be steered to source routing policy of given index (in metadata). This is only valid for IPv6 packets redirected to a source routing node.
metadata- valid only if action != 0 VRF id if action is 1 or 2. sr policy index if action is 3.
match_len- length of match, should be equal to skip_n_vectors plus match_n_vectors of target table times sizeof (u32x4)
match- for add, match value for session, required, needs to include bytes in front with length of skip_n_vectors of target table times sizeof (u32x4) (values of those bytes will be ignored)

Definition at line 119 of file classify.api.

Field Documentation

◆ action

vl_api_classify_action_t vl_api_classify_add_del_session_t::action[default=0]

Definition at line 128 of file classify.api.

◆ advance

i32 vl_api_classify_add_del_session_t::advance[default=0]

Definition at line 127 of file classify.api.

◆ client_index

u32 vl_api_classify_add_del_session_t::client_index

Definition at line 121 of file classify.api.

◆ context

u32 vl_api_classify_add_del_session_t::context

Definition at line 122 of file classify.api.

◆ hit_next_index

u32 vl_api_classify_add_del_session_t::hit_next_index[default=0xffffffff]

Definition at line 125 of file classify.api.

◆ is_add

bool vl_api_classify_add_del_session_t::is_add

Definition at line 123 of file classify.api.

◆ match

u8 vl_api_classify_add_del_session_t::match[match_len]

Definition at line 131 of file classify.api.

◆ match_len

u32 vl_api_classify_add_del_session_t::match_len

Definition at line 130 of file classify.api.

◆ metadata

u32 vl_api_classify_add_del_session_t::metadata[default=0]

Definition at line 129 of file classify.api.

◆ opaque_index

u32 vl_api_classify_add_del_session_t::opaque_index[default=0xffffffff]

Definition at line 126 of file classify.api.

◆ table_index

u32 vl_api_classify_add_del_session_t::table_index

Definition at line 124 of file classify.api.


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