83 vnet_local_interface_hw_class.index, 0);
100 .init_order =
VLIB_INITS(
"vnet_interface_init",
static vnet_hw_interface_t * vnet_get_hw_interface(vnet_main_t *vnm, u32 hw_if_index)
clib_error_t * vnet_main_init(vlib_main_t *vm)
vnet_main_t * vnet_get_main(void)
VNET_HW_INTERFACE_CLASS(vnet_local_interface_hw_class, static)
u32 vnet_register_interface(vnet_main_t *vnm, u32 dev_class_index, u32 dev_instance, u32 hw_class_index, u32 hw_instance)
#define VLIB_INIT_FUNCTION(x)
u32 local_interface_sw_if_index
void ip4_sw_interface_enable_disable(u32 sw_if_index, u32 is_enable)
static uword vnet_local_interface_tx(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *f)
vnet_device_class_t vnet_local_interface_device_class
vlib_main_t vlib_node_runtime_t * node
VNET_DEVICE_CLASS(vnet_local_interface_device_class)
u32 local_interface_hw_if_index
void ip6_sw_interface_enable_disable(u32 sw_if_index, u32 is_enable)