|
FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Go to the documentation of this file.
18 import "vnet/interface_types.api";
19 import "vnet/ip/ip_types.api";
65 TUNNEL_API_FLAG_TRACK_MTU = 0x1,
@ TUNNEL_API_ENCAP_DECAP_FLAG_ENCAP_COPY_FLOW_LABEL
at encap, copy the Flow Label 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
vl_api_address_t src
Tunnel source and destination address.
@ TUNNEL_API_ENCAP_DECAP_FLAG_ENCAP_COPY_HOP_LIMIT
at encap, copy the hop-limit/TTL of the payload into the tunnel header
vl_api_tunnel_flags_t flags
enumflag tunnel_flags
tunnel mode
@ TUNNEL_API_MODE_P2P
point-to-point
@ TUNNEL_API_ENCAP_DECAP_FLAG_ENCAP_COPY_DF
at encap, copy the DF bit of the payload into the tunnel header
@ TUNNEL_API_MODE_MP
multi-point
vl_api_interface_index_t sw_if_index
ignored on create, set in details/dump
vl_api_tunnel_encap_decap_flags_t encap_decap_flags
@ TUNNEL_API_ENCAP_DECAP_FLAG_ENCAP_COPY_ECN
at encap, copy the ECN bit of the payload into the tunnel header
tunnel_encap_decap_flags
Flags controlling tunnel behaviour.
vl_api_tunnel_mode_t mode
@ TUNNEL_API_ENCAP_DECAP_FLAG_ENCAP_INNER_HASH
at encap, compute flow hash on the inner packet for more entropy
@ 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_COPY_DSCP
at encap, copy the DSCP bits of the payload into the tunnel header
enumflag typedef tunnel
An IP{v4,v6} tunnel.
@ TUNNEL_API_ENCAP_DECAP_FLAG_NONE
u32 table_id
The table ID in which the source and destination addresses are valid.