FD.io VPP  v19.08.3-2-gbabecb413
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
 
u8 is_add
 
u32 table_index
 
u32 hit_next_index
 
u32 opaque_index
 
i32 advance
 
u8 action
 
u32 metadata
 
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 routig 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 109 of file classify.api.

Field Documentation

◆ action

u8 vl_api_classify_add_del_session_t::action

Definition at line 118 of file classify.api.

◆ advance

i32 vl_api_classify_add_del_session_t::advance

Definition at line 117 of file classify.api.

◆ client_index

u32 vl_api_classify_add_del_session_t::client_index

Definition at line 111 of file classify.api.

◆ context

u32 vl_api_classify_add_del_session_t::context

Definition at line 112 of file classify.api.

◆ hit_next_index

u32 vl_api_classify_add_del_session_t::hit_next_index

Definition at line 115 of file classify.api.

◆ is_add

u8 vl_api_classify_add_del_session_t::is_add

Definition at line 113 of file classify.api.

◆ match

u8 vl_api_classify_add_del_session_t::match[match_len]

Definition at line 121 of file classify.api.

◆ match_len

u32 vl_api_classify_add_del_session_t::match_len

Definition at line 120 of file classify.api.

◆ metadata

u32 vl_api_classify_add_del_session_t::metadata

Definition at line 119 of file classify.api.

◆ opaque_index

u32 vl_api_classify_add_del_session_t::opaque_index

Definition at line 116 of file classify.api.

◆ table_index

u32 vl_api_classify_add_del_session_t::table_index

Definition at line 114 of file classify.api.


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