FD.io VPP  v18.01.2-1-g9b554f3
Vector Packet Processing
socket.c File Reference
+ Include dependency graph for socket.c:

Go to the source code of this file.

Functions

static_fn int memif_msg_send (int fd, memif_msg_t *msg, int afd)
 
static_fn int memif_msg_enq_ack (memif_connection_t *c)
 
static_fn int memif_msg_send_hello (int fd)
 
static_fn int memif_msg_enq_init (memif_connection_t *c)
 
static_fn int memif_msg_enq_add_region (memif_connection_t *c, uint8_t region_index)
 
static_fn int memif_msg_enq_add_ring (memif_connection_t *c, uint8_t index, uint8_t dir)
 
static_fn int memif_msg_enq_connect (memif_connection_t *c)
 
static_fn int memif_msg_enq_connected (memif_connection_t *c)
 
int memif_msg_send_disconnect (int fd, uint8_t *err_string, uint32_t err_code)
 
static_fn int memif_msg_receive_hello (memif_connection_t *c, memif_msg_t *msg)
 
static_fn int memif_msg_receive_init (memif_socket_t *ms, int fd, memif_msg_t *msg)
 
static_fn int memif_msg_receive_add_region (memif_connection_t *c, memif_msg_t *msg, int fd)
 
static_fn int memif_msg_receive_add_ring (memif_connection_t *c, memif_msg_t *msg, int fd)
 
static_fn int memif_msg_receive_connect (memif_connection_t *c, memif_msg_t *msg)
 
static_fn int memif_msg_receive_connected (memif_connection_t *c, memif_msg_t *msg)
 
static_fn int memif_msg_receive_disconnect (memif_connection_t *c, memif_msg_t *msg)
 
static_fn int memif_msg_receive (int ifd)
 
int memif_conn_fd_error (memif_connection_t *c)
 
int memif_conn_fd_read_ready (memif_connection_t *c)
 
int memif_conn_fd_write_ready (memif_connection_t *c)
 
int memif_conn_fd_accept_ready (memif_socket_t *ms)
 
int memif_read_ready (int fd)
 

Function Documentation

int memif_conn_fd_accept_ready ( memif_socket_t ms)

Definition at line 845 of file socket.c.

+ Here is the call graph for this function:

int memif_conn_fd_error ( memif_connection_t c)

Definition at line 792 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 802 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 815 of file socket.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static_fn int memif_msg_enq_ack ( memif_connection_t c)

Definition at line 71 of file socket.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static_fn int memif_msg_enq_add_region ( memif_connection_t c,
uint8_t  region_index 
)

Definition at line 163 of file socket.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static_fn int memif_msg_enq_add_ring ( memif_connection_t c,
uint8_t  index,
uint8_t  dir 
)

Definition at line 200 of file socket.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static_fn int memif_msg_enq_connect ( memif_connection_t c)

Definition at line 245 of file socket.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static_fn int memif_msg_enq_connected ( memif_connection_t c)

Definition at line 279 of file socket.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static_fn int memif_msg_enq_init ( memif_connection_t c)

Definition at line 122 of file socket.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static_fn int memif_msg_receive ( int  ifd)

Definition at line 635 of file socket.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static_fn int memif_msg_receive_add_region ( memif_connection_t c,
memif_msg_t msg,
int  fd 
)

Definition at line 476 of file socket.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static_fn int memif_msg_receive_add_ring ( memif_connection_t c,
memif_msg_t msg,
int  fd 
)

Definition at line 503 of file socket.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static_fn int memif_msg_receive_connect ( memif_connection_t c,
memif_msg_t msg 
)

Definition at line 558 of file socket.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static_fn int memif_msg_receive_connected ( memif_connection_t c,
memif_msg_t msg 
)

Definition at line 593 of file socket.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static_fn int memif_msg_receive_disconnect ( memif_connection_t c,
memif_msg_t msg 
)

Definition at line 619 of file socket.c.

+ Here is the caller graph for this function:

static_fn int memif_msg_receive_hello ( memif_connection_t c,
memif_msg_t msg 
)

Definition at line 334 of file socket.c.

+ Here is the caller graph for this function:

static_fn int memif_msg_receive_init ( memif_socket_t ms,
int  fd,
memif_msg_t msg 
)

Definition at line 360 of file socket.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static_fn int memif_msg_send ( int  fd,
memif_msg_t msg,
int  afd 
)

Definition at line 38 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:

static_fn int memif_msg_send_hello ( int  fd)

Definition at line 100 of file socket.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int memif_read_ready ( int  fd)

Definition at line 876 of file socket.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function: