29 #include <avf/avf.api_enum.h> 30 #include <avf/avf.api_types.h> 57 rmp->sw_if_index = ntohl (args.sw_if_index);
68 vl_api_avf_delete_reply_t *rmp;
78 rv = VNET_API_ERROR_INVALID_INTERFACE;
91 #include <avf/avf.api.c>
vnet_main_t * vnet_get_main(void)
#define REPLY_MACRO2(t, body)
clib_memset(h->entries, 0, sizeof(h->entries[0]) *entries)
VLIB_API_INIT_FUNCTION(avf_plugin_api_hookup)
vnet_device_class_t avf_device_class
void avf_create_if(vlib_main_t *vm, avf_create_if_args_t *args)
static clib_error_t * avf_plugin_api_hookup(vlib_main_t *vm)
#define pool_elt_at_index(p, i)
Returns pointer to element at given index.
vl_api_interface_index_t sw_if_index
static vnet_hw_interface_t * vnet_get_sup_hw_interface_api_visible_or_null(vnet_main_t *vnm, u32 sw_if_index)
static void vl_api_avf_delete_t_handler(vl_api_avf_delete_t *mp)
static vlib_main_t * vlib_get_main(void)
void avf_delete_if(vlib_main_t *vm, avf_device_t *ad)
static void setup_message_id_table(snat_main_t *sm, api_main_t *am)
static void vl_api_avf_create_t_handler(vl_api_avf_create_t *mp)