FD.io VPP  v19.04.4-rc0-5-ge88582fac
Vector Packet Processing
vl_api_gre_add_del_tunnel_t Struct Reference

Create or delete a GRE tunnel. More...

Data Fields

u32 client_index
 
u32 context
 
u8 is_add
 
u8 is_ipv6
 
u8 tunnel_type
 
u32 instance
 
u8 src_address [16]
 
u8 dst_address [16]
 
u32 outer_fib_id
 
u16 session_id
 

Detailed Description

Create or delete a GRE tunnel.

Template Parameters
client_index- opaque cookie to identify the sender
context- sender context, to match reply w/ request
is_add- Use 1 to create the tunnel, 0 to remove it
is_ipv6- Use 0 for IPv4, 1 for IPv6
tunnel_type- 0: L3, 1: TEB, 2: ERSPAN
instance- optional unique custom device instance, else ~0.
src_address- Source IP address
dst_address- Destination IP address, can be multicast
outer_fib_id- Encap FIB table ID
session_id- session for ERSPAN tunnel, range 0-1023

Definition at line 30 of file gre.api.

Field Documentation

◆ client_index

u32 vl_api_gre_add_del_tunnel_t::client_index

Definition at line 32 of file gre.api.

◆ context

u32 vl_api_gre_add_del_tunnel_t::context

Definition at line 33 of file gre.api.

◆ dst_address

u8 vl_api_gre_add_del_tunnel_t::dst_address[16]

Definition at line 39 of file gre.api.

◆ instance

u32 vl_api_gre_add_del_tunnel_t::instance

Definition at line 37 of file gre.api.

◆ is_add

u8 vl_api_gre_add_del_tunnel_t::is_add

Definition at line 34 of file gre.api.

◆ is_ipv6

u8 vl_api_gre_add_del_tunnel_t::is_ipv6

Definition at line 35 of file gre.api.

◆ outer_fib_id

u32 vl_api_gre_add_del_tunnel_t::outer_fib_id

Definition at line 40 of file gre.api.

◆ session_id

u16 vl_api_gre_add_del_tunnel_t::session_id

Definition at line 41 of file gre.api.

◆ src_address

u8 vl_api_gre_add_del_tunnel_t::src_address[16]

Definition at line 38 of file gre.api.

◆ tunnel_type

u8 vl_api_gre_add_del_tunnel_t::tunnel_type

Definition at line 36 of file gre.api.


The documentation for this struct was generated from the following file: