FD.io VPP
v18.07.1-19-g511ce25
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
struct | socket_client_main_t |
Macros | |
#define | SOCKET_CLIENT_DEFAULT_BUFFER_SIZE 4096 |
Functions | |
int | vl_socket_client_connect (char *socket_path, char *client_name, u32 socket_buffer_size) |
void | vl_socket_client_disconnect (void) |
int | vl_socket_client_read (int wait) |
int | vl_socket_client_write (void) |
void | vl_socket_client_enable_disable (int enable) |
void * | vl_socket_client_msg_alloc (int nbytes) |
int | vl_socket_client_init_shm (vl_api_shm_elem_config_t *config) |
clib_error_t * | vl_socket_client_recv_fd_msg (int *fd_to_recv, u32 wait) |
Variables | |
socket_client_main_t | socket_client_main |
#define SOCKET_CLIENT_DEFAULT_BUFFER_SIZE 4096 |
Definition at line 46 of file socket_client.h.
int vl_socket_client_connect | ( | char * | socket_path, |
char * | client_name, | ||
u32 | socket_buffer_size | ||
) |
void vl_socket_client_disconnect | ( | void | ) |
void vl_socket_client_enable_disable | ( | int | enable | ) |
int vl_socket_client_init_shm | ( | vl_api_shm_elem_config_t * | config | ) |
void* vl_socket_client_msg_alloc | ( | int | nbytes | ) |
int vl_socket_client_read | ( | int | wait | ) |
Definition at line 56 of file socket_client.c.
clib_error_t* vl_socket_client_recv_fd_msg | ( | int * | fd_to_recv, |
u32 | wait | ||
) |
int vl_socket_client_write | ( | void | ) |
socket_client_main_t socket_client_main |
Definition at line 44 of file socket_client.c.