![]() |
FD.io VPP
v21.06
Vector Packet Processing
|
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], TUNNEL_API_ENCAP_DECAP_FLAG_ENCAP_COPY_HOP_LIMIT = 0x40 [backwards_compatible], TUNNEL_API_ENCAP_DECAP_FLAG_ENCAP_COPY_FLOW_LABEL = 0x80 [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.1" |
| import vnet interface_types | api |
| enumflag | tunnel_flags |
| tunnel mode More... | |
| enumflag typedef | tunnel |
| An IP{v4,v6} tunnel. More... | |
| vl_api_address_t | src |
| Tunnel source and destination address. More... | |
| vl_api_address_t | dst |
| vl_api_interface_index_t | sw_if_index |
| ignored on create, set in details/dump More... | |
| u32 | table_id |
| The table ID in which the source and destination addresses are valid. More... | |
| vl_api_tunnel_encap_decap_flags_t | encap_decap_flags |
| vl_api_tunnel_mode_t | mode |
| vl_api_tunnel_flags_t | flags |
| vl_api_ip_dscp_t | dscp |
| u8 | hop_limit |
| enum tunnel_encap_decap_flags : u8 |
Flags controlling tunnel behaviour.
Definition at line 24 of file tunnel_types.api.
| enum tunnel_mode : u8 |
tunnel mode
| Enumerator | |
|---|---|
| TUNNEL_API_MODE_P2P | point-to-point |
| TUNNEL_API_MODE_MP | multi-point |
Definition at line 48 of file tunnel_types.api.
| import vnet ip ip_types api |
Definition at line 18 of file tunnel_types.api.
| vl_api_ip_dscp_t dscp |
Definition at line 86 of file tunnel_types.api.
| vl_api_address_t dst |
Definition at line 77 of file tunnel_types.api.
| vl_api_tunnel_encap_decap_flags_t encap_decap_flags |
Definition at line 82 of file tunnel_types.api.
| vl_api_tunnel_flags_t flags |
Definition at line 84 of file tunnel_types.api.
| u8 hop_limit |
Definition at line 88 of file tunnel_types.api.
| vl_api_tunnel_mode_t mode |
Definition at line 83 of file tunnel_types.api.
| vl_api_address_t src |
Tunnel source and destination address.
Definition at line 76 of file tunnel_types.api.
| vl_api_interface_index_t sw_if_index |
ignored on create, set in details/dump
Definition at line 79 of file tunnel_types.api.
| u32 table_id |
The table ID in which the source and destination addresses are valid.
Definition at line 81 of file tunnel_types.api.
| enumflag typedef tunnel |
An IP{v4,v6} tunnel.
Definition at line 72 of file tunnel_types.api.
| enumflag tunnel_flags |
tunnel mode
Definition at line 65 of file tunnel_types.api.
| option version = "1.0.1" |
Definition at line 16 of file tunnel_types.api.