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

Go to the source code of this file.

Data Structures

struct  vl_api_pnat_binding_add_t
 
struct  vl_api_pnat_binding_add_reply_t
 
struct  vl_api_pnat_binding_del_t
 
struct  vl_api_pnat_binding_attach_t
 
struct  vl_api_pnat_binding_detach_t
 
struct  vl_api_pnat_bindings_get_t
 
struct  vl_api_pnat_bindings_get_reply_t
 
struct  vl_api_pnat_bindings_details_t
 
struct  vl_api_pnat_interfaces_get_t
 
struct  vl_api_pnat_interfaces_get_reply_t
 
struct  vl_api_pnat_interfaces_details_t
 

Enumerations

enum  pnat_mask {
  PNAT_SA = 0x1, PNAT_DA = 0x2, PNAT_SPORT = 0x4, PNAT_DPORT = 0x8,
  PNAT_COPY_BYTE = 0x10, PNAT_CLEAR_BYTE = 0x20
}
 
enum  pnat_attachment_point { PNAT_IP4_INPUT = 0, PNAT_IP4_OUTPUT, PNAT_ATTACHMENT_POINT_MAX }
 

Variables

option version = "0.1.1"
 
import vnet interface_types api
 
typedef pnat_match_tuple
 
vl_api_ip4_address_t dst
 
vl_api_ip_proto_t proto
 
u16 sport
 
u16 dport
 
vl_api_pnat_mask_t mask
 
typedef pnat_rewrite_tuple
 
u8 from_offset
 
u8 to_offset
 
u8 clear_offset
 
 service
 
rpc pnat_interfaces_get returns pnat_interfaces_get_reply stream pnat_interfaces_details
 
counters pnat
 
 rewrite
 
type counter64
 
units packets
 
description rewrite failed
 
 tooshort
 
 paths
 

Enumeration Type Documentation

◆ pnat_attachment_point

Enumerator
PNAT_IP4_INPUT 
PNAT_IP4_OUTPUT 
PNAT_ATTACHMENT_POINT_MAX 

Definition at line 31 of file pnat.api.

◆ pnat_mask

enum pnat_mask
Enumerator
PNAT_SA 
PNAT_DA 
PNAT_SPORT 
PNAT_DPORT 
PNAT_COPY_BYTE 
PNAT_CLEAR_BYTE 

Definition at line 21 of file pnat.api.

Variable Documentation

◆ api

import vnet ip ip_types api

Definition at line 18 of file pnat.api.

◆ clear_offset

u8 clear_offset

Definition at line 57 of file pnat.api.

◆ counter64

type counter64

Definition at line 160 of file pnat.api.

◆ dport

u16 dport

Definition at line 44 of file pnat.api.

◆ dst

vl_api_ip4_address_t dst

Definition at line 41 of file pnat.api.

◆ failed

description rewrite failed

Definition at line 162 of file pnat.api.

◆ from_offset

u8 from_offset

Definition at line 55 of file pnat.api.

◆ mask

vl_api_ip6_address_t mask

Definition at line 45 of file pnat.api.

◆ packets

units packets

Definition at line 161 of file pnat.api.

◆ paths

paths
Initial value:
{
"/err/pnat-input" "pnat"

Definition at line 172 of file pnat.api.

◆ pnat

err pnat output pnat
Initial value:
{
none {
severity info;
units "packets";
description "successfully rewritten";
}

Definition at line 150 of file pnat.api.

◆ pnat_interfaces_details

rpc pnat_interfaces_get returns pnat_interfaces_get_reply stream pnat_interfaces_details

Definition at line 104 of file pnat.api.

◆ pnat_match_tuple

typedef pnat_match_tuple
Initial value:
{
vl_api_ip4_address_t src

Definition at line 39 of file pnat.api.

◆ pnat_rewrite_tuple

typedef pnat_rewrite_tuple
Initial value:
{
vl_api_ip4_address_t src

Definition at line 49 of file pnat.api.

◆ proto

vl_api_ip_proto_t proto

Definition at line 42 of file pnat.api.

◆ rewrite

description packet too short for rewrite
Initial value:
{
severity error

Definition at line 158 of file pnat.api.

◆ service

service
Initial value:
{
rpc pnat_bindings_get returns pnat_bindings_get_reply
stream pnat_bindings_details

Definition at line 100 of file pnat.api.

◆ sport

u16 sport

Definition at line 43 of file pnat.api.

◆ to_offset

u8 to_offset

Definition at line 56 of file pnat.api.

◆ tooshort

tooshort
Initial value:
{
severity info

Definition at line 164 of file pnat.api.

◆ version

option version = "0.1.1"

Definition at line 16 of file pnat.api.

error
Definition: cJSON.c:88
counter64
type counter64
Definition: pnat.api:160
src
vl_api_address_t src
Definition: gre.api:54
type
vl_api_fib_path_type_t type
Definition: fib_types.api:123