FD.io VPP  v21.06-3-gbb25fbf28
Vector Packet Processing
vl_api_session_rule_add_del_t Struct Reference

add/del session rule More...

Data Fields

u32 client_index
 
u32 context
 
vl_api_transport_proto_t transport_proto
 
vl_api_prefix_t lcl
 
vl_api_prefix_t rmt
 
u16 lcl_port
 
u16 rmt_port
 
u32 action_index
 
bool is_add [default=true]
 
u32 appns_index
 
vl_api_session_rule_scope_t scope
 
string tag [64]
 

Detailed Description

add/del session rule

Template Parameters
client_index- opaque cookie to identify the sender client to vpp direction only
context- sender context, to match reply w/ request
transport_proto- transport protocol
is_ip4- flag to indicate if ip addresses are ip4 or 6
lcl_ip- local ip
lcl_plen- local prefix length
rmt_ip- remote ip
rmt_ple- remote prefix length
lcl_port- local port
rmt_port- remote port
action_index- the only action defined now is forward to application with index action_index
is_add- flag to indicate if add or del
appns_index- application namespace where rule is to be applied to
scope- enum that indicates scope of the rule: global or local. If 0, default is global, 1 is global 2 is local, 3 is both
tag- tag

Definition at line 267 of file session.api.

Field Documentation

◆ action_index

u32 vl_api_session_rule_add_del_t::action_index

Definition at line 275 of file session.api.

◆ appns_index

u32 vl_api_session_rule_add_del_t::appns_index

Definition at line 277 of file session.api.

◆ client_index

u32 vl_api_session_rule_add_del_t::client_index

Definition at line 268 of file session.api.

◆ context

u32 vl_api_session_rule_add_del_t::context

Definition at line 269 of file session.api.

◆ is_add

bool vl_api_session_rule_add_del_t::is_add[default=true]

Definition at line 276 of file session.api.

◆ lcl

vl_api_prefix_t vl_api_session_rule_add_del_t::lcl

Definition at line 271 of file session.api.

◆ lcl_port

u16 vl_api_session_rule_add_del_t::lcl_port

Definition at line 273 of file session.api.

◆ rmt

vl_api_prefix_t vl_api_session_rule_add_del_t::rmt

Definition at line 272 of file session.api.

◆ rmt_port

u16 vl_api_session_rule_add_del_t::rmt_port

Definition at line 274 of file session.api.

◆ scope

vl_api_session_rule_scope_t vl_api_session_rule_add_del_t::scope

Definition at line 278 of file session.api.

◆ tag

string vl_api_session_rule_add_del_t::tag[64]

Definition at line 279 of file session.api.

◆ transport_proto

vl_api_transport_proto_t vl_api_session_rule_add_del_t::transport_proto

Definition at line 270 of file session.api.


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