|
FD.io VPP
v21.10.1-2-g0a485f517
Vector Packet Processing
|
Go to the documentation of this file.
17 import "vnet/ip/ip_types.api";
18 import "vnet/interface_types.api";
19 import "plugins/nat/lib/nat_types.api";
48 autoreply define nat44_ei_plugin_enable_disable {
60 vl_api_nat44_ei_config_flags_t
flags;
67 define nat44_ei_show_running_config
88 define nat44_ei_show_running_config_reply
104 vl_api_nat44_ei_config_flags_t
flags;
112 autoreply define nat44_ei_set_log_level {
135 define nat44_ei_worker_dump {
147 define nat44_ei_worker_details {
162 autoreply define nat44_ei_ipfix_enable_disable {
179 autoreply define nat44_ei_set_timeouts {
201 autoreply define nat44_ei_set_addr_and_port_alloc_alg {
217 define nat44_ei_get_addr_and_port_alloc_alg {
235 define nat44_ei_get_addr_and_port_alloc_alg_reply {
253 autoreply define nat44_ei_set_mss_clamping {
265 define nat44_ei_get_mss_clamping {
277 define nat44_ei_get_mss_clamping_reply {
292 autoreply define nat44_ei_ha_set_listener {
309 autoreply define nat44_ei_ha_set_failover {
322 define nat44_ei_ha_get_listener {
335 define nat44_ei_ha_get_listener_reply {
348 define nat44_ei_ha_get_failover {
362 define nat44_ei_ha_get_failover_reply {
375 autoreply define nat44_ei_ha_flush {
389 autoreply define nat44_ei_ha_resync
403 define nat44_ei_ha_resync_completed_event
412 rpc nat44_ei_ha_resync returns nat44_ei_ha_resync_reply
events nat44_ei_ha_resync_completed_event;
421 autoreply define nat44_ei_del_user {
438 autoreply define nat44_ei_add_del_address_range {
452 define nat44_ei_address_dump {
463 define nat44_ei_address_details {
478 autoreply define nat44_ei_interface_add_del_feature {
483 vl_api_nat44_ei_config_flags_t
flags;
491 define nat44_ei_interface_dump {
505 define nat44_ei_interface_details {
508 vl_api_nat44_ei_config_flags_t
flags;
526 vl_api_nat44_ei_config_flags_t
flags;
534 define nat44_ei_interface_output_feature_dump {
546 define nat44_ei_interface_output_feature_details {
549 vl_api_nat44_ei_config_flags_t
flags;
574 vl_api_nat44_ei_config_flags_t
flags;
589 define nat44_ei_static_mapping_dump {
607 define nat44_ei_static_mapping_details {
610 vl_api_nat44_ei_config_flags_t
flags;
634 autoreply define nat44_ei_add_del_identity_mapping {
639 vl_api_nat44_ei_config_flags_t
flags;
652 define nat44_ei_identity_mapping_dump {
668 define nat44_ei_identity_mapping_details {
671 vl_api_nat44_ei_config_flags_t
flags;
687 autoreply define nat44_ei_add_del_interface_addr {
693 vl_api_nat44_ei_config_flags_t
flags;
700 define nat44_ei_interface_addr_dump {
711 define nat44_ei_interface_addr_details {
721 define nat44_ei_user_dump {
734 define nat44_ei_user_details {
749 define nat44_ei_user_session_dump {
771 define nat44_ei_user_session_details {
779 vl_api_nat44_ei_config_flags_t
flags;
809 vl_api_nat44_ei_config_flags_t
flags;
821 autoreply define nat44_ei_forwarding_enable_disable {
833 autoreply define nat44_ei_set_fq_options {
844 define nat44_ei_show_fq_options
856 define nat44_ei_show_fq_options_reply
@ NAT44_EI_STATIC_MAPPING_ONLY
Dump interfaces with NAT44 feature.
vl_api_ip4_address_t local_ip_address
@ NAT44_EI_ADDR_ONLY_MAPPING
vl_api_ip4_address_t ip_address
vl_api_nat44_ei_config_flags_t flags
vl_api_interface_index_t external_sw_if_index
@ NAT44_EI_STATIC_MAPPING
vl_api_nat44_ei_config_flags_t flags
vl_api_nat44_ei_config_flags_t flags
Add/delete NAT44 pool address from specific interfce.
Show NAT44 plugin running config reply.
Get TCP MSS rewriting configuration.
vl_api_nat44_ei_config_flags_t flags
vl_api_ip4_address_t ip_address
NAT44 interface with output feature details response.
Set TCP MSS rewriting configuration.
vl_api_nat44_ei_config_flags_t flags
Get HA listener/local configuration.
vl_api_nat44_ei_config_flags_t flags
vl_api_ip4_address_t external_ip_address
Get address and port assignment algorithm.
Set HA listener (local settings)
Dump interfaces with NAT44 output feature.
vl_api_interface_index_t sw_if_index
Set address and port assignment algorithm.
vl_api_interface_index_t sw_if_index
Show NAT44 plugin running config.
vl_api_nat_log_level_t log_level
vl_api_ip4_address_t inside_ip_address
vl_api_interface_index_t sw_if_index
Dump NAT44 pool addresses interfaces.
Add/delete NAT44 identity mapping.
vl_api_ip4_address_t ip_address
Flush the current HA data (for testing)
u32 session_refresh_interval
Add/delete NAT44 static mapping.
vl_api_ip4_address_t last_ip_address
Dump NAT44 static mappings.
vl_api_ip4_address_t ip_address
vl_api_ip4_address_t outside_ip_address
vl_api_ip4_address_t ext_host_address
vl_api_ip4_address_t ip_address
vl_api_ip4_address_t ip_address
vl_api_ip4_address_t ip_address
vl_api_nat44_ei_config_flags_t flags
NAT44 interface details response.
Dump NAT44 identity mappings.
vl_api_nat44_ei_config_flags_t flags
vl_api_nat44_ei_config_flags_t flags
@ NAT44_EI_CONNECTION_TRACKING
int nat44_ei_add_del_static_mapping(ip4_address_t l_addr, ip4_address_t e_addr, u16 l_port, u16 e_port, nat_protocol_t proto, u32 sw_if_index, u32 vrf_id, u8 addr_only, u8 identity_nat, u8 *tag, u8 is_add)
Add/delete NAT44-EI static mapping.
Get HA failover/remote settings reply.
Tell client about a HA resync completion event.
static perfmon_event_t events[]
vl_api_nat44_ei_config_flags_t flags
Set HA failover (remote settings)
bool ipfix_logging_enabled
vl_api_ip4_address_t ext_host_address
NAT44 static mapping details response.
int nat44_ei_del_session(nat44_ei_main_t *nm, ip4_address_t *addr, u16 port, nat_protocol_t proto, u32 vrf_id, int is_in)
Delete NAT44-EI session.
vl_api_ip4_address_t external_ip_address
vl_api_interface_index_t sw_if_index
NAT44 pool addresses interfaces details response.
Get address and port assignment algorithm reply.
Get TCP MSS rewriting configuration reply.
Show NAT handoff frame queue options.
vl_api_nat_timeouts_t timeouts
Get HA listener/local configuration reply.
Enable/disable NAT IPFIX logging.
vl_api_interface_index_t sw_if_index
Enable/disable NAT44 feature on the interface.
vl_api_interface_index_t external_sw_if_index
vl_api_interface_index_t sw_if_index
NAT44 user's sessions response.
Set NAT handoff frame queue options.
Enable/disable forwarding for NAT44 Forward packets which don't match existing translation or static ...
vl_api_interface_index_t sw_if_index
int nat44_ei_interface_add_del_output_feature(u32 sw_if_index, u8 is_inside, int is_del)
int nat44_ei_set_workers(uword *bitmap)
vl_api_nat44_ei_config_flags_t flags
u32 session_refresh_interval
Enable/disbale NAT44 as an interface output feature (postrouting in2out translation)
NAT workers details response.
Enable/disable NAT44 plugin.
vl_api_ip4_address_t ip_address
Resync HA (resend existing sessions to new failover)
Get HA failover/remote settings.
vl_api_ip4_address_t local_ip_address
vl_api_ip4_address_t first_ip_address
vl_api_interface_index_t sw_if_index
Show NAT handoff frame queue options reply.
vl_api_ip4_address_t address
NAT44 identity mapping details response.
vl_api_nat44_ei_config_flags_t flags
vl_api_ip4_address_t ip_address
vl_api_nat_log_level_t log_level
Add/del NAT44 address range.
vl_api_nat44_ei_config_flags_t flags
NAT44 address details response.
vl_api_ip4_address_t ip_address
Set values of timeouts for NAT sessions (seconds)