FD.io VPP  v21.06-3-gbb25fbf28
Vector Packet Processing
nat44_ed.api File Reference

Go to the source code of this file.

Data Structures

struct  vl_api_nat44_plugin_enable_disable_t
 Enable/disable NAT44 plugin. More...
 
struct  vl_api_nat44_ed_plugin_enable_disable_t
 Enable/disable NAT44ED plugin. More...
 
struct  vl_api_nat_control_ping_t
 Control ping from client to api server request. More...
 
struct  vl_api_nat_control_ping_reply_t
 Control ping from the client to the server response. More...
 
struct  vl_api_nat_show_config_t
 Show NAT plugin startup config. More...
 
struct  vl_api_nat_show_config_reply_t
 DEPRECATED: Show NAT plugin startup config reply. More...
 
struct  vl_api_nat_show_config_2_t
 Show NAT plugin startup config. More...
 
struct  vl_api_nat_show_config_2_reply_t
 Show NAT plugin startup config reply. More...
 
struct  vl_api_nat44_show_running_config_t
 Show NAT44 plugin running config. More...
 
struct  vl_api_nat44_show_running_config_reply_t
 Show NAT44 plugin running config reply. More...
 
struct  vl_api_nat44_session_cleanup_t
 Run nat44 garbage collection. More...
 
struct  vl_api_nat44_set_session_limit_t
 NAT44 set session limit. More...
 
struct  vl_api_nat_set_log_level_t
 Set NAT logging level. More...
 
struct  vl_api_nat_set_workers_t
 Set NAT workers. More...
 
struct  vl_api_nat_worker_dump_t
 Dump NAT workers. More...
 
struct  vl_api_nat_worker_details_t
 NAT workers details response. More...
 
struct  vl_api_nat_ipfix_enable_disable_t
 Enable/disable NAT IPFIX logging. More...
 
struct  vl_api_nat_set_timeouts_t
 Set values of timeouts for NAT sessions (seconds) More...
 
struct  vl_api_nat_get_timeouts_t
 Get values of timeouts for NAT sessions (seconds) More...
 
struct  vl_api_nat_get_timeouts_reply_t
 Get values of timeouts for NAT sessions reply. More...
 
struct  vl_api_nat_set_addr_and_port_alloc_alg_t
 Set address and port assignment algorithm. More...
 
struct  vl_api_nat_get_addr_and_port_alloc_alg_t
 Get address and port assignment algorithm. More...
 
struct  vl_api_nat_get_addr_and_port_alloc_alg_reply_t
 Get address and port assignment algorithm reply. More...
 
struct  vl_api_nat_set_mss_clamping_t
 Set TCP MSS rewriting configuration. More...
 
struct  vl_api_nat_get_mss_clamping_t
 Get TCP MSS rewriting configuration. More...
 
struct  vl_api_nat_get_mss_clamping_reply_t
 Get TCP MSS rewriting configuration reply. More...
 
struct  vl_api_nat_ha_set_listener_t
 Set HA listener (local settings) More...
 
struct  vl_api_nat_ha_set_failover_t
 Set HA failover (remote settings) More...
 
struct  vl_api_nat_ha_get_listener_t
 Get HA listener/local configuration. More...
 
struct  vl_api_nat_ha_get_listener_reply_t
 Get HA listener/local configuration reply. More...
 
struct  vl_api_nat_ha_get_failover_t
 Get HA failover/remote settings. More...
 
struct  vl_api_nat_ha_get_failover_reply_t
 Get HA failover/remote settings reply. More...
 
struct  vl_api_nat_ha_flush_t
 Flush the current HA data (for testing) More...
 
struct  vl_api_nat_ha_resync_t
 Resync HA (resend existing sessions to new failover) More...
 
struct  vl_api_nat_ha_resync_completed_event_t
 Tell client about a HA resync completion event. More...
 
struct  vl_api_nat44_del_user_t
 Del NAT44 user. More...
 
struct  vl_api_nat44_add_del_address_range_t
 Add/del NAT44 address range. More...
 
struct  vl_api_nat44_address_dump_t
 Dump NAT44 addresses. More...
 
struct  vl_api_nat44_address_details_t
 NAT44 address details response. More...
 
struct  vl_api_nat44_interface_add_del_feature_t
 Enable/disable NAT44 feature on the interface. More...
 
struct  vl_api_nat44_interface_dump_t
 Dump interfaces with NAT44 feature. More...
 
struct  vl_api_nat44_interface_details_t
 NAT44 interface details response. More...
 
struct  vl_api_nat44_interface_add_del_output_feature_t
 Enable/disbale NAT44 as an interface output feature (postrouting in2out translation) More...
 
struct  vl_api_nat44_interface_output_feature_dump_t
 Dump interfaces with NAT44 output feature. More...
 
struct  vl_api_nat44_interface_output_feature_details_t
 NAT44 interface with output feature details response. More...
 
struct  vl_api_nat44_add_del_static_mapping_t
 Add/delete NAT44 static mapping. More...
 
struct  vl_api_nat44_add_del_static_mapping_v2_t
 Add/delete NAT44 static mapping. More...
 
