![]() |
FD.io VPP
v18.11-rc0-18-g2a3fb1a
Vector Packet Processing
|
Loopback Interfaces. More...
Include dependency graph for interface.c:Go to the source code of this file.
Macros | |
| #define | LOOPBACK_MAX_INSTANCE (16 * 1024) |
Variables | |
| static vlib_cli_command_t | create_simulated_ethernet_interface_command |
| (constructor) VLIB_CLI_COMMAND (create_simulated_ethernet_interface_command) More... | |
| static vlib_cli_command_t | create_loopback_interface_command |
| (constructor) VLIB_CLI_COMMAND (create_loopback_interface_command) More... | |
| static vlib_cli_command_t | delete_simulated_ethernet_interface_command |
| (constructor) VLIB_CLI_COMMAND (delete_simulated_ethernet_interface_command) More... | |
| static vlib_cli_command_t | delete_loopback_interface_command |
| (constructor) VLIB_CLI_COMMAND (delete_loopback_interface_command) More... | |
| static vlib_cli_command_t | delete_sub_interface_command |
| (constructor) VLIB_CLI_COMMAND (delete_sub_interface_command) More... | |
Loopback Interfaces.
This file contains code to manage loopback interfaces.
Definition in file interface.c.
| #define LOOPBACK_MAX_INSTANCE (16 * 1024) |
Definition at line 607 of file interface.c.
|
static |
|
static |
|
static |
| u8* ethernet_build_rewrite | ( | vnet_main_t * | vnm, |
| u32 | sw_if_index, | ||
| vnet_link_t | link_type, | ||
| const void * | dst_address | ||
| ) |
build a rewrite string to use for sending packets of type 'link_type' to 'dst_address'
Definition at line 79 of file interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void ethernet_delete_interface | ( | vnet_main_t * | vnm, |
| u32 | hw_if_index | ||
| ) |
Definition at line 321 of file interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:| ethernet_interface_t* ethernet_get_interface | ( | ethernet_main_t * | em, |
| u32 | hw_if_index | ||
| ) |
Definition at line 828 of file interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:| const u8* ethernet_ip4_mcast_dst_addr | ( | void | ) |
| const u8* ethernet_ip6_mcast_dst_addr | ( | void | ) |
|
static |
| clib_error_t* ethernet_register_interface | ( | vnet_main_t * | vnm, |
| u32 | dev_class_index, | ||
| u32 | dev_instance, | ||
| u8 * | address, | ||
| u32 * | hw_if_index_return, | ||
| ethernet_flag_change_function_t | flag_change | ||
| ) |
Definition at line 275 of file interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:| u32 ethernet_set_flags | ( | vnet_main_t * | vnm, |
| u32 | hw_if_index, | ||
| u32 | flags | ||
| ) |
Definition at line 367 of file interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void ethernet_update_adjacency | ( | vnet_main_t * | vnm, |
| u32 | sw_if_index, | ||
| u32 | ai | ||
| ) |
Definition at line 194 of file interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 576 of file interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 610 of file interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 657 of file interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
|
static |
Echo packets back to ethernet/l2-input.
This node is "special." We know, for example, that all of the vnet_buffer (bX)->sw_if_index[VLIB_TX] values [had better!] match.
Please do not copy the code first and ask questions later.
"These are not the droids we're looking. You can go about your business. Move along..."
Definition at line 397 of file interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:| uword unformat_ethernet_interface | ( | unformat_input_t * | input, |
| va_list * | args | ||
| ) |
Definition at line 254 of file interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:| VLIB_DEVICE_TX_FUNCTION_MULTIARCH | ( | ethernet_simulated_device_class | , |
| simulated_ethernet_interface_tx | |||
| ) |
Here is the caller graph for this function:| int vnet_create_loopback_interface | ( | u32 * | sw_if_indexp, |
| u8 * | mac_address, | ||
| u8 | is_specified, | ||
| u32 | user_instance | ||
| ) |
Definition at line 677 of file interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:| int vnet_delete_loopback_interface | ( | u32 | sw_if_index | ) |
Definition at line 838 of file interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:| int vnet_delete_sub_interface | ( | u32 | sw_if_index | ) |
Definition at line 858 of file interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:| VNET_DEVICE_CLASS | ( | ethernet_simulated_device_class | ) |
Here is the caller graph for this function:| VNET_HW_INTERFACE_CLASS | ( | ethernet_hw_interface_class | ) |
Here is the caller graph for this function:
|
static |
(constructor) VLIB_CLI_COMMAND (create_loopback_interface_command)
Definition at line 820 of file interface.c.
|
static |
(constructor) VLIB_CLI_COMMAND (create_simulated_ethernet_interface_command)
Definition at line 801 of file interface.c.
|
static |
(constructor) VLIB_CLI_COMMAND (delete_loopback_interface_command)
Definition at line 972 of file interface.c.
|
static |
(constructor) VLIB_CLI_COMMAND (delete_simulated_ethernet_interface_command)
Definition at line 954 of file interface.c.
|
static |
(constructor) VLIB_CLI_COMMAND (delete_sub_interface_command)
Definition at line 987 of file interface.c.