FD.io VPP  v17.07.01-10-g3be13f0
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, unix_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, unix_file_t *uf)
 
clib_error_tmemif_master_conn_fd_read_ready (unix_file_t *uf)
 
clib_error_tmemif_slave_conn_fd_read_ready (unix_file_t *uf)
 
static clib_error_tmemif_conn_fd_write_ready (unix_file_t *uf, memif_if_t *mif)
 
clib_error_tmemif_master_conn_fd_write_ready (unix_file_t *uf)
 
clib_error_tmemif_slave_conn_fd_write_ready (unix_file_t *uf)
 
clib_error_tmemif_slave_conn_fd_error (unix_file_t *uf)
 
clib_error_tmemif_master_conn_fd_error (unix_file_t *uf)
 
clib_error_tmemif_conn_fd_accept_ready (unix_file_t *uf)
 

Function Documentation

clib_error_t* memif_conn_fd_accept_ready ( unix_file_t uf)

Definition at line 691 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 ( unix_file_t uf,
memif_if_t mif 
)
static

Definition at line 605 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 ( unix_file_t uf)

Definition at line 654 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 ( unix_file_t uf)

Definition at line 552 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 ( unix_file_t uf)

Definition at line 615 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 144 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 157 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 182 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 197 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,
unix_file_t uf 
)
static

Definition at line 424 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 323 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 345 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 388 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 402 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 415 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 225 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,
unix_file_t uf 
)
static

Definition at line 247 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 212 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 ( unix_file_t uf)

Definition at line 640 of file socket.c.

+ Here is the call graph for this function:

clib_error_t* memif_slave_conn_fd_read_ready ( unix_file_t uf)

Definition at line 590 of file socket.c.

+ Here is the call graph for this function:

clib_error_t* memif_slave_conn_fd_write_ready ( unix_file_t uf)

Definition at line 632 of file socket.c.

+ Here is the call 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: