18 #ifndef SRC_VLIBMEMORY_MEMORY_CLIENT_H_ 19 #define SRC_VLIBMEMORY_MEMORY_CLIENT_H_ 51 const char *client_name,
53 void *(*)(
void *),
void *);
55 const char *client_name,
58 const char *client_name,
61 const char *client_name,
69 ASSERT (my_memory_client_main);
76 my_memory_client_main = mm;
void vl_client_disconnect_from_vlib_no_unmap(void)
int vl_client_disconnect(void)
u8 rx_thread_jmpbuf_valid
int vl_client_api_map(const char *region_name)
void vl_client_disconnect_from_vlib(void)
int vl_client_connect_to_vlib(const char *svm_name, const char *client_name, int rx_queue_size)
pthread_t rx_thread_handle
static memory_client_main_t * vlibapi_get_memory_client_main(void)
memory_client_main_t memory_client_main
static void vlibapi_set_memory_client_main(memory_client_main_t *mm)
int vl_client_connect_to_vlib_thread_fn(const char *svm_name, const char *client_name, int rx_queue_size, void *(*)(void *), void *)
void vl_client_install_client_message_handlers(void)
u8 vl_mem_client_is_connected(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_rx_pthread_no_map(const char *svm_name, const char *client_name, int rx_queue_size)
__thread memory_client_main_t * my_memory_client_main
int vl_client_connect(const char *name, int ctx_quota, int input_queue_size)
void vl_client_api_unmap(void)
void vl_client_send_disconnect(u8 do_cleanup)
int vl_client_connect_to_vlib_no_map(const char *svm_name, const char *client_name, int rx_queue_size)
volatile u8 first_msg_id_reply_ready