FD.io VPP
v17.01.1-3-gc6833f8
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
struct | gre_protocol_info_t |
A GRE payload protocol registration. More... | |
struct | gre_tunnel_t |
A representation of a GRE tunnel. More... | |
struct | gre_main_t |
GRE related global data. More... | |
struct | vnet_gre_add_del_tunnel_args_t |
Macros | |
#define | gre_error(n, s) GRE_ERROR_##n, |
#define | GRE_TUNNEL_TYPE_NAMES |
#define | GRE_TUNNEL_N_TYPES ((gre_tunnel_type_t)GRE_TUNNEL_TYPE_TEB+1) |
#define | GRE_OUTPUT_NEXT_LOOKUP 1 |
Typedefs | |
typedef enum gre_tunnel_tyoe_t_ | gre_tunnel_type_t |
The GRE tunnel type. More... | |
Enumerations | |
enum | gre_error_t { gre_error, gre_error } |
enum | gre_tunnel_tyoe_t_ { GRE_TUNNEL_TYPE_L3, GRE_TUNNEL_TYPE_TEB } |
The GRE tunnel type. More... | |
Functions | |
typedef | CLIB_PACKED (struct{ip4_header_t ip4;gre_header_t gre;}) ip4_and_gre_header_t |
IPv4 and GRE header. More... | |
static gre_protocol_info_t * | gre_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) |
clib_error_t * | gre_interface_admin_up_down (vnet_main_t *vnm, u32 hw_if_index, u32 flags) |
void | gre_tunnel_stack (adj_index_t ai) |
gre_tunnel_stack More... | |
void | gre_update_adj (vnet_main_t *vnm, u32 sw_if_index, adj_index_t ai) |
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) |
#define GRE_TUNNEL_N_TYPES ((gre_tunnel_type_t)GRE_TUNNEL_TYPE_TEB+1) |
#define GRE_TUNNEL_TYPE_NAMES |
typedef enum gre_tunnel_tyoe_t_ gre_tunnel_type_t |
The GRE tunnel type.
enum gre_error_t |
enum gre_tunnel_tyoe_t_ |
typedef CLIB_PACKED | ( | struct{ip4_header_t ip4;gre_header_t gre;} | ) |
IPv4 and GRE header.
|
inlinestatic |
clib_error_t* gre_interface_admin_up_down | ( | vnet_main_t * | vnm, |
u32 | hw_if_index, | ||
u32 | flags | ||
) |
Definition at line 449 of file interface.c.
void gre_register_input_protocol | ( | vlib_main_t * | vm, |
gre_protocol_t | protocol, | ||
u32 | node_index | ||
) |
void gre_register_input_type | ( | vlib_main_t * | vm, |
gre_protocol_t | protocol, | ||
u32 | node_index | ||
) |
void gre_tunnel_stack | ( | adj_index_t | ai | ) |
gre_tunnel_stack
'stack' (resolve the recursion for) the tunnel's midchain adjacency
Definition at line 118 of file interface.c.
void gre_update_adj | ( | vnet_main_t * | vnm, |
u32 | sw_if_index, | ||
adj_index_t | ai | ||
) |
int vnet_gre_add_del_tunnel | ( | vnet_gre_add_del_tunnel_args_t * | a, |
u32 * | sw_if_indexp | ||
) |
Definition at line 439 of file interface.c.
format_function_t format_gre_header |
format_function_t format_gre_header_with_length |
format_function_t format_gre_protocol |
vnet_device_class_t gre_device_class |
vnet_device_class_t gre_device_teb_class |
vnet_hw_interface_class_t gre_hw_interface_class |
vlib_node_registration_t gre_input_node |
gre_main_t gre_main |
unformat_function_t unformat_gre_header |
unformat_function_t unformat_gre_protocol_host_byte_order |
unformat_function_t unformat_gre_protocol_net_byte_order |
unformat_function_t unformat_pg_gre_header |