libnftnl 1.3.1
nftnl_tunnel_opt Struct Reference

Data Fields

struct list_head list
enum nftnl_tunnel_type type
uint32_t flags
union { 
   struct { 
      uint32_t   gbp 
   }   vxlan
   struct { 
      uint32_t   version 
      struct { 
         uint32_t   index 
      }   v1
      struct { 
         uint8_t   hwid 
         uint8_t   dir 
      }   v2
   }   erspan
   struct { 
      uint16_t   geneve_class 
      uint8_t   type 
      uint8_t   data [NFTNL_TUNNEL_GENEVE_DATA_MAXLEN] 
      uint32_t   data_len 
   }   geneve
}; 

Detailed Description

Definition at line 291 of file obj/tunnel.c.

Field Documentation

◆ data

uint8_t nftnl_tunnel_opt::data[NFTNL_TUNNEL_GENEVE_DATA_MAXLEN]

Definition at line 314 of file obj/tunnel.c.

◆ data_len

uint32_t nftnl_tunnel_opt::data_len

Definition at line 315 of file obj/tunnel.c.

◆ dir

uint8_t nftnl_tunnel_opt::dir

Definition at line 308 of file obj/tunnel.c.

◆ flags

uint32_t nftnl_tunnel_opt::flags

Definition at line 295 of file obj/tunnel.c.

◆ gbp

uint32_t nftnl_tunnel_opt::gbp

Definition at line 299 of file obj/tunnel.c.

◆ geneve_class

uint16_t nftnl_tunnel_opt::geneve_class

Definition at line 312 of file obj/tunnel.c.

◆ hwid

uint8_t nftnl_tunnel_opt::hwid

Definition at line 307 of file obj/tunnel.c.

◆ index

uint32_t nftnl_tunnel_opt::index

Definition at line 304 of file obj/tunnel.c.

◆ list

struct list_head nftnl_tunnel_opt::list

Definition at line 292 of file obj/tunnel.c.

◆ type [1/2]

uint8_t nftnl_tunnel_opt::type

Definition at line 313 of file obj/tunnel.c.

◆ type [2/2]

enum nftnl_tunnel_type nftnl_tunnel_opt::type

Definition at line 294 of file obj/tunnel.c.

◆ version

uint32_t nftnl_tunnel_opt::version

Definition at line 302 of file obj/tunnel.c.


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