FD.io VPP  v21.06-3-gbb25fbf28
Vector Packet Processing
memory_client.h File Reference
+ Include dependency graph for memory_client.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  memory_client_main_t
 

Functions

int vl_client_connect (const char *name, int ctx_quota, int input_queue_size)
 
void vl_client_send_disconnect (u8 do_cleanup)
 
int vl_client_disconnect (void)
 
int vl_client_api_map (const char *region_name)
 
void vl_client_api_unmap (void)
 
void vl_client_disconnect_from_vlib (void)
 
void vl_client_disconnect_from_vlib_no_unmap (void)
 
int vl_client_connect_to_vlib (const char *svm_name, const char *client_name, int rx_queue_size)
 
int vl_client_connect_to_vlib_thread_fn (const char *svm_name, const char *client_name, int rx_queue_size, void *(*)(void *), void *)
 
int vl_client_connect_to_vlib_no_rx_pthread (const char *svm_name, const char *client_name, int rx_queue_size)
 
int vl_client_connect_to_vlib_no_map (const char *svm_name, const char *client_name, int rx_queue_size)
 
int vl_client_connect_to_vlib_no_rx_pthread_no_map (const char *svm_name, const char *client_name, int rx_queue_size)
 
void vl_client_install_client_message_handlers (void)
 
u8 vl_mem_client_is_connected (void)
 
static memory_client_main_tvlibapi_get_memory_client_main (void)
 
static void vlibapi_set_memory_client_main (memory_client_main_t *mm)
 

Variables

memory_client_main_t memory_client_main
 
__thread memory_client_main_tmy_memory_client_main
 

Function Documentation

◆ vl_client_api_map()

int vl_client_api_map ( const char *  region_name)

Definition at line 378 of file memory_client.c.

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

◆ vl_client_api_unmap()

void vl_client_api_unmap ( void  )

Definition at line 390 of file memory_client.c.

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

◆ vl_client_connect()

int vl_client_connect ( const char *  name,
int  ctx_quota,
int  input_queue_size 
)

Definition at line 161 of file memory_client.c.

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

◆ vl_client_connect_to_vlib()

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

Definition at line 455 of file memory_client.c.

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

◆ vl_client_connect_to_vlib_no_map()

int vl_client_connect_to_vlib_no_map ( const char *  svm_name,
const char *  client_name,
int  rx_queue_size 
)

Definition at line 475 of file memory_client.c.

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

◆ vl_client_connect_to_vlib_no_rx_pthread()

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

Definition at line 464 of file memory_client.c.

+ Here is the call graph for this function:

◆ vl_client_connect_to_vlib_no_rx_pthread_no_map()

int vl_client_connect_to_vlib_no_rx_pthread_no_map ( const char *  svm_name,
const char *  client_name,
int  rx_queue_size 
)

Definition at line 484 of file memory_client.c.

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

◆ vl_client_connect_to_vlib_thread_fn()

int vl_client_connect_to_vlib_thread_fn ( const char *  svm_name,
const char *  client_name,
int  rx_queue_size,
void *  *)(void *,
void *   
)

◆ vl_client_disconnect()

int vl_client_disconnect ( void  )

Definition at line 286 of file memory_client.c.

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

◆ vl_client_disconnect_from_vlib()

void vl_client_disconnect_from_vlib ( void  )

Definition at line 530 of file memory_client.c.

+ Here is the call graph for this function:

◆ vl_client_disconnect_from_vlib_no_unmap()

void vl_client_disconnect_from_vlib_no_unmap ( void  )

Definition at line 536 of file memory_client.c.

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

◆ vl_client_install_client_message_handlers()

void vl_client_install_client_message_handlers ( void  )

Definition at line 363 of file memory_client.c.

+ Here is the caller graph for this function:

◆ vl_client_send_disconnect()

void vl_client_send_disconnect ( u8  do_cleanup)

Definition at line 265 of file memory_client.c.

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

◆ vl_mem_client_is_connected()

u8 vl_mem_client_is_connected ( void  )

Definition at line 396 of file memory_client.c.

+ Here is the caller graph for this function:

◆ vlibapi_get_memory_client_main()

static memory_client_main_t* vlibapi_get_memory_client_main ( void  )
inlinestatic

Definition at line 67 of file memory_client.h.

+ Here is the caller graph for this function:

◆ vlibapi_set_memory_client_main()

static void vlibapi_set_memory_client_main ( memory_client_main_t mm)
inlinestatic

Definition at line 74 of file memory_client.h.

+ Here is the caller graph for this function:

Variable Documentation

◆ memory_client_main

memory_client_main_t memory_client_main

Definition at line 48 of file memory_client.c.

◆ my_memory_client_main

__thread memory_client_main_t* my_memory_client_main

Definition at line 49 of file memory_client.c.