FD.io VPP  v17.07.01-10-g3be13f0
Vector Packet Processing
sockclnt_vlib.c File Reference
+ Include dependency graph for sockclnt_vlib.c:

Go to the source code of this file.

Macros

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

Functions

static void vl_api_sockclnt_create_reply_t_handler (vl_api_sockclnt_create_reply_t *mp)
 
static void vl_api_sockclnt_delete_reply_t_handler (vl_api_sockclnt_delete_reply_t *mp)
 
u32 sockclnt_open_index (char *client_name, char *hostname, int port)
 
void sockclnt_close_index (u32 index)
 
vl_api_registration_tsockclnt_get_registration (u32 index)
 
static clib_error_tsockclnt_vlib_api_init (vlib_main_t *vm)
 
 VLIB_API_INIT_FUNCTION (sockclnt_vlib_api_init)
 

Macro Definition Documentation

#define foreach_sockclnt_api_msg
Value:
_(SOCKCLNT_CREATE_REPLY, sockclnt_create_reply) \
_(SOCKCLNT_DELETE_REPLY, sockclnt_delete_reply)

Definition at line 181 of file sockclnt_vlib.c.

#define vl_endianfun

Definition at line 47 of file sockclnt_vlib.c.

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

Definition at line 41 of file sockclnt_vlib.c.

#define vl_printfun

Definition at line 42 of file sockclnt_vlib.c.

#define vl_typedefs   /* define message structures */

Definition at line 36 of file sockclnt_vlib.c.

Function Documentation

void sockclnt_close_index ( u32  index)

Definition at line 151 of file sockclnt_vlib.c.

+ Here is the call graph for this function:

vl_api_registration_t* sockclnt_get_registration ( u32  index)

Definition at line 172 of file sockclnt_vlib.c.

u32 sockclnt_open_index ( char *  client_name,
char *  hostname,
int  port 
)

Definition at line 72 of file sockclnt_vlib.c.

+ Here is the call graph for this function:

static clib_error_t* sockclnt_vlib_api_init ( vlib_main_t vm)
static

Definition at line 187 of file sockclnt_vlib.c.

+ Here is the call graph for this function:

static void vl_api_sockclnt_create_reply_t_handler ( vl_api_sockclnt_create_reply_t mp)
static

Definition at line 52 of file sockclnt_vlib.c.

static void vl_api_sockclnt_delete_reply_t_handler ( vl_api_sockclnt_delete_reply_t mp)
static

Definition at line 61 of file sockclnt_vlib.c.

+ Here is the call graph for this function:

VLIB_API_INIT_FUNCTION ( sockclnt_vlib_api_init  )

+ Here is the caller graph for this function: