FD.io VPP
v17.07.01-10-g3be13f0
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
struct | memif_socket_file_t |
struct | memif_region_t |
struct | memif_msg_fifo_elt_t |
struct | memif_queue_t |
struct | memif_if_t |
struct | memif_main_t |
struct | memif_create_if_args_t |
Enumerations | |
enum | memif_if_flag_t { foreach_memif_if_flag } |
enum | { MEMIF_PROCESS_EVENT_START = 1, MEMIF_PROCESS_EVENT_STOP = 2 } |
Variables | |
memif_main_t | memif_main |
vnet_device_class_t | memif_device_class |
vlib_node_registration_t | memif_input_node |
(constructor) VLIB_REGISTER_NODE (memif_input_node) More... | |
enum { ... } | memif_process_event_t |
#define F_ADD_SEALS (F_LINUX_SPECIFIC_BASE + 9) |
#define F_GET_SEALS (F_LINUX_SPECIFIC_BASE + 10) |
#define F_SEAL_GROW 0x0004 /* prevent file from growing */ |
#define F_SEAL_SEAL 0x0001 /* prevent further seals from being set */ |
#define F_SEAL_SHRINK 0x0002 /* prevent file from shrinking */ |
#define foreach_memif_if_flag |
#define memif_file_add | ( | a, | |
b | |||
) |
#define memif_file_del_by_index | ( | a | ) | unix_file_del_by_index(&unix_main, a) |
#define MEMIF_MAX_M2S_RING (vec_len (vlib_mains) - 1) |
#define MEMIF_MAX_S2M_RING (vec_len (vlib_mains) - 1) |
anonymous enum |
enum memif_if_flag_t |
|
inlinestatic |
clib_error_t* memif_conn_fd_accept_ready | ( | unix_file_t * | uf | ) |
clib_error_t* memif_connect | ( | memif_if_t * | mif | ) |
int memif_create_if | ( | vlib_main_t * | vm, |
memif_create_if_args_t * | args | ||
) |
int memif_delete_if | ( | vlib_main_t * | vm, |
memif_if_t * | mif | ||
) |
void memif_disconnect | ( | memif_if_t * | mif, |
clib_error_t * | err | ||
) |
static_always_inline void* memif_get_buffer | ( | memif_if_t * | mif, |
memif_ring_t * | ring, | ||
u16 | slot | ||
) |
clib_error_t* memif_init_regions_and_queues | ( | memif_if_t * | mif | ) |
clib_error_t* memif_master_conn_fd_error | ( | unix_file_t * | uf | ) |
clib_error_t* memif_master_conn_fd_read_ready | ( | unix_file_t * | uf | ) |
clib_error_t* memif_master_conn_fd_write_ready | ( | unix_file_t * | uf | ) |
clib_error_t* memif_msg_send_disconnect | ( | memif_if_t * | mif, |
clib_error_t * | err | ||
) |
clib_error_t* memif_plugin_api_hookup | ( | vlib_main_t * | vm | ) |
Definition at line 306 of file memif_api.c.
clib_error_t* memif_slave_conn_fd_error | ( | unix_file_t * | uf | ) |
clib_error_t* memif_slave_conn_fd_read_ready | ( | unix_file_t * | uf | ) |
clib_error_t* memif_slave_conn_fd_write_ready | ( | unix_file_t * | uf | ) |
vnet_device_class_t memif_device_class |
vlib_node_registration_t memif_input_node |
memif_main_t memif_main |
enum { ... } memif_process_event_t |