FD.io VPP
v19.01.3-6-g70449b9b9
Vector Packet Processing
|
add/del session rule More...
Data Fields | |
u32 | client_index |
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 |
u8 | is_add |
u32 | appns_index |
u8 | scope |
u8 | tag [64] |
add/del session rule
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 (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 |
is_add | - flag to indicate if add or del |
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 556 of file session.api.
u32 vl_api_session_rule_add_del_t::action_index |
Definition at line 567 of file session.api.
u32 vl_api_session_rule_add_del_t::appns_index |
Definition at line 569 of file session.api.
u32 vl_api_session_rule_add_del_t::client_index |
Definition at line 557 of file session.api.
u32 vl_api_session_rule_add_del_t::context |
Definition at line 558 of file session.api.
u8 vl_api_session_rule_add_del_t::is_add |
Definition at line 568 of file session.api.
u8 vl_api_session_rule_add_del_t::is_ip4 |
Definition at line 560 of file session.api.
u8 vl_api_session_rule_add_del_t::lcl_ip[16] |
Definition at line 561 of file session.api.
u8 vl_api_session_rule_add_del_t::lcl_plen |
Definition at line 562 of file session.api.
u16 vl_api_session_rule_add_del_t::lcl_port |
Definition at line 565 of file session.api.
u8 vl_api_session_rule_add_del_t::rmt_ip[16] |
Definition at line 563 of file session.api.
u8 vl_api_session_rule_add_del_t::rmt_plen |
Definition at line 564 of file session.api.
u16 vl_api_session_rule_add_del_t::rmt_port |
Definition at line 566 of file session.api.
u8 vl_api_session_rule_add_del_t::scope |
Definition at line 570 of file session.api.
u8 vl_api_session_rule_add_del_t::tag[64] |
Definition at line 571 of file session.api.
u8 vl_api_session_rule_add_del_t::transport_proto |
Definition at line 559 of file session.api.