FD.io VPP  v19.08.3-2-gbabecb413
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 { GRE_API_TUNNEL_TYPE_L3 = 0, GRE_API_TUNNEL_TYPE_TEB, GRE_API_TUNNEL_TYPE_ERSPAN }
 A GRE tunnel type. More...
 

Variables

option version = "2.0.0"
 
import vnet interface_types api
 
typedef gre_tunnel
 A GRE tunnel. More...
 
u32 context
 
u16 session_id
 
vl_api_gre_tunnel_type_t type
 
u32 instance
 
u32 outer_fib_id
 
vl_api_interface_index_t sw_if_index
 
vl_api_address_t src
 
vl_api_address_t dst
 

Enumeration Type Documentation

◆ 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.

◆ context

u32 context

Definition at line 45 of file gre.api.

◆ dst

vl_api_address_t dst

Definition at line 52 of file gre.api.

◆ gre_tunnel

typedef gre_tunnel
Initial value:
{
u32 client_index
unsigned int u32
Definition: types.h:88

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_fib_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 43 of file gre.api.

◆ instance

u32 instance

Definition at line 48 of file gre.api.

◆ outer_fib_id

u32 outer_fib_id

Definition at line 49 of file gre.api.

◆ session_id

u16 session_id

Definition at line 46 of file gre.api.

◆ src

vl_api_address_t src

Definition at line 51 of file gre.api.

◆ sw_if_index

vl_api_interface_index_t sw_if_index

Definition at line 50 of file gre.api.

◆ type

vl_api_gre_tunnel_type_t type

Definition at line 47 of file gre.api.

◆ version

option version = "2.0.0"

Definition at line 17 of file gre.api.