FD.io VPP  v19.08.2-294-g37e99c22d
Vector Packet Processing
vl_api_session_rules_details_t Struct Reference

Session rules details. More...

Data Fields

u32 context
 
u8 transport_proto
 
u8 is_ip4
 
u8 lcl_ip [16]
 
u8 lcl_plen
 
u8 rmt_ip [16]
 
u8 rmt_plen
 
u16 lcl_port
 
u16 rmt_port
 
u32 action_index
 
u32 appns_index
 
u8 scope
 
u8 tag [64]
 

Detailed Description

Session rules details.

Template Parameters
context- sender context, to match reply w/ request
transport_proto- transport protocol (0 - tcp 1 - udp)
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
appns_index- application namespace where rule is to be applied to
scope- flag that indicates scope of the rule: global or local. If 0, default is global, 1 is global 2 is local, 3 is both

Definition at line 506 of file session.api.

Field Documentation

◆ action_index

u32 vl_api_session_rules_details_t::action_index

Definition at line 517 of file session.api.

◆ appns_index

u32 vl_api_session_rules_details_t::appns_index

Definition at line 518 of file session.api.

◆ context

u32 vl_api_session_rules_details_t::context

Definition at line 508 of file session.api.

◆ is_ip4

u8 vl_api_session_rules_details_t::is_ip4

Definition at line 510 of file session.api.

◆ lcl_ip

u8 vl_api_session_rules_details_t::lcl_ip[16]

Definition at line 511 of file session.api.

◆ lcl_plen

u8 vl_api_session_rules_details_t::lcl_plen

Definition at line 512 of file session.api.

◆ lcl_port

u16 vl_api_session_rules_details_t::lcl_port

Definition at line 515 of file session.api.

◆ rmt_ip

u8 vl_api_session_rules_details_t::rmt_ip[16]

Definition at line 513 of file session.api.

◆ rmt_plen

u8 vl_api_session_rules_details_t::rmt_plen

Definition at line 514 of file session.api.

◆ rmt_port

u16 vl_api_session_rules_details_t::rmt_port

Definition at line 516 of file session.api.

◆ scope

u8 vl_api_session_rules_details_t::scope

Definition at line 519 of file session.api.

◆ tag

u8 vl_api_session_rules_details_t::tag[64]

Definition at line 520 of file session.api.

◆ transport_proto

u8 vl_api_session_rules_details_t::transport_proto

Definition at line 509 of file session.api.


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