FD.io VPP  v18.10-34-gcce845e
Vector Packet Processing
socket_client.h File Reference
+ Include dependency graph for socket_client.h:
+ This graph shows which files directly or indirectly include this file:

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_tvl_socket_client_recv_fd_msg (int fds[], int n_fds, u32 wait)
 

Variables

socket_client_main_t socket_client_main
 

Macro Definition Documentation

#define SOCKET_CLIENT_DEFAULT_BUFFER_SIZE   4096

Definition at line 47 of file socket_client.h.

Function Documentation

int vl_socket_client_connect ( char *  socket_path,
char *  client_name,
u32  socket_buffer_size 
)

Definition at line 343 of file socket_client.c.

+ Here is the call graph for this function:

void vl_socket_client_disconnect ( void  )

Definition at line 172 of file socket_client.c.

+ Here is the call graph for this function:

void vl_socket_client_enable_disable ( int  enable)

Definition at line 187 of file socket_client.c.

+ Here is the caller graph for this function:

int vl_socket_client_init_shm ( vl_api_shm_elem_config_t config)

Definition at line 398 of file socket_client.c.

+ Here is the call graph for this function:

void* vl_socket_client_msg_alloc ( int  nbytes)

Definition at line 165 of file socket_client.c.

+ Here is the caller graph for this function:

int vl_socket_client_read ( int  wait)

Definition at line 56 of file socket_client.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

clib_error_t* vl_socket_client_recv_fd_msg ( int  fds[],
int  n_fds,
u32  wait 
)

Definition at line 432 of file socket_client.c.

+ Here is the call graph for this function:

int vl_socket_client_write ( void  )

Definition at line 136 of file socket_client.c.

+ Here is the caller graph for this function:

Variable Documentation

socket_client_main_t socket_client_main

Definition at line 44 of file socket_client.c.