FD.io VPP  v21.10.1-2-g0a485f517
Vector Packet Processing
nat_types.api File Reference

Go to the source code of this file.

Enumerations

enum  nat_log_level : u8 {
  NAT_LOG_NONE = 0x00, NAT_LOG_ERROR = 0x01, NAT_LOG_WARNING = 0x02, NAT_LOG_NOTICE = 0x03,
  NAT_LOG_INFO = 0x04, NAT_LOG_DEBUG = 0x05
}
 
enum  nat_config_flags : u8 {
  NAT_IS_NONE = 0x00, NAT_IS_TWICE_NAT = 0x01, NAT_IS_SELF_TWICE_NAT = 0x02, NAT_IS_OUT2IN_ONLY = 0x04,
  NAT_IS_ADDR_ONLY = 0x08, NAT_IS_OUTSIDE = 0x10, NAT_IS_INSIDE = 0x20, NAT_IS_STATIC = 0x40,
  NAT_IS_EXT_HOST_VALID = 0x80
}
 

Variables

option version = "0.0.1"
 
typedef nat_timeouts
 
u32 tcp_established
 
u32 tcp_transitory
 
u32 icmp
 

Enumeration Type Documentation

◆ nat_config_flags

Enumerator
NAT_IS_NONE 
NAT_IS_TWICE_NAT 
NAT_IS_SELF_TWICE_NAT 
NAT_IS_OUT2IN_ONLY 
NAT_IS_ADDR_ONLY 
NAT_IS_OUTSIDE 
NAT_IS_INSIDE 
NAT_IS_STATIC 
NAT_IS_EXT_HOST_VALID 

Definition at line 36 of file nat_types.api.

◆ nat_log_level

enum nat_log_level : u8
Enumerator
NAT_LOG_NONE 
NAT_LOG_ERROR 
NAT_LOG_WARNING 
NAT_LOG_NOTICE 
NAT_LOG_INFO 
NAT_LOG_DEBUG 

Definition at line 26 of file nat_types.api.

Variable Documentation

◆ icmp

u32 icmp

Definition at line 23 of file nat_types.api.

◆ nat_timeouts

typedef nat_timeouts
Initial value:
{
u32 udp

Definition at line 19 of file nat_types.api.

◆ tcp_established

u32 tcp_established

Definition at line 21 of file nat_types.api.

◆ tcp_transitory

u32 tcp_transitory

Definition at line 22 of file nat_types.api.

◆ version

option version = "0.0.1"

Definition at line 16 of file nat_types.api.

u32
unsigned int u32
Definition: types.h:88