FD.io VPP  v18.07-rc0-415-g6c78436
Vector Packet Processing
geneve.h File Reference
+ Include dependency graph for geneve.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  geneve_tunnel_t
 
struct  geneve_main_t
 
struct  vnet_geneve_add_del_tunnel_args_t
 

Macros

#define SUPPORT_OPTIONS_HEADER   0
 
#define foreach_geneve_input_next
 
#define geneve_error(n, s)   GENEVE_ERROR_##n,
 

Enumerations

enum  geneve_input_next_t { GENEVE_INPUT_N_NEXT }
 
enum  geneve_input_error_t { GENEVE_N_ERROR }
 

Functions

typedef CLIB_PACKED (struct{ip4_header_t ip4;udp_header_t udp;geneve_header_t geneve;}) ip4_geneve_header_t
 
typedef CLIB_PACKED (struct{ip6_header_t ip6;udp_header_t udp;geneve_header_t geneve;}) ip6_geneve_header_t
 
typedef CLIB_PACKED (struct{union{struct{u32 remote;u32 vni;};u64 as_u64;};}) geneve4_tunnel_key_t
 
typedef CLIB_PACKED (struct{ip6_address_t remote;u32 vni;}) geneve6_tunnel_key_t
 
u8format_geneve_encap_trace (u8 *s, va_list *args)
 
int vnet_geneve_add_del_tunnel (vnet_geneve_add_del_tunnel_args_t *a, u32 *sw_if_indexp)
 
void vnet_int_geneve_bypass_mode (u32 sw_if_index, u8 is_ip6, u8 is_enable)
 

Variables

geneve_main_t geneve_main
 
vlib_node_registration_t geneve4_input_node
 (constructor) VLIB_REGISTER_NODE (geneve4_input_node) More...
 
vlib_node_registration_t geneve6_input_node
 (constructor) VLIB_REGISTER_NODE (geneve6_input_node) More...
 
vlib_node_registration_t geneve4_encap_node
 (constructor) VLIB_REGISTER_NODE (geneve4_encap_node) More...
 
vlib_node_registration_t geneve6_encap_node
 (constructor) VLIB_REGISTER_NODE (geneve6_encap_node) More...
 

Macro Definition Documentation

#define foreach_geneve_input_next
Value:
_(DROP, "error-drop") \
_(L2_INPUT, "l2-input")
DROP
Definition: error.def:41

Definition at line 133 of file geneve.h.

#define geneve_error (   n,
 
)    GENEVE_ERROR_##n,

Definition at line 147 of file geneve.h.

#define SUPPORT_OPTIONS_HEADER   0

Definition at line 33 of file geneve.h.

Enumeration Type Documentation

Enumerator
GENEVE_N_ERROR 

Definition at line 145 of file geneve.h.

Enumerator
GENEVE_INPUT_N_NEXT 

Definition at line 137 of file geneve.h.

Function Documentation

typedef CLIB_PACKED ( struct{ip4_header_t ip4;udp_header_t udp;geneve_header_t geneve;}  )
typedef CLIB_PACKED ( struct{ip6_header_t ip6;udp_header_t udp;geneve_header_t geneve;}  )
typedef CLIB_PACKED ( struct{union{struct{u32 remote;u32 vni;};u64 as_u64;};}  )
typedef CLIB_PACKED ( struct{ip6_address_t remote;u32 vni;}  )
u8* format_geneve_encap_trace ( u8 s,
va_list *  args 
)

Definition at line 53 of file encap.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int vnet_geneve_add_del_tunnel ( vnet_geneve_add_del_tunnel_args_t a,
u32 sw_if_indexp 
)

Definition at line 355 of file geneve.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void vnet_int_geneve_bypass_mode ( u32  sw_if_index,
u8  is_ip6,
u8  is_enable 
)

Definition at line 920 of file geneve.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

vlib_node_registration_t geneve4_encap_node

(constructor) VLIB_REGISTER_NODE (geneve4_encap_node)

Definition at line 561 of file encap.c.

vlib_node_registration_t geneve4_input_node

(constructor) VLIB_REGISTER_NODE (geneve4_input_node)

Definition at line 20 of file decap.c.

vlib_node_registration_t geneve6_encap_node

(constructor) VLIB_REGISTER_NODE (geneve6_encap_node)

Definition at line 577 of file encap.c.

vlib_node_registration_t geneve6_input_node

(constructor) VLIB_REGISTER_NODE (geneve6_input_node)

Definition at line 21 of file decap.c.

geneve_main_t geneve_main

Definition at line 38 of file geneve.c.