FD.io VPP  v18.07.1-19-g511ce25
Vector Packet Processing
gre_tunnel_key4_t_ Struct Reference

Key for a IPv4 GRE Tunnel. More...

+ Collaboration diagram for gre_tunnel_key4_t_:

Data Fields

union {
   struct {
      ip4_address_t   gtk_src
 
      ip4_address_t   gtk_dst
 
   } 
 
   u64   gtk_as_u64
 
}; 
 Source and destination IP addresses. More...
 
u32 gtk_fidx_ssid_type
 FIB table index, ERSPAN session ID and tunnel type in u32 bit fields: More...
 

Detailed Description

Key for a IPv4 GRE Tunnel.

Definition at line 92 of file gre.h.

Field Documentation

union { ... }

Source and destination IP addresses.

u64 gre_tunnel_key4_t_::gtk_as_u64

Definition at line 104 of file gre.h.

ip4_address_t gre_tunnel_key4_t_::gtk_dst

Definition at line 102 of file gre.h.

u32 gre_tunnel_key4_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 113 of file gre.h.

ip4_address_t gre_tunnel_key4_t_::gtk_src

Definition at line 101 of file gre.h.


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