FD.io VPP  v20.05.1-6-gf53edbc3b
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
}
 Flags controlling tunnel behaviour. More...
 
enum  tunnel_mode : u8 { TUNNEL_API_MODE_P2P = 0, TUNNEL_API_MODE_MP }
 tunnel mode More...
 

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

Definition at line 20 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 38 of file tunnel_types.api.