18 #ifndef included_gre_h 19 #define included_gre_h 32 #define gre_error(n,s) GRE_ERROR_##n, 123 #define GRE_OUTPUT_NEXT_LOOKUP 1
format_function_t format_gre_header_with_length
uword * protocol_info_by_protocol
struct _vlib_node_registration vlib_node_registration_t
struct _vnet_device_class vnet_device_class_t
u32 * tunnel_index_by_sw_if_index
u32 * free_gre_tunnel_hw_if_indices
#define vec_elt_at_index(v, i)
Get vector value at index i checking that i is in bounds.
unformat_function_t unformat_gre_header
unformat_function_t unformat_gre_protocol_net_byte_order
format_function_t format_gre_protocol
void gre_set_adjacency(vnet_rewrite_header_t *rw, uword max_data_bytes, gre_protocol_t protocol)
vnet_hw_interface_class_t gre_hw_interface_class
vlib_node_registration_t gre_input_node
(constructor) VLIB_REGISTER_NODE (gre_input_node)
vnet_device_class_t gre_device_class
int vnet_gre_add_del_tunnel(vnet_gre_add_del_tunnel_args_t *a, u32 *sw_if_indexp)
struct _vnet_hw_interface_class vnet_hw_interface_class_t
void gre_register_input_type(vlib_main_t *vm, gre_protocol_t protocol, u32 node_index)
unformat_function_t unformat_pg_gre_header
void gre_register_input_protocol(vlib_main_t *vm, gre_protocol_t protocol, u32 node_index)
unformat_function_t unformat_gre_protocol_host_byte_order
static gre_protocol_info_t * gre_get_protocol_info(gre_main_t *em, gre_protocol_t protocol)
gre_protocol_info_t * protocol_infos
format_function_t format_gre_header