FD.io VPP  v21.06-3-gbb25fbf28
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 (libmemif_main_t *lm, 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 (libmemif_main_t *lm, 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 (libmemif_main_t *lm, int fd)
 

Function Documentation

◆ memif_conn_fd_accept_ready()

int memif_conn_fd_accept_ready ( memif_socket_t ms)

Definition at line 865 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 814 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 824 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 839 of file socket.c.

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

◆ memif_msg_enq_ack()

static_fn int memif_msg_enq_ack ( memif_connection_t c)

Definition at line 72 of file socket.c.

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

◆ memif_msg_enq_add_region()

static_fn int memif_msg_enq_add_region ( memif_connection_t c,
uint8_t  region_index 
)

Definition at line 164 of file socket.c.

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

◆ memif_msg_enq_add_ring()

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

Definition at line 201 of file socket.c.

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

◆ memif_msg_enq_connect()

static_fn int memif_msg_enq_connect ( memif_connection_t c)

Definition at line 248 of file socket.c.

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

◆ memif_msg_enq_connected()

static_fn int memif_msg_enq_connected ( memif_connection_t c)

Definition at line 283 of file socket.c.

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

◆ memif_msg_enq_init()

static_fn int memif_msg_enq_init ( memif_connection_t c)

Definition at line 123 of file socket.c.

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

◆ memif_msg_receive()

static_fn int memif_msg_receive ( libmemif_main_t lm,
int  ifd 
)

Definition at line 658 of file socket.c.

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

◆ memif_msg_receive_add_region()

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

Definition at line 479 of file socket.c.

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

◆ memif_msg_receive_add_ring()

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

Definition at line 514 of file socket.c.

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

◆ memif_msg_receive_connect()

static_fn int memif_msg_receive_connect ( memif_connection_t c,
memif_msg_t msg 
)

Definition at line 576 of file socket.c.

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

◆ memif_msg_receive_connected()

static_fn int memif_msg_receive_connected ( memif_connection_t c,
memif_msg_t msg 
)

Definition at line 613 of file socket.c.

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

◆ memif_msg_receive_disconnect()

static_fn int memif_msg_receive_disconnect ( memif_connection_t c,
memif_msg_t msg 
)

Definition at line 642 of file socket.c.

+ Here is the caller graph for this function:

◆ memif_msg_receive_hello()

static_fn int memif_msg_receive_hello ( memif_connection_t c,
memif_msg_t msg 
)

Definition at line 339 of file socket.c.

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

◆ memif_msg_receive_init()

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

Definition at line 364 of file socket.c.

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

◆ memif_msg_send()

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

Definition at line 39 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 320 of file socket.c.

+ Here is the call graph for this function:

◆ memif_msg_send_hello()

static_fn int memif_msg_send_hello ( libmemif_main_t lm,
int  fd 
)

Definition at line 102 of file socket.c.

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

◆ memif_read_ready()

int memif_read_ready ( libmemif_main_t lm,
int  fd 
)

Definition at line 897 of file socket.c.

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