FD.io VPP  v18.04-17-g3a0d853
Vector Packet Processing
gre_tunnel_key6_t_ Struct Reference

Key for a IPv6 GRE Tunnel We use a different type so that the V4 key hash is as small as possible. More...

+ Collaboration diagram for gre_tunnel_key6_t_:

Data Fields

ip6_address_t gtk_src
 Source and destination IP addresses. More...
 
ip6_address_t gtk_dst
 
u32 gtk_fidx_ssid_type
 FIB table index, ERSPAN session ID and tunnel type in u32 bit fields: More...
 

Detailed Description

Key for a IPv6 GRE Tunnel We use a different type so that the V4 key hash is as small as possible.

Definition at line 120 of file gre.h.

Field Documentation

ip6_address_t gre_tunnel_key6_t_::gtk_dst

Definition at line 126 of file gre.h.

u32 gre_tunnel_key6_t_::gtk_fidx_ssid_type

FIB table index, ERSPAN session ID and tunnel type in u32 bit fields:

  • The FIB table index the src,dst addresses are in, top 20 bits
  • The Session ID for ERSPAN tunnel type and 0 otherwise, next 10 bits
  • Tunnel type, bottom 2 bits

Definition at line 134 of file gre.h.

ip6_address_t gre_tunnel_key6_t_::gtk_src

Source and destination IP addresses.

Definition at line 125 of file gre.h.


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