FD.io VPP  v17.10-9-gd594711
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 128 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 159 of file gre.h.

u16* gre_main_t::next_by_protocol

Definition at line 168 of file gre.h.

uword* gre_main_t::protocol_info_by_name

Hash tables mapping name/protocol to protocol info index.

Definition at line 142 of file gre.h.

uword * gre_main_t::protocol_info_by_protocol

Definition at line 142 of file gre.h.

gre_protocol_info_t* gre_main_t::protocol_infos

GRE payload protocol registrations.

Definition at line 137 of file gre.h.

uword* gre_main_t::tunnel_by_key4

Hash mapping ipv4 src/dst addr pair to tunnel.

Definition at line 147 of file gre.h.

uword* gre_main_t::tunnel_by_key6

Hash mapping ipv6 src/dst addr pair to tunnel.

Definition at line 152 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 164 of file gre.h.

gre_tunnel_t* gre_main_t::tunnels

pool of tunnel instances

Definition at line 132 of file gre.h.

vlib_main_t* gre_main_t::vlib_main

Definition at line 171 of file gre.h.

vnet_main_t* gre_main_t::vnet_main

Definition at line 172 of file gre.h.


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