FD.io VPP  v17.07.01-10-g3be13f0
Vector Packet Processing
gre_tunnel_t Struct Reference

A representation of a GRE tunnel. More...

+ Collaboration diagram for gre_tunnel_t:

Data Fields

fib_node_t node
 Linkage into the FIB object graph. More...
 
ip46_address_t tunnel_src
 The tunnel's source/local address. More...
 
fib_prefix_t tunnel_dst
 The tunnel's destination/remote address. More...
 
u32 outer_fib_index
 The FIB in which the src.dst address are present. More...
 
u32 hw_if_index
 
u32 sw_if_index
 
gre_tunnel_type_t type
 
fib_node_index_t fib_entry_index
 The FIB entry sourced by the tunnel for its destination prefix. More...
 
u32 sibling_index
 The tunnel is a child of the FIB entry for its desintion. More...
 
u32 l2_tx_arc
 on a L2 tunnel this is the VLIB arc from the L2-tx to the l2-midchain More...
 
adj_index_t l2_adj_index
 an L2 tunnel always rquires an L2 midchain. More...
 

Detailed Description

A representation of a GRE tunnel.

Definition at line 79 of file gre.h.

Field Documentation

fib_node_index_t gre_tunnel_t::fib_entry_index

The FIB entry sourced by the tunnel for its destination prefix.

Definition at line 104 of file gre.h.

u32 gre_tunnel_t::hw_if_index

Definition at line 97 of file gre.h.

adj_index_t gre_tunnel_t::l2_adj_index

an L2 tunnel always rquires an L2 midchain.

cache here for DP.

Definition at line 122 of file gre.h.

u32 gre_tunnel_t::l2_tx_arc

on a L2 tunnel this is the VLIB arc from the L2-tx to the l2-midchain

Definition at line 117 of file gre.h.

fib_node_t gre_tunnel_t::node

Linkage into the FIB object graph.

Definition at line 83 of file gre.h.

u32 gre_tunnel_t::outer_fib_index

The FIB in which the src.dst address are present.

Definition at line 96 of file gre.h.

u32 gre_tunnel_t::sibling_index

The tunnel is a child of the FIB entry for its desintion.

This is so it receives updates when the forwarding information for that entry changes. The tunnels sibling index on the FIB entry's dependency list.

Definition at line 112 of file gre.h.

u32 gre_tunnel_t::sw_if_index

Definition at line 98 of file gre.h.

fib_prefix_t gre_tunnel_t::tunnel_dst

The tunnel's destination/remote address.

Definition at line 92 of file gre.h.

ip46_address_t gre_tunnel_t::tunnel_src

The tunnel's source/local address.

Definition at line 88 of file gre.h.

gre_tunnel_type_t gre_tunnel_t::type

Definition at line 99 of file gre.h.


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