Go to the source code of this file.
|
u32 | vl (void *p) |
|
static socket_client_main_t * | vl_socket_client_ctx_push (socket_client_main_t *ctx) |
|
static void | vl_socket_client_ctx_pop (socket_client_main_t *old_ctx) |
|
static int | vl_socket_client_read_internal (socket_client_main_t *scm, int wait) |
|
int | vl_socket_client_read (int wait) |
|
int | vl_socket_client_read2 (socket_client_main_t *scm, int wait) |
|
static int | vl_socket_client_write_internal (socket_client_main_t *scm) |
|
int | vl_socket_client_write (void) |
|
int | vl_socket_client_write2 (socket_client_main_t *scm) |
|
void * | vl_socket_client_msg_alloc2 (socket_client_main_t *scm, int nbytes) |
|
void * | vl_socket_client_msg_alloc (int nbytes) |
|
void | vl_socket_client_disconnect2 (socket_client_main_t *scm) |
|
void | vl_socket_client_disconnect (void) |
|
void | vl_socket_client_enable_disable2 (socket_client_main_t *scm, int enable) |
|
void | vl_socket_client_enable_disable (int enable) |
|
static clib_error_t * | vl_sock_api_recv_fd_msg_internal (socket_client_main_t *scm, int fds[], int n_fds, u32 wait) |
|
clib_error_t * | vl_sock_api_recv_fd_msg (int socket_fd, int fds[], int n_fds, u32 wait) |
|
clib_error_t * | vl_sock_api_recv_fd_msg2 (socket_client_main_t *scm, int socket_fd, int fds[], int n_fds, u32 wait) |
|
static void | vl_api_sock_init_shm_reply_t_handler (vl_api_sock_init_shm_reply_t *mp) |
|
static void | vl_api_sockclnt_create_reply_t_handler (vl_api_sockclnt_create_reply_t *mp) |
|
static void | noop_handler (void *notused) |
|
void | vl_sock_client_install_message_handlers (void) |
|
int | vl_socket_client_connect_internal (socket_client_main_t *scm, char *socket_path, char *client_name, u32 socket_buffer_size) |
|
int | vl_socket_client_connect (char *socket_path, char *client_name, u32 socket_buffer_size) |
|
int | vl_socket_client_connect2 (socket_client_main_t *scm, char *socket_path, char *client_name, u32 socket_buffer_size) |
|
int | vl_socket_client_init_shm_internal (socket_client_main_t *scm, vl_api_shm_elem_config_t *config, int want_pthread) |
|
int | vl_socket_client_init_shm (vl_api_shm_elem_config_t *config, int want_pthread) |
|
int | vl_socket_client_init_shm2 (socket_client_main_t *scm, vl_api_shm_elem_config_t *config, int want_pthread) |
|
clib_error_t * | vl_socket_client_recv_fd_msg2 (socket_client_main_t *scm, int fds[], int n_fds, u32 wait) |
|
clib_error_t * | vl_socket_client_recv_fd_msg (int fds[], int n_fds, u32 wait) |
|
◆ foreach_sock_client_api_msg
#define foreach_sock_client_api_msg |
Value:_(SOCKCLNT_CREATE_REPLY, sockclnt_create_reply) \
_(SOCK_INIT_SHM_REPLY, sock_init_shm_reply) \
Definition at line 421 of file socket_client.c.
◆ vl_endianfun
#define vl_endianfun /* define message structures */ |
◆ vl_print
◆ vl_printfun
◆ vl_typedefs
#define vl_typedefs /* define message structures */ |
◆ noop_handler()
static void noop_handler |
( |
void * |
notused | ) |
|
|
static |
◆ vl()
◆ vl_api_sock_init_shm_reply_t_handler()
◆ vl_api_sockclnt_create_reply_t_handler()
◆ vl_sock_api_recv_fd_msg()
clib_error_t* vl_sock_api_recv_fd_msg |
( |
int |
socket_fd, |
|
|
int |
fds[], |
|
|
int |
n_fds, |
|
|
u32 |
wait |
|
) |
| |
◆ vl_sock_api_recv_fd_msg2()
◆ vl_sock_api_recv_fd_msg_internal()
◆ vl_sock_client_install_message_handlers()
void vl_sock_client_install_message_handlers |
( |
void |
| ) |
|
◆ vl_socket_client_connect()
int vl_socket_client_connect |
( |
char * |
socket_path, |
|
|
char * |
client_name, |
|
|
u32 |
socket_buffer_size |
|
) |
| |
◆ vl_socket_client_connect2()
int vl_socket_client_connect2 |
( |
socket_client_main_t * |
scm, |
|
|
char * |
socket_path, |
|
|
char * |
client_name, |
|
|
u32 |
socket_buffer_size |
|
) |
| |
◆ vl_socket_client_connect_internal()
int vl_socket_client_connect_internal |
( |
socket_client_main_t * |
scm, |
|
|
char * |
socket_path, |
|
|
char * |
client_name, |
|
|
u32 |
socket_buffer_size |
|
) |
| |
◆ vl_socket_client_ctx_pop()
◆ vl_socket_client_ctx_push()
◆ vl_socket_client_disconnect()
void vl_socket_client_disconnect |
( |
void |
| ) |
|
◆ vl_socket_client_disconnect2()
◆ vl_socket_client_enable_disable()
void vl_socket_client_enable_disable |
( |
int |
enable | ) |
|
◆ vl_socket_client_enable_disable2()
◆ vl_socket_client_init_shm()
◆ vl_socket_client_init_shm2()
◆ vl_socket_client_init_shm_internal()
◆ vl_socket_client_msg_alloc()
void* vl_socket_client_msg_alloc |
( |
int |
nbytes | ) |
|
◆ vl_socket_client_msg_alloc2()
◆ vl_socket_client_read()
int vl_socket_client_read |
( |
int |
wait | ) |
|
◆ vl_socket_client_read2()
◆ vl_socket_client_read_internal()
◆ vl_socket_client_recv_fd_msg()
clib_error_t* vl_socket_client_recv_fd_msg |
( |
int |
fds[], |
|
|
int |
n_fds, |
|
|
u32 |
wait |
|
) |
| |
◆ vl_socket_client_recv_fd_msg2()
◆ vl_socket_client_write()
int vl_socket_client_write |
( |
void |
| ) |
|
◆ vl_socket_client_write2()
◆ vl_socket_client_write_internal()
◆ socket_client_ctx
◆ socket_client_main