FD.io VPP  v21.01.1
Vector Packet Processing
tunnel_types.api File Reference

Go to the source code of this file.

Enumerations

enum  tunnel_encap_decap_flags : u8 {
  TUNNEL_API_ENCAP_DECAP_FLAG_NONE = 0, TUNNEL_API_ENCAP_DECAP_FLAG_ENCAP_COPY_DF = 0x1, TUNNEL_API_ENCAP_DECAP_FLAG_ENCAP_SET_DF = 0x2, TUNNEL_API_ENCAP_DECAP_FLAG_ENCAP_COPY_DSCP = 0x4,
  TUNNEL_API_ENCAP_DECAP_FLAG_ENCAP_COPY_ECN = 0x8, TUNNEL_API_ENCAP_DECAP_FLAG_DECAP_COPY_ECN = 0x10, TUNNEL_API_ENCAP_DECAP_FLAG_ENCAP_INNER_HASH = 0x20 [backwards_compatible]
}
 Flags controlling tunnel behaviour. More...
 
enum  tunnel_mode : u8 { TUNNEL_API_MODE_P2P = 0, TUNNEL_API_MODE_MP }
 tunnel mode More...
 

Variables

option version = "1.0.0"
 

Enumeration Type Documentation

◆ tunnel_encap_decap_flags

Flags controlling tunnel behaviour.

Enumerator
TUNNEL_API_ENCAP_DECAP_FLAG_NONE 
TUNNEL_API_ENCAP_DECAP_FLAG_ENCAP_COPY_DF 

at encap, copy the DF bit of the payload into the tunnel header

TUNNEL_API_ENCAP_DECAP_FLAG_ENCAP_SET_DF 

at encap, set the DF bit in the tunnel header

TUNNEL_API_ENCAP_DECAP_FLAG_ENCAP_COPY_DSCP 

at encap, copy the DSCP bits of the payload into the tunnel header

TUNNEL_API_ENCAP_DECAP_FLAG_ENCAP_COPY_ECN 

at encap, copy the ECN bit of the payload into the tunnel header

TUNNEL_API_ENCAP_DECAP_FLAG_DECAP_COPY_ECN 

at decap, copy the ECN bit of the tunnel header into the payload

TUNNEL_API_ENCAP_DECAP_FLAG_ENCAP_INNER_HASH 

at encap, compute flow hash on the inner packet for more entropy

Definition at line 21 of file tunnel_types.api.

◆ tunnel_mode

enum tunnel_mode : u8

tunnel mode

Enumerator
TUNNEL_API_MODE_P2P 

point-to-point

TUNNEL_API_MODE_MP 

multi-point

Definition at line 41 of file tunnel_types.api.

Variable Documentation

◆ version

option version = "1.0.0"

Definition at line 16 of file tunnel_types.api.