28 #include <marvell/pp2/pp2.api_enum.h> 29 #include <marvell/pp2/pp2.api_types.h> 54 rmp->sw_if_index = ntohl (args.sw_if_index);
65 vl_api_mrvl_pp2_delete_reply_t *rmp;
72 rv = VNET_API_ERROR_INVALID_SW_IF_INDEX;
84 #include <marvell/pp2/pp2.api.c>
vnet_main_t * vnet_get_main(void)
static vnet_hw_interface_t * vnet_get_sup_hw_interface(vnet_main_t *vnm, u32 sw_if_index)
#define REPLY_MACRO2(t, body)
mrvl_pp2_main_t mrvl_pp2_main
vnet_device_class_t mrvl_pp2_device_class
#define pool_elt_at_index(p, i)
Returns pointer to element at given index.
static void vl_api_mrvl_pp2_create_t_handler(vl_api_mrvl_pp2_create_t *mp)
#define vec_free(V)
Free vector's memory (no header).
clib_error_t * mrvl_pp2_plugin_api_hookup(vlib_main_t *vm)
void mrvl_pp2_delete_if(mrvl_pp2_if_t *ppif)
void mrvl_pp2_create_if(mrvl_pp2_create_if_args_t *args)
vl_api_interface_index_t sw_if_index
#define clib_error_free(e)
static void setup_message_id_table(snat_main_t *sm, api_main_t *am)
mrvl_pp2_if_t * interfaces
static void vl_api_mrvl_pp2_delete_t_handler(vl_api_mrvl_pp2_delete_t *mp)