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

Go to the source code of this file.

Data Structures

struct  gre_protocol_info_t
 
struct  gre_tunnel_t
 
struct  gre_main_t
 
struct  vnet_gre_add_del_tunnel_args_t
 

Macros

#define gre_error(n, s)   GRE_ERROR_##n,
 
#define GRE_OUTPUT_NEXT_LOOKUP   1
 

Enumerations

enum  gre_error_t { GRE_N_ERROR }
 

Functions

always_inline gre_protocol_info_tgre_get_protocol_info (gre_main_t *em, gre_protocol_t protocol)
 
void gre_register_input_type (vlib_main_t *vm, gre_protocol_t protocol, u32 node_index)
 
void gre_set_adjacency (vnet_rewrite_header_t *rw, uword max_data_bytes, gre_protocol_t protocol)
 
void gre_register_input_protocol (vlib_main_t *vm, gre_protocol_t protocol, u32 node_index)
 
int vnet_gre_add_del_tunnel (vnet_gre_add_del_tunnel_args_t *a, u32 *sw_if_indexp)
 

Variables

vnet_hw_interface_class_t gre_hw_interface_class
 
gre_main_t gre_main
 
format_function_t format_gre_protocol
 
format_function_t format_gre_header
 
format_function_t format_gre_header_with_length
 
vlib_node_registration_t gre_input_node
 (constructor) VLIB_REGISTER_NODE (gre_input_node) More...
 
vnet_device_class_t gre_device_class
 
unformat_function_t unformat_gre_protocol_host_byte_order
 
unformat_function_t unformat_gre_protocol_net_byte_order
 
unformat_function_t unformat_gre_header
 
unformat_function_t unformat_pg_gre_header
 

Macro Definition Documentation

#define gre_error (   n,
 
)    GRE_ERROR_##n,

Definition at line 32 of file gre.h.

#define GRE_OUTPUT_NEXT_LOOKUP   1

Definition at line 123 of file gre.h.

Enumeration Type Documentation

Enumerator
GRE_N_ERROR 

Definition at line 31 of file gre.h.

Function Documentation

always_inline gre_protocol_info_t* gre_get_protocol_info ( gre_main_t em,
gre_protocol_t  protocol 
)

Definition at line 83 of file gre.h.

+ Here is the caller graph for this function:

void gre_register_input_protocol ( vlib_main_t vm,
gre_protocol_t  protocol,
u32  node_index 
)

Definition at line 438 of file node.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gre_register_input_type ( vlib_main_t vm,
gre_protocol_t  protocol,
u32  node_index 
)
void gre_set_adjacency ( vnet_rewrite_header_t *  rw,
uword  max_data_bytes,
gre_protocol_t  protocol 
)
int vnet_gre_add_del_tunnel ( vnet_gre_add_del_tunnel_args_t a,
u32 sw_if_indexp 
)

Definition at line 38 of file interface.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

format_function_t format_gre_header

Definition at line 102 of file gre.h.

format_function_t format_gre_header_with_length

Definition at line 103 of file gre.h.

format_function_t format_gre_protocol

Definition at line 101 of file gre.h.

vnet_device_class_t gre_device_class
vnet_hw_interface_class_t gre_hw_interface_class
vlib_node_registration_t gre_input_node

(constructor) VLIB_REGISTER_NODE (gre_input_node)

Definition at line 414 of file node.c.

gre_main_t gre_main

Definition at line 89 of file gre.h.

unformat_function_t unformat_gre_header

Definition at line 114 of file gre.h.

unformat_function_t unformat_gre_protocol_host_byte_order

Definition at line 110 of file gre.h.

unformat_function_t unformat_gre_protocol_net_byte_order

Definition at line 111 of file gre.h.

unformat_function_t unformat_pg_gre_header

Definition at line 115 of file gre.h.