![]() |
FD.io VPP
v20.01-48-g3e0dafb74
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 482 of file interface_funcs.h.
| #define VNET_SIMULATED_ETHERNET_TX_NEXT_L2_INPUT (VNET_SIMULATED_ETHERNET_TX_NEXT_ETHERNET_INPUT + 1) |
Definition at line 483 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 485 of file interface_funcs.h.
| Enumerator | |
|---|---|
| VNET_INTERFACE_OUTPUT_NEXT_DROP | |
| VNET_INTERFACE_OUTPUT_NEXT_TX | |
Definition at line 470 of file interface_funcs.h.
| Enumerator | |
|---|---|
| VNET_INTERFACE_TX_NEXT_DROP | |
| VNET_INTERFACE_TX_N_NEXT | |
Definition at line 476 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 1539 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 1736 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 578 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 974 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 626 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 346 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 |
|
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_add_del_mac_address | ( | vnet_main_t * | vnm, |
| u32 | hw_if_index, | ||
| const u8 * | mac_address, | ||
| u8 | is_add | ||
| ) |
Definition at line 1450 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_change_mac_address | ( | vnet_main_t * | vnm, |
| u32 | hw_if_index, | ||
| const u8 * | mac_address | ||
| ) |
Definition at line 1538 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 1222 of file interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 299 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 1102 of file interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 324 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 1199 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 1172 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 361 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 724 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 1066 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 1043 of file interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 353 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 762 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 1414 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 1121 of file interface_output.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
| void vnet_sw_interface_admin_down | ( | vnet_main_t * | vnm, |
| u32 | sw_if_index | ||
| ) |
Definition at line 522 of file interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void vnet_sw_interface_admin_up | ( | vnet_main_t * | vnm, |
| u32 | sw_if_index | ||
| ) |
Definition at line 510 of file interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:| word vnet_sw_interface_compare | ( | vnet_main_t * | vnm, |
| uword | sw_if_index0, | ||
| uword | sw_if_index1 | ||
| ) |
Definition at line 1208 of file interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 245 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 292 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 313 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 697 of file interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 265 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 285 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 278 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 331 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_nbma | ( | vnet_main_t * | vnm, |
| u32 | sw_if_index | ||
| ) |
Definition at line 1249 of file interface.c.
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 1234 of file interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 339 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 252 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 501 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 664 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 676 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 1547 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 1084 of file interface.c.
|
inlinestatic |
| format_function_t format_vnet_hw_if_index_name |
Definition at line 437 of file interface_funcs.h.
| format_function_t format_vnet_hw_interface |
Definition at line 435 of file interface_funcs.h.
| format_function_t format_vnet_hw_interface_rx_mode |
Definition at line 436 of file interface_funcs.h.
| format_function_t format_vnet_sw_if_index_name |
Definition at line 441 of file interface_funcs.h.
| format_function_t format_vnet_sw_interface |
Definition at line 438 of file interface_funcs.h.
| format_function_t format_vnet_sw_interface_flags |
Definition at line 442 of file interface_funcs.h.
| format_function_t format_vnet_sw_interface_name |
Definition at line 439 of file interface_funcs.h.
| format_function_t format_vnet_sw_interface_name_override |
Definition at line 440 of file interface_funcs.h.
| format_function_t format_vtr |
Definition at line 453 of file interface_funcs.h.
| serialize_function_t serialize_vnet_interface_state |
Definition at line 496 of file interface_funcs.h.
| unformat_function_t unformat_vnet_hw_interface |
Definition at line 446 of file interface_funcs.h.
| unformat_function_t unformat_vnet_hw_interface_flags |
Definition at line 449 of file interface_funcs.h.
| unformat_function_t unformat_vnet_sw_interface |
Definition at line 445 of file interface_funcs.h.
| unformat_function_t unformat_vnet_sw_interface_flags |
Definition at line 450 of file interface_funcs.h.
| serialize_function_t unserialize_vnet_interface_state |
Definition at line 496 of file interface_funcs.h.