FD.io VPP  v18.01.2-1-g9b554f3
Vector Packet Processing
gre_main_t Struct Reference

GRE related global data. More...

+ Collaboration diagram for gre_main_t:

Data Fields

gre_tunnel_ttunnels
 pool of tunnel instances More...
 
gre_protocol_info_tprotocol_infos
 GRE payload protocol registrations. More...
 
uwordprotocol_info_by_name
 Hash tables mapping name/protocol to protocol info index. More...
 
uwordprotocol_info_by_protocol
 
uwordtunnel_by_key4
 Hash mapping ipv4 src/dst addr pair to tunnel. More...
 
uwordtunnel_by_key6
 Hash mapping ipv6 src/dst addr pair to tunnel. More...
 
u32free_gre_tunnel_hw_if_indices [GRE_TUNNEL_N_TYPES]
 Free vlib hw_if_indices. More...
 
u32tunnel_index_by_sw_if_index
 Mapping from sw_if_index to tunnel index. More...
 
u16next_by_protocol
 
vlib_main_tvlib_main
 
vnet_main_tvnet_main
 

Detailed Description

GRE related global data.

Definition at line 192 of file gre.h.

Field Documentation

u32* gre_main_t::free_gre_tunnel_hw_if_indices[GRE_TUNNEL_N_TYPES]

Free vlib hw_if_indices.

A free list per-tunnel type since the interfaces ctreated are fo different types and we cannot change the type.

Definition at line 224 of file gre.h.

u16* gre_main_t::next_by_protocol

Definition at line 233 of file gre.h.

uword* gre_main_t::protocol_info_by_name

Hash tables mapping name/protocol to protocol info index.

Definition at line 207 of file gre.h.

uword * gre_main_t::protocol_info_by_protocol

Definition at line 207 of file gre.h.

gre_protocol_info_t* gre_main_t::protocol_infos

GRE payload protocol registrations.

Definition at line 202 of file gre.h.

uword* gre_main_t::tunnel_by_key4

Hash mapping ipv4 src/dst addr pair to tunnel.

Definition at line 212 of file gre.h.

uword* gre_main_t::tunnel_by_key6

Hash mapping ipv6 src/dst addr pair to tunnel.

Definition at line 217 of file gre.h.

u32* gre_main_t::tunnel_index_by_sw_if_index

Mapping from sw_if_index to tunnel index.

Definition at line 229 of file gre.h.

gre_tunnel_t* gre_main_t::tunnels

pool of tunnel instances

Definition at line 197 of file gre.h.

vlib_main_t* gre_main_t::vlib_main

Definition at line 236 of file gre.h.

vnet_main_t* gre_main_t::vnet_main

Definition at line 237 of file gre.h.


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