FD.io VPP  v20.09-64-g4f7b92f0a
Vector Packet Processing
cnat.api File Reference

This file defines the vpp control-plane API messages used to control the ABF plugin. More...

Go to the source code of this file.

Data Structures

struct  vl_api_cnat_translation_update_t
 
struct  vl_api_cnat_translation_update_reply_t
 
struct  vl_api_cnat_translation_del_t
 
struct  vl_api_cnat_translation_details_t
 
struct  vl_api_cnat_translation_dump_t
 
struct  vl_api_cnat_session_purge_t
 
struct  vl_api_cnat_session_details_t
 
struct  vl_api_cnat_session_dump_t
 
struct  vl_api_cnat_set_snat_addresses_t
 
struct  vl_api_cnat_add_del_snat_prefix_t
 

Enumerations

enum  cnat_translation_flags : u8 { CNAT_TRANSLATION_ALLOC_PORT = 1 }
 

Variables

option version = "0.1.0"
 
import vnet ip ip_types api
 
typedef cnat_endpoint
 
u16 port
 
typedef cnat_endpoint_tuple
 
vl_api_cnat_endpoint_t src_ep
 
typedef cnat_translation
 
u32 id
 
vl_api_ip_proto_t ip_proto
 
u8 is_real_ip
 
u8 flags
 
u8 n_paths
 
vl_api_cnat_endpoint_tuple_t paths [n_paths]
 
typedef cnat_session
 
vl_api_cnat_endpoint_t dst
 
vl_api_cnat_endpoint_t new
 
f64 timestamp
 

Detailed Description

This file defines the vpp control-plane API messages used to control the ABF plugin.

Definition in file cnat.api.

Enumeration Type Documentation

◆ cnat_translation_flags

Enumerator
CNAT_TRANSLATION_ALLOC_PORT 

Definition at line 26 of file cnat.api.

Variable Documentation

◆ api

import vnet fib fib_types api

Definition at line 23 of file cnat.api.

◆ cnat_endpoint

typedef cnat_endpoint
Initial value:
{
vl_api_address_t addr
vhost_vring_addr_t addr
Definition: vhost_user.h:111

Definition at line 32 of file cnat.api.

◆ cnat_endpoint_tuple

typedef cnat_endpoint_tuple
Initial value:
{
vl_api_cnat_endpoint_t dst_ep

Definition at line 38 of file cnat.api.

◆ cnat_session

typedef cnat_session
Initial value:
{
vl_api_cnat_endpoint_t src
vl_api_address_t src
Definition: gre.api:54

Definition at line 94 of file cnat.api.

◆ cnat_translation

typedef cnat_translation
Initial value:
{
vl_api_cnat_endpoint_t vip

Definition at line 44 of file cnat.api.

◆ dst

vl_api_cnat_endpoint_t dst

Definition at line 96 of file cnat.api.

◆ flags

u8 flags

Definition at line 49 of file cnat.api.

◆ id

u32 id

Definition at line 46 of file cnat.api.

◆ ip_proto

vl_api_ip_proto_t ip_proto

Definition at line 47 of file cnat.api.

◆ is_real_ip

u8 is_real_ip

Definition at line 48 of file cnat.api.

◆ n_paths

u8 n_paths

Definition at line 50 of file cnat.api.

◆ new

vl_api_cnat_endpoint_t new

Definition at line 97 of file cnat.api.

◆ paths

vl_api_cnat_endpoint_tuple_t paths[n_paths]

Definition at line 51 of file cnat.api.

◆ port

u16 port

Definition at line 34 of file cnat.api.

◆ src_ep

vl_api_cnat_endpoint_t src_ep

Definition at line 40 of file cnat.api.

◆ timestamp

Definition at line 99 of file cnat.api.

◆ version

option version = "0.1.0"

Definition at line 22 of file cnat.api.