FD.io VPP  v18.01-8-g0eacf49
Vector Packet Processing
socket.h File Reference
+ Include dependency graph for socket.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define MEMIF_VER_ERR   "incompatible version"
 
#define MEMIF_ID_ERR   "unmatched interface id"
 
#define MEMIF_SLAVE_ERR   "cannot connect to salve"
 
#define MEMIF_CONN_ERR   "already connected"
 
#define MEMIF_MODE_ERR   "mode mismatch"
 
#define MEMIF_SECRET_ERR   "incorrect secret"
 
#define MEMIF_NOSECRET_ERR   "secret required"
 
#define static_fn   static
 

Functions

int memif_conn_fd_read_ready (memif_connection_t *c)
 
int memif_conn_fd_write_ready (memif_connection_t *c)
 
int memif_conn_fd_error (memif_connection_t *c)
 
int memif_conn_fd_accept_ready (memif_socket_t *ms)
 
int memif_read_ready (int fd)
 
int memif_msg_send_disconnect (int fd, uint8_t *err_string, uint32_t err_code)
 

Macro Definition Documentation

#define MEMIF_CONN_ERR   "already connected"

Definition at line 27 of file socket.h.

#define MEMIF_ID_ERR   "unmatched interface id"

Definition at line 25 of file socket.h.

#define MEMIF_MODE_ERR   "mode mismatch"

Definition at line 28 of file socket.h.

#define MEMIF_NOSECRET_ERR   "secret required"

Definition at line 30 of file socket.h.

#define MEMIF_SECRET_ERR   "incorrect secret"

Definition at line 29 of file socket.h.

#define MEMIF_SLAVE_ERR   "cannot connect to salve"

Definition at line 26 of file socket.h.

#define MEMIF_VER_ERR   "incompatible version"

Definition at line 24 of file socket.h.

#define static_fn   static

Definition at line 86 of file socket.h.

Function Documentation

int memif_conn_fd_accept_ready ( memif_socket_t ms)

Definition at line 843 of file socket.c.

+ Here is the call graph for this function:

int memif_conn_fd_error ( memif_connection_t c)

Definition at line 790 of file socket.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int memif_conn_fd_read_ready ( memif_connection_t c)

Definition at line 800 of file socket.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int memif_conn_fd_write_ready ( memif_connection_t c)

Definition at line 813 of file socket.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int memif_msg_send_disconnect ( int  fd,
uint8_t *  err_string,
uint32_t  err_code 
)

Definition at line 315 of file socket.c.

+ Here is the call graph for this function:

int memif_read_ready ( int  fd)

Definition at line 874 of file socket.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function: