FD.io VPP  v21.01
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 to tunnels with ipv4 src/dst addr. More...
 
uwordtunnel_by_key6
 Hash mapping to tunnels with ipv6 src/dst addr. More...
 
uwordseq_num_by_key
 Hash mapping tunnel src/dst addr and fib-idx to sequence number. More...
 
u32tunnel_index_by_sw_if_index
 Mapping from sw_if_index to tunnel index. More...
 
next_info_tnext_by_protocol
 
vlib_main_tvlib_main
 
vnet_main_tvnet_main
 
uwordinstance_used
 
u16 msg_id_base
 

Detailed Description

GRE related global data.

Definition at line 242 of file gre.h.

Field Documentation

◆ instance_used

uword* gre_main_t::instance_used

Definition at line 288 of file gre.h.

◆ msg_id_base

u16 gre_main_t::msg_id_base

Definition at line 290 of file gre.h.

◆ next_by_protocol

next_info_t* gre_main_t::next_by_protocol

Definition at line 281 of file gre.h.

◆ protocol_info_by_name

uword* gre_main_t::protocol_info_by_name

Hash tables mapping name/protocol to protocol info index.

Definition at line 257 of file gre.h.

◆ protocol_info_by_protocol

uword * gre_main_t::protocol_info_by_protocol

Definition at line 257 of file gre.h.

◆ protocol_infos

gre_protocol_info_t* gre_main_t::protocol_infos

GRE payload protocol registrations.

Definition at line 252 of file gre.h.

◆ seq_num_by_key

uword* gre_main_t::seq_num_by_key

Hash mapping tunnel src/dst addr and fib-idx to sequence number.

Definition at line 272 of file gre.h.

◆ tunnel_by_key4

uword* gre_main_t::tunnel_by_key4

Hash mapping to tunnels with ipv4 src/dst addr.

Definition at line 262 of file gre.h.

◆ tunnel_by_key6

uword* gre_main_t::tunnel_by_key6

Hash mapping to tunnels with ipv6 src/dst addr.

Definition at line 267 of file gre.h.

◆ tunnel_index_by_sw_if_index

u32* gre_main_t::tunnel_index_by_sw_if_index

Mapping from sw_if_index to tunnel index.

Definition at line 277 of file gre.h.

◆ tunnels

gre_tunnel_t* gre_main_t::tunnels

pool of tunnel instances

Definition at line 247 of file gre.h.

◆ vlib_main

vlib_main_t* gre_main_t::vlib_main

Definition at line 284 of file gre.h.

◆ vnet_main

vnet_main_t* gre_main_t::vnet_main

Definition at line 285 of file gre.h.


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