![]() |
FD.io VPP
v19.04.4-rc0-5-ge88582fac
Vector Packet Processing
|
This graph shows which files directly or indirectly include this file: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_L2_INPUT (VNET_SIMULATED_ETHERNET_TX_NEXT_ETHERNET_INPUT + 1) |
Typedefs | |
| typedef enum walk_rc_t_ | walk_rc_t |
| Walk return code. More... | |
| typedef walk_rc_t(* | vnet_hw_sw_interface_walk_t) (vnet_main_t *vnm, u32 sw_if_index, void *ctx) |
| Call back walk type for walking SW indices on a HW interface. More... | |
| typedef walk_rc_t(* | vnet_sw_interface_walk_t) (vnet_main_t *vnm, vnet_sw_interface_t *si, void *ctx) |
| Call back walk type for walking SW indices on a HW interface. More... | |
| typedef walk_rc_t(* | vnet_hw_interface_walk_t) (vnet_main_t *vnm, u32 hw_if_index, void *ctx) |
| Call back walk type for walking all HW indices. More... | |
| #define VNET_SIMULATED_ETHERNET_TX_NEXT_ETHERNET_INPUT VNET_INTERFACE_TX_N_NEXT |
Definition at line 469 of file interface_funcs.h.
| #define VNET_SIMULATED_ETHERNET_TX_NEXT_L2_INPUT (VNET_SIMULATED_ETHERNET_TX_NEXT_ETHERNET_INPUT + 1) |
Definition at line 470 of file interface_funcs.h.
| typedef walk_rc_t(* vnet_hw_interface_walk_t) (vnet_main_t *vnm, u32 hw_if_index, void *ctx) |
Call back walk type for walking all HW indices.
Definition at line 210 of file interface_funcs.h.
| typedef walk_rc_t(* vnet_hw_sw_interface_walk_t) (vnet_main_t *vnm, u32 sw_if_index, void *ctx) |
Call back walk type for walking SW indices on a HW interface.
Definition at line 180 of file interface_funcs.h.
| typedef walk_rc_t(* vnet_sw_interface_walk_t) (vnet_main_t *vnm, vnet_sw_interface_t *si, void *ctx) |
Call back walk type for walking SW indices on a HW interface.
Definition at line 195 of file interface_funcs.h.
| typedef enum walk_rc_t_ walk_rc_t |
Walk return code.
| Enumerator | |
|---|---|
| VNET_INTERFACE_OUTPUT_ERROR_INTERFACE_DOWN | |
| VNET_INTERFACE_OUTPUT_ERROR_INTERFACE_DELETED | |
| VNET_INTERFACE_OUTPUT_ERROR_NO_BUFFERS_FOR_GSO | |
| VNET_INTERFACE_OUTPUT_ERROR_UNHANDLED_GSO_TYPE | |
Definition at line 472 of file interface_funcs.h.
| Enumerator | |
|---|---|
| VNET_INTERFACE_OUTPUT_NEXT_DROP | |
| VNET_INTERFACE_OUTPUT_NEXT_TX | |
Definition at line 457 of file interface_funcs.h.
| Enumerator | |
|---|---|
| VNET_INTERFACE_TX_NEXT_DROP | |
| VNET_INTERFACE_TX_N_NEXT | |
Definition at line 463 of file interface_funcs.h.
| enum walk_rc_t_ |
Walk return code.
| Enumerator | |
|---|---|
| WALK_STOP | |
| WALK_CONTINUE | |
Definition at line 171 of file interface_funcs.h.
Definition at line 59 of file interface_output.c.
Here is the call graph for this function:
Here is the caller graph for this function:| clib_error_t* set_hw_interface_change_rx_mode | ( | vnet_main_t * | vnm, |
| u32 | hw_if_index, | ||
| u8 | queue_id_valid, | ||
| u32 | queue_id, | ||
| vnet_hw_interface_rx_mode | mode | ||
| ) |
Definition at line 1374 of file interface_cli.c.
Here is the call graph for this function:
Here is the caller graph for this function:| clib_error_t* set_hw_interface_rx_placement | ( | u32 | hw_if_index, |
| u32 | queue_id, | ||
| u32 | thread_index, | ||
| u8 | is_main | ||
| ) |
Definition at line 1571 of file interface_cli.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
| clib_error_t* vnet_create_sw_interface | ( | vnet_main_t * | vnm, |
| vnet_sw_interface_t * | template, | ||
| u32 * | sw_if_index | ||
| ) |
Definition at line 566 of file interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void vnet_delete_hw_interface | ( | vnet_main_t * | vnm, |
| u32 | hw_if_index | ||
| ) |
Definition at line 951 of file interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void vnet_delete_sw_interface | ( | vnet_main_t * | vnm, |
| u32 | sw_if_index | ||
| ) |
Definition at line 604 of file interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
|
inlinestatic |
Definition at line 345 of file interface_funcs.h.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 44 of file interface_funcs.h.
|
inlinestatic |
|
inlinestatic |
Definition at line 50 of file interface_funcs.h.
|
inlinestatic |
Definition at line 72 of file interface_funcs.h.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
|
inlinestatic |
Definition at line 101 of file interface_funcs.h.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 81 of file interface_funcs.h.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 58 of file interface_funcs.h.
|
inlinestatic |
|
inlinestatic |
| clib_error_t* vnet_hw_interface_change_mac_address | ( | vnet_main_t * | vnm, |
| u32 | hw_if_index, | ||
| const u8 * | mac_address | ||
| ) |
Definition at line 1466 of file interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:| word vnet_hw_interface_compare | ( | vnet_main_t * | vnm, |
| uword | hw_if_index0, | ||
| uword | hw_if_index1 | ||
| ) |
Definition at line 1200 of file interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 298 of file interface_funcs.h.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
| 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 1080 of file interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 323 of file interface_funcs.h.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
| int vnet_hw_interface_rx_redirect_to_node | ( | vnet_main_t * | vnm, |
| u32 | hw_if_index, | ||
| u32 | node_index | ||
| ) |
Definition at line 1177 of file interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:| clib_error_t* vnet_hw_interface_set_class | ( | vnet_main_t * | vnm, |
| u32 | hw_if_index, | ||
| u32 | new_hw_class_index | ||
| ) |
Definition at line 1150 of file interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:| clib_error_t* vnet_hw_interface_set_flags | ( | vnet_main_t * | vnm, |
| u32 | hw_if_index, | ||
| vnet_hw_interface_flags_t | flags | ||
| ) |
|
inlinestatic |
Definition at line 360 of file interface_funcs.h.
Here is the call graph for this function:
Here is the caller graph for this function:| void vnet_hw_interface_set_mtu | ( | vnet_main_t * | vnm, |
| u32 | hw_if_index, | ||
| u32 | mtu | ||
| ) |
Definition at line 702 of file interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void vnet_hw_interface_walk | ( | vnet_main_t * | vnm, |
| vnet_hw_interface_walk_t | fn, | ||
| void * | ctx | ||
| ) |
Walk all the HW interface.
Definition at line 1044 of file interface.c.
Here is the caller graph for this function:| void vnet_hw_interface_walk_sw | ( | vnet_main_t * | vnm, |
| u32 | hw_if_index, | ||
| vnet_hw_sw_interface_walk_t | fn, | ||
| void * | ctx | ||
| ) |
Walk the SW interfaces on a HW interface - this is the super interface and any sub-interfaces.
Definition at line 1021 of file interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 352 of file interface_funcs.h.
Here is the call graph for this function:
Here is the caller graph for this function:| 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 740 of file interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:| clib_error_t* vnet_rename_interface | ( | vnet_main_t * | vnm, |
| u32 | hw_if_index, | ||
| char * | new_name | ||
| ) |
Definition at line 1384 of file interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void vnet_set_interface_output_node | ( | vnet_main_t * | vnm, |
| u32 | hw_if_index, | ||
| u32 | node_index | ||
| ) |
Set interface output node - for interface registered without its output/tx nodes created because its VNET_DEVICE_CLASS did not specify any tx_function.
This is typically the case for tunnel interfaces.
Definition at line 1393 of file interface_output.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
| word vnet_sw_interface_compare | ( | vnet_main_t * | vnm, |
| uword | sw_if_index0, | ||
| uword | sw_if_index1 | ||
| ) |
Definition at line 1186 of file interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 244 of file interface_funcs.h.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 291 of file interface_funcs.h.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 312 of file interface_funcs.h.
Here is the call graph for this function:
Here is the caller graph for this function:| void vnet_sw_interface_ip_directed_broadcast | ( | vnet_main_t * | vnm, |
| u32 | sw_if_index, | ||
| u8 | enable | ||
| ) |
Definition at line 675 of file interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 264 of file interface_funcs.h.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 284 of file interface_funcs.h.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 277 of file interface_funcs.h.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 330 of file interface_funcs.h.
Here is the call graph for this function:
Here is the caller graph for this function:| int vnet_sw_interface_is_p2p | ( | vnet_main_t * | vnm, |
| u32 | sw_if_index | ||
| ) |
Definition at line 1212 of file interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 338 of file interface_funcs.h.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 251 of file interface_funcs.h.
| clib_error_t* vnet_sw_interface_set_flags | ( | vnet_main_t * | vnm, |
| u32 | sw_if_index, | ||
| vnet_sw_interface_flags_t | flags | ||
| ) |
Definition at line 513 of file interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void vnet_sw_interface_set_mtu | ( | vnet_main_t * | vnm, |
| u32 | sw_if_index, | ||
| u32 | mtu | ||
| ) |
Definition at line 642 of file interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void vnet_sw_interface_set_protocol_mtu | ( | vnet_main_t * | vnm, |
| u32 | sw_if_index, | ||
| u32 | mtu[] | ||
| ) |
Definition at line 654 of file interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 25 of file interface_stats.c.
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 1475 of file interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void vnet_sw_interface_walk | ( | vnet_main_t * | vnm, |
| vnet_sw_interface_walk_t | fn, | ||
| void * | ctx | ||
| ) |
Walk all the SW interfaces in the system.
Definition at line 1062 of file interface.c.
Here is the caller graph for this function:
|
inlinestatic |
| format_function_t format_vnet_hw_if_index_name |
Definition at line 427 of file interface_funcs.h.
| format_function_t format_vnet_hw_interface |
Definition at line 425 of file interface_funcs.h.
| format_function_t format_vnet_hw_interface_rx_mode |
Definition at line 426 of file interface_funcs.h.
| format_function_t format_vnet_sw_if_index_name |
Definition at line 431 of file interface_funcs.h.
| format_function_t format_vnet_sw_interface |
Definition at line 428 of file interface_funcs.h.
| format_function_t format_vnet_sw_interface_flags |
Definition at line 432 of file interface_funcs.h.
| format_function_t format_vnet_sw_interface_name |
Definition at line 429 of file interface_funcs.h.
| format_function_t format_vnet_sw_interface_name_override |
Definition at line 430 of file interface_funcs.h.
| serialize_function_t serialize_vnet_interface_state |
Definition at line 483 of file interface_funcs.h.
| unformat_function_t unformat_vnet_hw_interface |
Definition at line 436 of file interface_funcs.h.
| unformat_function_t unformat_vnet_hw_interface_flags |
Definition at line 439 of file interface_funcs.h.
| unformat_function_t unformat_vnet_sw_interface |
Definition at line 435 of file interface_funcs.h.
| unformat_function_t unformat_vnet_sw_interface_flags |
Definition at line 440 of file interface_funcs.h.
| serialize_function_t unserialize_vnet_interface_state |
Definition at line 483 of file interface_funcs.h.