44 return (VNET_API_ERROR_INVALID_VALUE);
51 return (VNET_API_ERROR_FEATURE_DISABLED);
60 sw_if_index, enable, 0, 0);
62 sw_if_index, enable, 0, 0);
64 sw_if_index, enable, 0, 0);
vnet_main_t * vnet_get_main(void)
clib_memset(h->entries, 0, sizeof(h->entries[0]) *entries)
int vnet_sw_interface_gso_enable_disable(u32 sw_if_index, u8 enable)
static vnet_sw_interface_t * vnet_get_sw_interface(vnet_main_t *vnm, u32 sw_if_index)
ethernet_main_t ethernet_main
vl_api_interface_index_t sw_if_index
#define VLIB_INIT_FUNCTION(x)
static vnet_sw_interface_t * vnet_get_sup_sw_interface(vnet_main_t *vnm, u32 sw_if_index)
static clib_error_t * gso_init(vlib_main_t *vm)
int vnet_l2_feature_enable_disable(const char *arc_name, const char *node_name, u32 sw_if_index, int enable_disable, void *feature_config, u32 n_feature_config_bytes)
ethernet_interface_t * ethernet_get_interface(ethernet_main_t *em, u32 hw_if_index)
vnet_sw_interface_type_t type
int vnet_feature_enable_disable(const char *arc_name, const char *node_name, u32 sw_if_index, int enable_disable, void *feature_config, u32 n_feature_config_bytes)