|
const u8 * | ethernet_ip4_mcast_dst_addr (void) |
|
const u8 * | ethernet_ip6_mcast_dst_addr (void) |
|
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' More...
|
|
void | ethernet_update_adjacency (vnet_main_t *vnm, u32 sw_if_index, u32 ai) |
|
static clib_error_t * | ethernet_mac_change (vnet_hw_interface_t *hi, const u8 *old_address, const u8 *mac_address) |
|
| VNET_HW_INTERFACE_CLASS (ethernet_hw_interface_class) |
|
uword | unformat_ethernet_interface (unformat_input_t *input, va_list *args) |
|
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) |
|
void | ethernet_delete_interface (vnet_main_t *vnm, u32 hw_if_index) |
|
u32 | ethernet_set_flags (vnet_main_t *vnm, u32 hw_if_index, u32 flags) |
|
static uword | simulated_ethernet_interface_tx (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
| Echo packets back to ethernet/l2-input. More...
|
|
static u8 * | format_simulated_ethernet_name (u8 *s, va_list *args) |
|
static clib_error_t * | simulated_ethernet_admin_up_down (vnet_main_t *vnm, u32 hw_if_index, u32 flags) |
|
static clib_error_t * | simulated_ethernet_mac_change (vnet_hw_interface_t *hi, const u8 *old_address, const u8 *mac_address) |
|
| VNET_DEVICE_CLASS (ethernet_simulated_device_class) |
|
| VLIB_DEVICE_TX_FUNCTION_MULTIARCH (ethernet_simulated_device_class, simulated_ethernet_interface_tx) |
|
static u32 | loopback_instance_alloc (u8 is_specified, u32 want) |
|
static int | loopback_instance_free (u32 instance) |
|
int | vnet_create_loopback_interface (u32 *sw_if_indexp, u8 *mac_address, u8 is_specified, u32 user_instance) |
|
static clib_error_t * | create_simulated_ethernet_interfaces (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
ethernet_interface_t * | ethernet_get_interface (ethernet_main_t *em, u32 hw_if_index) |
|
int | vnet_delete_loopback_interface (u32 sw_if_index) |
|
int | vnet_delete_sub_interface (u32 sw_if_index) |
|
static clib_error_t * | delete_simulated_ethernet_interfaces (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | delete_sub_interface (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
Loopback Interfaces.
This file contains code to manage loopback interfaces.
Definition in file interface.c.