FD.io VPP  v19.04.4-rc0-5-ge88582fac
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

◆ MEMIF_CONN_ERR

#define MEMIF_CONN_ERR   "already connected"

Definition at line 27 of file socket.h.

◆ MEMIF_ID_ERR

#define MEMIF_ID_ERR   "unmatched interface id"

Definition at line 25 of file socket.h.

◆ MEMIF_MODE_ERR

#define MEMIF_MODE_ERR   "mode mismatch"

Definition at line 28 of file socket.h.

◆ MEMIF_NOSECRET_ERR

#define MEMIF_NOSECRET_ERR   "secret required"

Definition at line 30 of file socket.h.

◆ MEMIF_SECRET_ERR

#define MEMIF_SECRET_ERR   "incorrect secret"

Definition at line 29 of file socket.h.

◆ MEMIF_SLAVE_ERR

#define MEMIF_SLAVE_ERR   "cannot connect to salve"

Definition at line 26 of file socket.h.

◆ MEMIF_VER_ERR

#define MEMIF_VER_ERR   "incompatible version"

Definition at line 24 of file socket.h.

◆ static_fn

#define static_fn   static

Definition at line 86 of file socket.h.

Function Documentation

◆ memif_conn_fd_accept_ready()

int memif_conn_fd_accept_ready ( memif_socket_t ms)

Definition at line 871 of file socket.c.

+ Here is the call graph for this function:

◆ memif_conn_fd_error()

int memif_conn_fd_error ( memif_connection_t c)

Definition at line 817 of file socket.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ memif_conn_fd_read_ready()

int memif_conn_fd_read_ready ( memif_connection_t c)

Definition at line 827 of file socket.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ memif_conn_fd_write_ready()

int memif_conn_fd_write_ready ( memif_connection_t c)

Definition at line 840 of file socket.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ memif_msg_send_disconnect()

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

Definition at line 323 of file socket.c.

+ Here is the call graph for this function:

◆ memif_read_ready()

int memif_read_ready ( int  fd)

Definition at line 902 of file socket.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function: