|
static vnet_hw_interface_t * | vnet_get_hw_interface (vnet_main_t *vnm, u32 hw_if_index) |
|
static vnet_sw_interface_t * | vnet_get_sw_interface (vnet_main_t *vnm, u32 sw_if_index) |
|
static vnet_sw_interface_t * | vnet_get_sw_interface_safe (vnet_main_t *vnm, u32 sw_if_index) |
|
static vnet_sw_interface_t * | vnet_get_hw_sw_interface (vnet_main_t *vnm, u32 hw_if_index) |
|
static vnet_sw_interface_t * | vnet_get_sup_sw_interface (vnet_main_t *vnm, u32 sw_if_index) |
|
static vnet_hw_interface_t * | vnet_get_sup_hw_interface (vnet_main_t *vnm, u32 sw_if_index) |
|
static vnet_hw_interface_class_t * | vnet_get_hw_interface_class (vnet_main_t *vnm, u32 hw_class_index) |
|
static vnet_device_class_t * | vnet_get_device_class (vnet_main_t *vnm, u32 dev_class_index) |
|
static u8 * | vnet_get_sw_interface_tag (vnet_main_t *vnm, u32 sw_if_index) |
|
static void | vnet_set_sw_interface_tag (vnet_main_t *vnm, u8 *tag, u32 sw_if_index) |
|
static void | vnet_clear_sw_interface_tag (vnet_main_t *vnm, u32 sw_if_index) |
|
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. More...
|
|
u32 | vnet_register_interface (vnet_main_t *vnm, u32 dev_class_index, u32 dev_instance, u32 hw_class_index, u32 hw_instance) |
|
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. More...
|
|
clib_error_t * | vnet_create_sw_interface (vnet_main_t *vnm, vnet_sw_interface_t *template, u32 *sw_if_index) |
|
void | vnet_delete_hw_interface (vnet_main_t *vnm, u32 hw_if_index) |
|
void | vnet_delete_sw_interface (vnet_main_t *vnm, u32 sw_if_index) |
|
int | vnet_sw_interface_is_p2p (vnet_main_t *vnm, u32 sw_if_index) |
|
static uword | vnet_sw_interface_get_flags (vnet_main_t *vnm, u32 sw_if_index) |
|
static uword | vnet_sw_interface_is_admin_up (vnet_main_t *vnm, u32 sw_if_index) |
|
static uword | vnet_swif_is_api_visible (vnet_sw_interface_t *si) |
|
static uword | vnet_sw_interface_is_api_visible (vnet_main_t *vnm, u32 sw_if_index) |
|
static uword | vnet_sw_interface_is_api_valid (vnet_main_t *vnm, u32 sw_if_index) |
|
static uword | vnet_hw_interface_get_flags (vnet_main_t *vnm, u32 hw_if_index) |
|
static uword | vnet_hw_interface_get_mtu (vnet_main_t *vnm, u32 hw_if_index, vlib_rx_or_tx_t dir) |
|
static uword | vnet_sw_interface_get_mtu (vnet_main_t *vnm, u32 sw_if_index, vlib_rx_or_tx_t dir) |
|
static uword | vnet_hw_interface_is_link_up (vnet_main_t *vnm, u32 hw_if_index) |
|
static vlib_frame_t * | vnet_get_frame_to_sw_interface (vnet_main_t *vnm, u32 sw_if_index) |
|
static void | vnet_put_frame_to_sw_interface (vnet_main_t *vnm, u32 sw_if_index, vlib_frame_t *f) |
|
clib_error_t * | vnet_hw_interface_set_flags (vnet_main_t *vnm, u32 hw_if_index, u32 flags) |
|
clib_error_t * | vnet_sw_interface_set_flags (vnet_main_t *vnm, u32 sw_if_index, u32 flags) |
|
clib_error_t * | vnet_hw_interface_set_class (vnet_main_t *vnm, u32 hw_if_index, u32 new_hw_class_index) |
|
int | vnet_hw_interface_rx_redirect_to_node (vnet_main_t *vnm, u32 hw_if_index, u32 node_index) |
|
void | vnet_hw_interface_init_for_class (vnet_main_t *vnm, u32 hw_if_index, u32 hw_class_index, u32 hw_instance) |
|
clib_error_t * | vnet_rename_interface (vnet_main_t *vnm, u32 hw_if_index, char *new_name) |
|
clib_error_t * | vnet_hw_interface_change_mac_address (vnet_main_t *vnm, u32 hw_if_index, u8 *mac_address) |
|
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) |
|
void * | vnet_interface_output_node_multiarch_select (void) |
|
word | vnet_sw_interface_compare (vnet_main_t *vnm, uword sw_if_index0, uword sw_if_index1) |
|
word | vnet_hw_interface_compare (vnet_main_t *vnm, uword hw_if_index0, uword hw_if_index1) |
|
u8 * | format_vnet_interface_output_trace (u8 *s, va_list *va) |
|