|
FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Go to the documentation of this file.
83 vnet_local_interface_hw_class.index, 0);
100 .init_order =
VLIB_INITS(
"vnet_interface_init",
u32 local_interface_hw_if_index
void ip4_sw_interface_enable_disable(u32 sw_if_index, u32 is_enable)
vlib_main_t vlib_node_runtime_t * node
vlib_main_t * vm
X-connect all packets from the HOST to the PHY.
vnet_main_t * vnet_get_main(void)
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_device_class_t vnet_local_interface_device_class
VNET_DEVICE_CLASS(vnet_local_interface_device_class)
u32 local_interface_sw_if_index
#define VLIB_INIT_FUNCTION(x)
void ip6_sw_interface_enable_disable(u32 sw_if_index, u32 is_enable)
clib_error_t *() vlib_init_function_t(struct vlib_main_t *vm)
static uword vnet_local_interface_tx(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *f)
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)