FD.io VPP  v19.01.3-6-g70449b9b9
Vector Packet Processing
pipe_api.c File Reference
+ Include dependency graph for pipe_api.c:

Go to the source code of this file.

Data Structures

struct  pipe_dump_walk_t_
 

Macros

#define vl_typedefs   /* define message structures */
 
#define vl_endianfun   /* define message structures */
 
#define vl_print(handle, ...)   vlib_cli_output (handle, __VA_ARGS__)
 
#define vl_printfun
 
#define foreach_vpe_api_msg
 
#define vl_msg_name_crc_list
 

Typedefs

typedef struct pipe_dump_walk_t_ pipe_dump_walk_t
 

Functions

static void vl_api_pipe_create_t_handler (vl_api_pipe_create_t *mp)
 
static void vl_api_pipe_delete_t_handler (vl_api_pipe_delete_t *mp)
 
static walk_rc_t pipe_send_details (u32 parent_sw_if_index, u32 pipe_sw_if_index[2], u32 instance, void *args)
 
static void vl_api_pipe_dump_t_handler (vl_api_pipe_dump_t *mp)
 
static void setup_message_id_table (api_main_t *am)
 
static clib_error_tpipe_api_hookup (vlib_main_t *vm)
 
 VLIB_API_INIT_FUNCTION (pipe_api_hookup)
 

Variables

vpe_api_main_t vpe_api_main
 

Macro Definition Documentation

◆ foreach_vpe_api_msg

#define foreach_vpe_api_msg
Value:
_(PIPE_CREATE, pipe_create) \
_(PIPE_DELETE, pipe_delete) \
_(PIPE_DUMP, pipe_dump)

Definition at line 41 of file pipe_api.c.

◆ vl_endianfun

#define vl_endianfun   /* define message structures */

Definition at line 28 of file pipe_api.c.

◆ vl_msg_name_crc_list

#define vl_msg_name_crc_list

Definition at line 134 of file pipe_api.c.

◆ vl_print

#define vl_print (   handle,
  ... 
)    vlib_cli_output (handle, __VA_ARGS__)

Definition at line 33 of file pipe_api.c.

◆ vl_printfun

#define vl_printfun

Definition at line 34 of file pipe_api.c.

◆ vl_typedefs

#define vl_typedefs   /* define message structures */

Definition at line 24 of file pipe_api.c.

Typedef Documentation

◆ pipe_dump_walk_t

Function Documentation

◆ pipe_api_hookup()

static clib_error_t* pipe_api_hookup ( vlib_main_t vm)
static

Definition at line 147 of file pipe_api.c.

+ Here is the call graph for this function:

◆ pipe_send_details()

static walk_rc_t pipe_send_details ( u32  parent_sw_if_index,
u32  pipe_sw_if_index[2],
u32  instance,
void *  args 
)
static

Definition at line 87 of file pipe_api.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setup_message_id_table()

static void setup_message_id_table ( api_main_t am)
static

Definition at line 139 of file pipe_api.c.

+ Here is the caller graph for this function:

◆ vl_api_pipe_create_t_handler()

static void vl_api_pipe_create_t_handler ( vl_api_pipe_create_t mp)
static

Definition at line 47 of file pipe_api.c.

+ Here is the call graph for this function:

◆ vl_api_pipe_delete_t_handler()

static void vl_api_pipe_delete_t_handler ( vl_api_pipe_delete_t mp)
static

Definition at line 70 of file pipe_api.c.

+ Here is the call graph for this function:

◆ vl_api_pipe_dump_t_handler()

static void vl_api_pipe_dump_t_handler ( vl_api_pipe_dump_t mp)
static

Definition at line 111 of file pipe_api.c.

+ Here is the call graph for this function:

◆ VLIB_API_INIT_FUNCTION()

VLIB_API_INIT_FUNCTION ( pipe_api_hookup  )
+ Here is the caller graph for this function:

Variable Documentation

◆ vpe_api_main

vpe_api_main_t vpe_api_main

Definition at line 39 of file pipe_api.c.