FD.io VPP  v20.01-48-g3e0dafb74
Vector Packet Processing
gre.api File Reference

Go to the source code of this file.

Data Structures

struct  vl_api_gre_tunnel_add_del_t
 
struct  vl_api_gre_tunnel_add_del_reply_t
 
struct  vl_api_gre_tunnel_dump_t
 
struct  vl_api_gre_tunnel_details_t
 

Enumerations

enum  gre_tunnel_type : u8 { GRE_API_TUNNEL_TYPE_L3 = 0, GRE_API_TUNNEL_TYPE_TEB, GRE_API_TUNNEL_TYPE_ERSPAN }
 A GRE tunnel type. More...
 
enum  gre_tunnel_mode : u8 { GRE_API_TUNNEL_MODE_P2P, GRE_API_TUNNEL_MODE_MP }
 A GRE tunnel mode. More...
 

Variables

option version = "2.0.1"
 
import vnet interface_types api
 
typedef gre_tunnel
 A GRE tunnel. More...
 
vl_api_gre_tunnel_mode_t mode
 
u16 session_id
 
u32 instance
 
u32 outer_table_id
 
vl_api_interface_index_t sw_if_index
 
vl_api_address_t src
 
vl_api_address_t dst
 

Enumeration Type Documentation

◆ gre_tunnel_mode

A GRE tunnel mode.

Enumerator
GRE_API_TUNNEL_MODE_P2P 
GRE_API_TUNNEL_MODE_MP 

Definition at line 33 of file gre.api.

◆ gre_tunnel_type

A GRE tunnel type.

Enumerator
GRE_API_TUNNEL_TYPE_L3 
GRE_API_TUNNEL_TYPE_TEB 
GRE_API_TUNNEL_TYPE_ERSPAN 

Definition at line 24 of file gre.api.

Variable Documentation

◆ api

import vnet ip ip_types api

Definition at line 19 of file gre.api.

◆ dst

vl_api_address_t dst

Definition at line 61 of file gre.api.

◆ gre_tunnel

typedef gre_tunnel
Initial value:
{
vl_api_gre_tunnel_type_t type
vl_api_fib_path_type_t type
Definition: fib_types.api:123

A GRE tunnel.

Template Parameters
client_index- opaque cookie to identify the sender
context- sender context, to match reply w/ request
tunnel_type- 0: L3, 1: TEB, 2: ERSPAN
instance- optional unique custom device instance, else ~0.
src- Source IP address
dst- Destination IP address, can be multicast
outer_table_id- Encap FIB table ID
session_id- session for ERSPAN tunnel, range 0-1023
sw_if_index- ignored on create/delete, present in details.

Definition at line 53 of file gre.api.

◆ instance

u32 instance

Definition at line 57 of file gre.api.

◆ mode

vl_api_gre_tunnel_mode_t mode

Definition at line 55 of file gre.api.

◆ outer_table_id

u32 outer_table_id

Definition at line 58 of file gre.api.

◆ session_id

u16 session_id

Definition at line 56 of file gre.api.

◆ src

vl_api_address_t src

Definition at line 60 of file gre.api.

◆ sw_if_index

vl_api_interface_index_t sw_if_index

Definition at line 59 of file gre.api.

◆ version

option version = "2.0.1"

Definition at line 17 of file gre.api.