struct  vl_api_nat44_static_mapping_dump_t
 Dump NAT44 static mappings. More...
 
struct  vl_api_nat44_static_mapping_details_t
 NAT44 static mapping details response. More...
 
struct  vl_api_nat44_add_del_identity_mapping_t
 Add/delete NAT44 identity mapping. More...
 
struct  vl_api_nat44_identity_mapping_dump_t
 Dump NAT44 identity mappings. More...
 
struct  vl_api_nat44_identity_mapping_details_t
 NAT44 identity mapping details response. More...
 
struct  vl_api_nat44_add_del_interface_addr_t
 Add/delete NAT44 pool address from specific interfce. More...
 
struct  vl_api_nat44_interface_addr_dump_t
 Dump NAT44 pool addresses interfaces. More...
 
struct  vl_api_nat44_interface_addr_details_t
 NAT44 pool addresses interfaces details response. More...
 
struct  vl_api_nat44_user_dump_t
 Dump NAT44 users. More...
 
struct  vl_api_nat44_user_details_t
 NAT44 users response. More...
 
struct  vl_api_nat44_user_session_dump_t
 NAT44 user's sessions. More...
 
struct  vl_api_nat44_user_session_details_t
 NAT44 user's sessions response. More...
 
struct  vl_api_nat44_add_del_lb_static_mapping_t
 Add/delete NAT44 load-balancing static mapping rule. More...
 
struct  vl_api_nat44_lb_static_mapping_add_del_local_t
 Add/delete NAT44 load-balancing static mapping rule backend. More...
 
struct  vl_api_nat44_lb_static_mapping_dump_t
 Dump NAT44 load-balancing static mapping rules. More...
 
struct  vl_api_nat44_lb_static_mapping_details_t
 NAT44 load-balancing static mapping rule details response. More...
 
struct  vl_api_nat44_del_session_t
 Delete NAT44 session. More...
 
struct  vl_api_nat44_forwarding_enable_disable_t
 Enable/disable forwarding for NAT44 Forward packets which don't match existing translation or static mapping instead of dropping them. More...
 
struct  vl_api_nat44_forwarding_is_enabled_t
 Check if forwarding is enabled or disabled. More...
 
struct  vl_api_nat44_forwarding_is_enabled_reply_t
 Response to check if forwarding is enabled or disabled. More...
 
struct  vl_api_nat44_ed_set_fq_options_t
 Set NAT handoff frame queue options. More...
 
struct  vl_api_nat44_ed_show_fq_options_t
 Show NAT handoff frame queue options. More...
 
struct  vl_api_nat44_ed_show_fq_options_reply_t
 Show NAT handoff frame queue options reply. More...
 

Enumerations

enum  nat44_config_flags : u8 {
  NAT44_IS_ENDPOINT_INDEPENDENT = 0x00, NAT44_IS_ENDPOINT_DEPENDENT = 0x01, NAT44_IS_STATIC_MAPPING_ONLY = 0x02, NAT44_IS_CONNECTION_TRACKING = 0x04,
  NAT44_IS_OUT2IN_DPO = 0x08
}
 

Variables

option version = "5.3.0"
 
import vnet ip ip_types api
 
 service
 
typedef nat44_lb_addr_port
 NAT44 load-balancing address and port pair. More...
 
u16 port
 
u8 probability
 
u32 vrf_id
 

Enumeration Type Documentation

◆ nat44_config_flags

Enumerator
NAT44_IS_ENDPOINT_INDEPENDENT 
NAT44_IS_ENDPOINT_DEPENDENT 
NAT44_IS_STATIC_MAPPING_ONLY 
NAT44_IS_CONNECTION_TRACKING 
NAT44_IS_OUT2IN_DPO 

Definition at line 29 of file nat44_ed.api.

Variable Documentation

◆ api

import plugins nat lib nat_types api

Definition at line 17 of file nat44_ed.api.

◆ nat44_lb_addr_port

typedef nat44_lb_addr_port
Initial value:
{
vl_api_ip4_address_t addr

NAT44 load-balancing address and port pair.

Template Parameters
addr- IPv4 address of the internal node
port- L4 port number of the internal node
probability- probability of the internal node to be randomly matched
vrf_id- VRF id

Definition at line 1049 of file nat44_ed.api.

◆ port

u16 port

Definition at line 1051 of file nat44_ed.api.

◆ probability

u8 probability

Definition at line 1052 of file nat44_ed.api.

◆ service

service
Initial value:
{
rpc nat_ha_resync returns nat_ha_resync_reply events nat_ha_resync_completed_event

Definition at line 624 of file nat44_ed.api.

◆ version

option version = "5.3.0"

Definition at line 16 of file nat44_ed.api.

◆ vrf_id

u32 vrf_id

Definition at line 1053 of file nat44_ed.api.

addr
vhost_vring_addr_t addr
Definition: vhost_user.h:130
events
static perfmon_event_t events[]
Definition: core.c:21
nat_ha_resync
int nat_ha_resync(u32 client_index, u32 pid, nat_ha_resync_event_cb_t event_callback)
Resync HA (resend existing sessions to new failover)
Definition: nat44_ei_ha.c:1283