FD.io VPP  v17.10-9-gd594711
Vector Packet Processing
socket.c File Reference
+ Include dependency graph for socket.c:

Go to the source code of this file.

Functions

static u8memif_str2vec (uint8_t *str, int len)
 
static clib_error_tmemif_msg_send (int fd, memif_msg_t *msg, int afd)
 
static void memif_msg_enq_ack (memif_if_t *mif)
 
static clib_error_tmemif_msg_enq_hello (int fd)
 
static void memif_msg_enq_init (memif_if_t *mif)
 
static void memif_msg_enq_add_region (memif_if_t *mif, u8 region)
 
static void memif_msg_enq_add_ring (memif_if_t *mif, u8 index, u8 direction)
 
static void memif_msg_enq_connect (memif_if_t *mif)
 
static void memif_msg_enq_connected (memif_if_t *mif)
 
clib_error_tmemif_msg_send_disconnect (memif_if_t *mif, clib_error_t *err)
 
static clib_error_tmemif_msg_receive_hello (memif_if_t *mif, memif_msg_t *msg)
 
static clib_error_tmemif_msg_receive_init (memif_if_t **mifp, memif_msg_t *msg, clib_file_t *uf)
 
static clib_error_tmemif_msg_receive_add_region (memif_if_t *mif, memif_msg_t *msg, int fd)
 
static clib_error_tmemif_msg_receive_add_ring (memif_if_t *mif, memif_msg_t *msg, int fd)
 
static clib_error_tmemif_msg_receive_connect (memif_if_t *mif, memif_msg_t *msg)
 
static clib_error_tmemif_msg_receive_connected (memif_if_t *mif, memif_msg_t *msg)
 
static clib_error_tmemif_msg_receive_disconnect (memif_if_t *mif, memif_msg_t *msg)
 
static clib_error_tmemif_msg_receive (memif_if_t **mifp, clib_file_t *uf)
 
clib_error_tmemif_master_conn_fd_read_ready (clib_file_t *uf)
 
clib_error_tmemif_slave_conn_fd_read_ready (clib_file_t *uf)
 
static clib_error_tmemif_conn_fd_write_ready (clib_file_t *uf, memif_if_t *mif)
 
clib_error_tmemif_master_conn_fd_write_ready (clib_file_t *uf)
 
clib_error_tmemif_slave_conn_fd_write_ready (clib_file_t *uf)
 
clib_error_tmemif_slave_conn_fd_error (clib_file_t *uf)
 
clib_error_tmemif_master_conn_fd_error (clib_file_t *uf)
 
clib_error_tmemif_conn_fd_accept_ready (clib_file_t *uf)
 

Function Documentation

clib_error_t* memif_conn_fd_accept_ready ( clib_file_t uf)

Definition at line 694 of file socket.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static clib_error_t* memif_conn_fd_write_ready ( clib_file_t uf,
memif_if_t mif 
)
static

Definition at line 607 of file socket.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

clib_error_t* memif_master_conn_fd_error ( clib_file_t uf)

Definition at line 657 of file socket.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

clib_error_t* memif_master_conn_fd_read_ready ( clib_file_t uf)

Definition at line 554 of file socket.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

clib_error_t* memif_master_conn_fd_write_ready ( clib_file_t uf)

Definition at line 618 of file socket.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void memif_msg_enq_ack ( memif_if_t mif)
static

Definition at line 95 of file socket.c.

+ Here is the caller graph for this function:

static void memif_msg_enq_add_region ( memif_if_t mif,
u8  region 
)
static

Definition at line 145 of file socket.c.

+ Here is the caller graph for this function:

static void memif_msg_enq_add_ring ( memif_if_t mif,
u8  index,
u8  direction 
)
static

Definition at line 158 of file socket.c.

+ Here is the caller graph for this function:

static void memif_msg_enq_connect ( memif_if_t mif)
static

Definition at line 183 of file socket.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void memif_msg_enq_connected ( memif_if_t mif)
static

Definition at line 198 of file socket.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static clib_error_t* memif_msg_enq_hello ( int  fd)
static

Definition at line 105 of file socket.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void memif_msg_enq_init ( memif_if_t mif)
static

Definition at line 124 of file socket.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static clib_error_t* memif_msg_receive ( memif_if_t **  mifp,
clib_file_t uf 
)
static

Definition at line 425 of file socket.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static clib_error_t* memif_msg_receive_add_region ( memif_if_t mif,
memif_msg_t msg,
int  fd 
)
static

Definition at line 324 of file socket.c.

+ Here is the caller graph for this function:

static clib_error_t* memif_msg_receive_add_ring ( memif_if_t mif,
memif_msg_t msg,
int  fd 
)
static

Definition at line 346 of file socket.c.

+ Here is the caller graph for this function:

static clib_error_t* memif_msg_receive_connect ( memif_if_t mif,
memif_msg_t msg 
)
static

Definition at line 389 of file socket.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static clib_error_t* memif_msg_receive_connected ( memif_if_t mif,
memif_msg_t msg 
)
static

Definition at line 403 of file socket.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static clib_error_t* memif_msg_receive_disconnect ( memif_if_t mif,
memif_msg_t msg 
)
static

Definition at line 416 of file socket.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static clib_error_t* memif_msg_receive_hello ( memif_if_t mif,
memif_msg_t msg 
)
static

Definition at line 226 of file socket.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static clib_error_t* memif_msg_receive_init ( memif_if_t **  mifp,
memif_msg_t msg,
clib_file_t uf 
)
static

Definition at line 248 of file socket.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static clib_error_t* memif_msg_send ( int  fd,
memif_msg_t msg,
int  afd 
)
static

Definition at line 63 of file socket.c.

+ Here is the caller graph for this function:

clib_error_t* memif_msg_send_disconnect ( memif_if_t mif,
clib_error_t err 
)

Definition at line 213 of file socket.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

clib_error_t* memif_slave_conn_fd_error ( clib_file_t uf)

Definition at line 643 of file socket.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

clib_error_t* memif_slave_conn_fd_read_ready ( clib_file_t uf)

Definition at line 592 of file socket.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

clib_error_t* memif_slave_conn_fd_write_ready ( clib_file_t uf)

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 u8* memif_str2vec ( uint8_t *  str,
int  len 
)
static

Definition at line 43 of file socket.c.

+ Here is the caller graph for this function: