FD.io VPP  v21.01.1
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_get_snat_addresses_t
 
struct  vl_api_cnat_get_snat_addresses_reply_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
 
vl_api_interface_index_t sw_if_index
 
vl_api_address_family_t if_af
 
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
 
u32 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 27 of file cnat.api.

Variable Documentation

◆ api

import vnet interface_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 36 of file cnat.api.

◆ cnat_endpoint_tuple

typedef cnat_endpoint_tuple
Initial value:
{
vl_api_cnat_endpoint_t dst_ep

Definition at line 44 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 100 of file cnat.api.

◆ cnat_translation

typedef cnat_translation
Initial value:
{
vl_api_cnat_endpoint_t vip

Definition at line 50 of file cnat.api.

◆ dst

vl_api_cnat_endpoint_t dst

Definition at line 102 of file cnat.api.

◆ flags

u8 flags

Definition at line 55 of file cnat.api.

◆ id

u32 id

Definition at line 52 of file cnat.api.

◆ if_af

vl_api_address_family_t if_af

Definition at line 39 of file cnat.api.

◆ ip_proto

vl_api_ip_proto_t ip_proto

Definition at line 53 of file cnat.api.

◆ is_real_ip

u8 is_real_ip

Definition at line 54 of file cnat.api.

◆ n_paths

u32 n_paths

Definition at line 56 of file cnat.api.

◆ new

vl_api_cnat_endpoint_t new

Definition at line 103 of file cnat.api.

◆ paths

vl_api_cnat_endpoint_tuple_t paths[n_paths]

Definition at line 57 of file cnat.api.

◆ port

u16 port

Definition at line 40 of file cnat.api.

◆ src_ep

vl_api_cnat_endpoint_t src_ep

Definition at line 46 of file cnat.api.

◆ sw_if_index

vl_api_interface_index_t sw_if_index

Definition at line 38 of file cnat.api.

◆ timestamp

Definition at line 105 of file cnat.api.

◆ version

option version = "0.1.0"

Definition at line 22 of file cnat.api.