FD.io VPP  v18.07.1-13-g909ba93
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
u8 match [0]

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[]- for add, match value for session, required

Definition at line 102 of file classify.api.

Field Documentation

u8 vl_api_classify_add_del_session_t::action

Definition at line 111 of file classify.api.

i32 vl_api_classify_add_del_session_t::advance

Definition at line 110 of file classify.api.

u32 vl_api_classify_add_del_session_t::client_index

Definition at line 104 of file classify.api.

u32 vl_api_classify_add_del_session_t::context

Definition at line 105 of file classify.api.

u32 vl_api_classify_add_del_session_t::hit_next_index

Definition at line 108 of file classify.api.

u8 vl_api_classify_add_del_session_t::is_add

Definition at line 106 of file classify.api.

u8 vl_api_classify_add_del_session_t::match[0]

Definition at line 113 of file classify.api.

u32 vl_api_classify_add_del_session_t::metadata

Definition at line 112 of file classify.api.

u32 vl_api_classify_add_del_session_t::opaque_index

Definition at line 109 of file classify.api.

u32 vl_api_classify_add_del_session_t::table_index

Definition at line 107 of file classify.api.

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