FD.io VPP  v17.04-9-g99c0734
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_key
 Hash mapping 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 130 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 155 of file gre.h.

u16* gre_main_t::next_by_protocol

Definition at line 164 of file gre.h.

uword* gre_main_t::protocol_info_by_name

Hash tables mapping name/protocol to protocol info index.

Definition at line 144 of file gre.h.

uword * gre_main_t::protocol_info_by_protocol

Definition at line 144 of file gre.h.

gre_protocol_info_t* gre_main_t::protocol_infos

GRE payload protocol registrations.

Definition at line 139 of file gre.h.

uword* gre_main_t::tunnel_by_key

Hash mapping src/dst addr pair to tunnel.

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

gre_tunnel_t* gre_main_t::tunnels

pool of tunnel instances

Definition at line 134 of file gre.h.

vlib_main_t* gre_main_t::vlib_main

Definition at line 167 of file gre.h.

vnet_main_t* gre_main_t::vnet_main

Definition at line 168 of file gre.h.


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