FD.io VPP
v18.04-17-g3a0d853
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_packet_op_t |
struct | memif_copy_op_t |
struct | memif_per_thread_data_t |
struct | memif_main_t |
struct | memif_create_if_args_t |
Macros | |
#define | MEMIF_DEFAULT_SOCKET_FILENAME "memif.sock" |
#define | MEMIF_DEFAULT_RING_SIZE 1024 |
#define | MEMIF_DEFAULT_RX_QUEUES 1 |
#define | MEMIF_DEFAULT_TX_QUEUES 1 |
#define | MEMIF_DEFAULT_BUFFER_SIZE 2048 |
#define | MEMIF_MAX_M2S_RING (vec_len (vlib_mains) - 1) |
#define | MEMIF_MAX_S2M_RING (vec_len (vlib_mains) - 1) |
#define | MEMIF_MAX_REGION 255 |
#define | MEMIF_MAX_LOG2_RING_SIZE 14 |
#define | MEMIF_DEBUG 0 |
#define | DBG(...) |
#define | DBG_UNIX_LOG(...) |
#define | memif_file_add(a, b) |
#define | memif_file_del(a) clib_file_del(&file_main, a) |
#define | memif_file_del_by_index(a) clib_file_del_by_index(&file_main, a) |
#define | foreach_memif_if_flag |
#define | MEMIF_RX_VECTOR_SZ VLIB_FRAME_SIZE |
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 foreach_memif_if_flag |
#define memif_file_add | ( | a, | |
b | |||
) |
#define memif_file_del_by_index | ( | a | ) | clib_file_del_by_index(&file_main, a) |
#define MEMIF_MAX_M2S_RING (vec_len (vlib_mains) - 1) |
#define MEMIF_MAX_S2M_RING (vec_len (vlib_mains) - 1) |
#define MEMIF_RX_VECTOR_SZ VLIB_FRAME_SIZE |
anonymous enum |
enum memif_if_flag_t |
clib_error_t* memif_conn_fd_accept_ready | ( | clib_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 | ( | clib_file_t * | uf | ) |
clib_error_t* memif_master_conn_fd_read_ready | ( | clib_file_t * | uf | ) |
clib_error_t* memif_master_conn_fd_write_ready | ( | clib_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 408 of file memif_api.c.
clib_error_t* memif_slave_conn_fd_error | ( | clib_file_t * | uf | ) |
clib_error_t* memif_slave_conn_fd_read_ready | ( | clib_file_t * | uf | ) |
clib_error_t* memif_slave_conn_fd_write_ready | ( | clib_file_t * | uf | ) |
void memif_socket_close | ( | clib_socket_t ** | sock | ) |
vnet_device_class_t memif_device_class |
vlib_node_registration_t memif_input_node |
memif_main_t memif_main |
enum { ... } memif_process_event_t |