FD.io VPP
v16.06
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
struct | vnet_interface_output_runtime_t |
Macros | |
#define | VNET_SIMULATED_ETHERNET_TX_NEXT_ETHERNET_INPUT VNET_INTERFACE_TX_N_NEXT |
#define VNET_SIMULATED_ETHERNET_TX_NEXT_ETHERNET_INPUT VNET_INTERFACE_TX_N_NEXT |
Definition at line 207 of file interface_funcs.h.
Enumerator | |
---|---|
VNET_INTERFACE_OUTPUT_ERROR_INTERFACE_DOWN | |
VNET_INTERFACE_OUTPUT_ERROR_INTERFACE_DELETED |
Definition at line 209 of file interface_funcs.h.
Enumerator | |
---|---|
VNET_INTERFACE_OUTPUT_NEXT_DROP | |
VNET_INTERFACE_OUTPUT_NEXT_TX |
Definition at line 194 of file interface_funcs.h.
Enumerator | |
---|---|
VNET_INTERFACE_TX_NEXT_DROP | |
VNET_INTERFACE_TX_N_NEXT |
Definition at line 202 of file interface_funcs.h.
Definition at line 47 of file interface_output.c.
clib_error_t* vnet_create_sw_interface | ( | vnet_main_t * | vnm, |
vnet_sw_interface_t * | template, | ||
u32 * | sw_if_index | ||
) |
Definition at line 513 of file interface.c.
void vnet_delete_hw_interface | ( | vnet_main_t * | vnm, |
u32 | hw_if_index | ||
) |
Definition at line 736 of file interface.c.
void vnet_delete_sw_interface | ( | vnet_main_t * | vnm, |
u32 | sw_if_index | ||
) |
Definition at line 545 of file interface.c.
always_inline vnet_device_class_t* vnet_get_device_class | ( | vnet_main_t * | vnm, |
u32 | dev_class_index | ||
) |
Definition at line 82 of file interface_funcs.h.
always_inline vlib_frame_t* vnet_get_frame_to_sw_interface | ( | vnet_main_t * | vnm, |
u32 | sw_if_index | ||
) |
always_inline vnet_hw_interface_t* vnet_get_hw_interface | ( | vnet_main_t * | vnm, |
u32 | hw_if_index | ||
) |
Definition at line 44 of file interface_funcs.h.
always_inline vnet_hw_interface_class_t* vnet_get_hw_interface_class | ( | vnet_main_t * | vnm, |
u32 | hw_class_index | ||
) |
always_inline vnet_sw_interface_t* vnet_get_hw_sw_interface | ( | vnet_main_t * | vnm, |
u32 | hw_if_index | ||
) |
Definition at line 52 of file interface_funcs.h.
always_inline vnet_hw_interface_t* vnet_get_sup_hw_interface | ( | vnet_main_t * | vnm, |
u32 | sw_if_index | ||
) |
always_inline vnet_sw_interface_t* vnet_get_sup_sw_interface | ( | vnet_main_t * | vnm, |
u32 | sw_if_index | ||
) |
Definition at line 61 of file interface_funcs.h.
always_inline vnet_sw_interface_t* vnet_get_sw_interface | ( | vnet_main_t * | vnm, |
u32 | sw_if_index | ||
) |
Definition at line 48 of file interface_funcs.h.
word vnet_hw_interface_compare | ( | vnet_main_t * | vnm, |
uword | hw_if_index0, | ||
uword | hw_if_index1 | ||
) |
Definition at line 922 of file interface.c.
always_inline uword vnet_hw_interface_get_flags | ( | vnet_main_t * | vnm, |
u32 | hw_if_index | ||
) |
Definition at line 111 of file interface_funcs.h.
void vnet_hw_interface_init_for_class | ( | vnet_main_t * | vnm, |
u32 | hw_if_index, | ||
u32 | hw_class_index, | ||
u32 | hw_instance | ||
) |
Definition at line 812 of file interface.c.
always_inline uword vnet_hw_interface_is_link_up | ( | vnet_main_t * | vnm, |
u32 | hw_if_index | ||
) |
Definition at line 118 of file interface_funcs.h.
int vnet_hw_interface_rx_redirect_to_node | ( | vnet_main_t * | vnm, |
u32 | hw_if_index, | ||
u32 | node_index | ||
) |
Definition at line 901 of file interface.c.
clib_error_t* vnet_hw_interface_set_class | ( | vnet_main_t * | vnm, |
u32 | hw_if_index, | ||
u32 | new_hw_class_index | ||
) |
Definition at line 874 of file interface.c.
clib_error_t* vnet_hw_interface_set_flags | ( | vnet_main_t * | vnm, |
u32 | hw_if_index, | ||
u32 | flags | ||
) |
Definition at line 454 of file interface.c.
uword vnet_interface_output_node | ( | vlib_main_t * | vm, |
vlib_node_runtime_t * | node, | ||
vlib_frame_t * | frame | ||
) |
Definition at line 213 of file interface_output.c.
uword vnet_interface_output_node_no_flatten | ( | vlib_main_t * | vm, |
vlib_node_runtime_t * | node, | ||
vlib_frame_t * | frame | ||
) |
Definition at line 615 of file interface_output.c.
always_inline void vnet_put_frame_to_sw_interface | ( | vnet_main_t * | vnm, |
u32 | sw_if_index, | ||
vlib_frame_t * | f | ||
) |
u32 vnet_register_interface | ( | vnet_main_t * | vnm, |
u32 | dev_class_index, | ||
u32 | dev_instance, | ||
u32 | hw_class_index, | ||
u32 | hw_instance | ||
) |
Definition at line 583 of file interface.c.
clib_error_t* vnet_rename_interface | ( | vnet_main_t * | vnm, |
u32 | hw_if_index, | ||
char * | new_name | ||
) |
Definition at line 1082 of file interface.c.
word vnet_sw_interface_compare | ( | vnet_main_t * | vnm, |
uword | sw_if_index0, | ||
uword | sw_if_index1 | ||
) |
Definition at line 908 of file interface.c.
always_inline uword vnet_sw_interface_get_flags | ( | vnet_main_t * | vnm, |
u32 | sw_if_index | ||
) |
Definition at line 100 of file interface_funcs.h.
always_inline uword vnet_sw_interface_is_admin_up | ( | vnet_main_t * | vnm, |
u32 | sw_if_index | ||
) |
Definition at line 107 of file interface_funcs.h.
clib_error_t* vnet_sw_interface_set_flags | ( | vnet_main_t * | vnm, |
u32 | sw_if_index, | ||
u32 | flags | ||
) |
Definition at line 462 of file interface.c.
format_function_t format_vnet_hw_interface |
Definition at line 158 of file interface_funcs.h.
format_function_t format_vnet_sw_if_index_name |
Definition at line 162 of file interface_funcs.h.
format_function_t format_vnet_sw_interface |
Definition at line 159 of file interface_funcs.h.
format_function_t format_vnet_sw_interface_flags |
Definition at line 163 of file interface_funcs.h.
format_function_t format_vnet_sw_interface_name |
Definition at line 160 of file interface_funcs.h.
format_function_t format_vnet_sw_interface_name_override |
Definition at line 161 of file interface_funcs.h.
serialize_function_t serialize_vnet_interface_state |
Definition at line 217 of file interface_funcs.h.
unformat_function_t unformat_vnet_hw_interface |
Definition at line 167 of file interface_funcs.h.
unformat_function_t unformat_vnet_hw_interface_flags |
Definition at line 170 of file interface_funcs.h.
unformat_function_t unformat_vnet_sw_interface |
Definition at line 166 of file interface_funcs.h.
unformat_function_t unformat_vnet_sw_interface_flags |
Definition at line 171 of file interface_funcs.h.
serialize_function_t unserialize_vnet_interface_state |
Definition at line 217 of file interface_funcs.h.