FD.io VPP  v16.06
Vector Packet Processing
vxlan_gpe.h File Reference
+ Include dependency graph for vxlan_gpe.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  vxlan_gpe_tunnel_t
 
struct  vxlan_gpe_main_t
 
struct  vnet_vxlan_gpe_add_del_tunnel_args_t
 

Macros

#define foreach_vxlan_gpe_input_next
 
#define vxlan_gpe_error(n, s)   VXLAN_GPE_ERROR_##n,
 

Enumerations

enum  vxlan_gpe_input_next_t { VXLAN_GPE_INPUT_N_NEXT }
 
enum  vxlan_gpe_input_error_t { VXLAN_GPE_N_ERROR }
 

Functions

typedef CLIB_PACKED (struct{ip4_header_t ip4;udp_header_t udp;vxlan_gpe_header_t vxlan;}) ip4_vxlan_gpe_header_t
 
typedef CLIB_PACKED (struct{union{struct{u32 local;u32 remote;u32 vni;u32 pad;};u64 as_u64[2];};}) vxlan_gpe_tunnel_key_t
 
u8format_vxlan_gpe_encap_trace (u8 *s, va_list *args)
 
int vnet_vxlan_gpe_add_del_tunnel (vnet_vxlan_gpe_add_del_tunnel_args_t *a, u32 *sw_if_indexp)
 

Variables

vxlan_gpe_main_t vxlan_gpe_main
 
vlib_node_registration_t vxlan_gpe_encap_node
 (constructor) VLIB_REGISTER_NODE (vxlan_gpe_encap_node) More...
 
vlib_node_registration_t vxlan_gpe_input_node
 (constructor) VLIB_REGISTER_NODE (vxlan_gpe_input_node) More...
 

Macro Definition Documentation

#define foreach_vxlan_gpe_input_next
Value:
_(DROP, "error-drop") \
_(IP4_INPUT, "ip4-input") \
_(IP6_INPUT, "ip6-input") \
_(ETHERNET_INPUT, "ethernet-input")
DROP
Definition: error.def:41

Definition at line 75 of file vxlan_gpe.h.

#define vxlan_gpe_error (   n,
 
)    VXLAN_GPE_ERROR_##n,

Definition at line 89 of file vxlan_gpe.h.

Enumeration Type Documentation

Enumerator
VXLAN_GPE_N_ERROR 

Definition at line 88 of file vxlan_gpe.h.

Enumerator
VXLAN_GPE_INPUT_N_NEXT 

Definition at line 81 of file vxlan_gpe.h.

Function Documentation

typedef CLIB_PACKED ( struct{ip4_header_t ip4;udp_header_t udp;vxlan_gpe_header_t vxlan;}  )
typedef CLIB_PACKED ( struct{union{struct{u32 local;u32 remote;u32 vni;u32 pad;};u64 as_u64[2];};}  )
u8* format_vxlan_gpe_encap_trace ( u8 s,
va_list *  args 
)

Definition at line 50 of file encap.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int vnet_vxlan_gpe_add_del_tunnel ( vnet_vxlan_gpe_add_del_tunnel_args_t a,
u32 sw_if_indexp 
)

Definition at line 180 of file vxlan_gpe.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

vlib_node_registration_t vxlan_gpe_encap_node

(constructor) VLIB_REGISTER_NODE (vxlan_gpe_encap_node)

Definition at line 408 of file encap.c.

vlib_node_registration_t vxlan_gpe_input_node

(constructor) VLIB_REGISTER_NODE (vxlan_gpe_input_node)

Definition at line 429 of file decap.c.

vxlan_gpe_main_t vxlan_gpe_main

Definition at line 113 of file vxlan_gpe.h.