FD.io VPP  v17.01.1-3-gc6833f8
Vector Packet Processing
memory_client.c File Reference
+ Include dependency graph for memory_client.c:

Go to the source code of this file.

Data Structures

struct  memory_client_main_t
 

Macros

#define vl_typedefs   /* define message structures */
 
#define vl_endianfun   /* define message structures */
 
#define vl_print(handle, ...)   clib_warning (__VA_ARGS__)
 
#define vl_printfun
 
#define foreach_api_msg   _(RX_THREAD_EXIT, rx_thread_exit)
 

Functions

static void * rx_thread_fn (void *arg)
 
static void vl_api_rx_thread_exit_t_handler (vl_api_rx_thread_exit_t *mp)
 
static void noop_handler (void *notused)
 
static int connect_to_vlib_internal (char *svm_name, char *client_name, int rx_queue_size, int want_pthread)
 
int vl_client_connect_to_vlib (char *svm_name, char *client_name, int rx_queue_size)
 
int vl_client_connect_to_vlib_no_rx_pthread (char *svm_name, char *client_name, int rx_queue_size)
 
void vl_client_disconnect_from_vlib (void)
 
static void vl_api_get_first_msg_id_reply_t_handler (vl_api_get_first_msg_id_reply_t *mp)
 
u16 vl_client_get_first_plugin_msg_id (char *plugin_name)
 
void vlib_node_sync_stats (vlib_main_t *vm, vlib_node_t *n)
 

Variables

memory_client_main_t memory_client_main
 

Macro Definition Documentation

#define foreach_api_msg   _(RX_THREAD_EXIT, rx_thread_exit)

Definition at line 111 of file memory_client.c.

#define vl_endianfun   /* define message structures */

Definition at line 54 of file memory_client.c.

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

Definition at line 59 of file memory_client.c.

#define vl_printfun

Definition at line 60 of file memory_client.c.

#define vl_typedefs   /* define message structures */

Definition at line 50 of file memory_client.c.

Function Documentation

static int connect_to_vlib_internal ( char *  svm_name,
char *  client_name,
int  rx_queue_size,
int  want_pthread 
)
static

Definition at line 115 of file memory_client.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void noop_handler ( void *  notused)
static

Definition at line 107 of file memory_client.c.

static void* rx_thread_fn ( void *  arg)
static

Definition at line 78 of file memory_client.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void vl_api_get_first_msg_id_reply_t_handler ( vl_api_get_first_msg_id_reply_t mp)
static

Definition at line 198 of file memory_client.c.

+ Here is the caller graph for this function:

static void vl_api_rx_thread_exit_t_handler ( vl_api_rx_thread_exit_t mp)
static

Definition at line 99 of file memory_client.c.

+ Here is the call graph for this function:

int vl_client_connect_to_vlib ( char *  svm_name,
char *  client_name,
int  rx_queue_size 
)

Definition at line 159 of file memory_client.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int vl_client_connect_to_vlib_no_rx_pthread ( char *  svm_name,
char *  client_name,
int  rx_queue_size 
)

Definition at line 167 of file memory_client.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void vl_client_disconnect_from_vlib ( void  )

Definition at line 175 of file memory_client.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

u16 vl_client_get_first_plugin_msg_id ( char *  plugin_name)

Definition at line 208 of file memory_client.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void vlib_node_sync_stats ( vlib_main_t vm,
vlib_node_t n 
)

Definition at line 272 of file memory_client.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

memory_client_main_t memory_client_main

Definition at line 75 of file memory_client.c.