|
FD.io VPP
v21.10.1-2-g0a485f517
Vector Packet Processing
|
Go to the documentation of this file.
23 #include <vnet/devices/pipe/pipe.api_enum.h>
24 #include <vnet/devices/pipe/pipe.api_types.h>
26 #define REPLY_MSG_ID_BASE msg_id_base
36 u32 parent_sw_if_index;
37 u32 pipe_sw_if_index[2];
43 &parent_sw_if_index, pipe_sw_if_index);
58 vl_api_pipe_delete_reply_t *rmp;
113 #include <vnet/devices/pipe/pipe.api.c>
static void vl_api_pipe_delete_t_handler(vl_api_pipe_delete_t *mp)
static vl_api_registration_t * vl_api_client_index_to_registration(u32 index)
#define REPLY_MACRO2(t, body)
static clib_error_t * pipe_api_hookup(vlib_main_t *vm)
Reply for pipe create reply.
static void vl_api_send_msg(vl_api_registration_t *rp, u8 *elem)
vl_api_interface_index_t pipe_sw_if_index[2]
vl_api_interface_index_t pipe_sw_if_index[2]
#define REPLY_MSG_ID_BASE
void pipe_walk(pipe_cb_fn_t fn, void *ctx)
Walk all the of pipe interfaces.
vlib_main_t * vm
X-connect all packets from the HOST to the PHY.
int vnet_delete_pipe_interface(u32 sw_if_index)
vl_api_interface_index_t sw_if_index
vpe_api_main_t vpe_api_main
static void vl_api_pipe_create_t_handler(vl_api_pipe_create_t *mp)
Initialize a new pipe interface with the given parameters.
static void vl_api_pipe_dump_t_handler(vl_api_pipe_dump_t *mp)
An API client registration, only in vpp/vlib.
static void setup_message_id_table(api_main_t *am)
static walk_rc_t pipe_send_details(u32 parent_sw_if_index, u32 pipe_sw_if_index[2], u32 instance, void *args)
int vnet_create_pipe_interface(u8 is_specified, u32 user_instance, u32 *parent_sw_if_index, u32 pipe_sw_if_index[2])
Create a new pipe interface.
VLIB_API_INIT_FUNCTION(pipe_api_hookup)
Reply for pipe dump request.
Dump pipe interfaces request.
vl_api_interface_index_t sw_if_index
vl_api_registration_t * reg
vl_api_interface_index_t sw_if_index
enum walk_rc_t_ walk_rc_t
Walk return code.
struct pipe_dump_walk_t_ pipe_dump_walk_t
void * vl_msg_api_alloc(int nbytes)