Go to the source code of this file.
|
enum | memif_msg_type {
MEMIF_MSG_TYPE_NONE = 0,
MEMIF_MSG_TYPE_ACK = 1,
MEMIF_MSG_TYPE_HELLO = 2,
MEMIF_MSG_TYPE_INIT = 3,
MEMIF_MSG_TYPE_ADD_REGION = 4,
MEMIF_MSG_TYPE_ADD_RING = 5,
MEMIF_MSG_TYPE_CONNECT = 6,
MEMIF_MSG_TYPE_CONNECTED = 7,
MEMIF_MSG_TYPE_DISCONNECT = 8,
MEMIF_MSG_TYPE_NONE = 0,
MEMIF_MSG_TYPE_ACK = 1,
MEMIF_MSG_TYPE_HELLO = 2,
MEMIF_MSG_TYPE_INIT = 3,
MEMIF_MSG_TYPE_ADD_REGION = 4,
MEMIF_MSG_TYPE_ADD_RING = 5,
MEMIF_MSG_TYPE_CONNECT = 6,
MEMIF_MSG_TYPE_CONNECTED = 7,
MEMIF_MSG_TYPE_DISCONNECT = 8
} |
|
enum | memif_ring_type_t { MEMIF_RING_S2M = 0,
MEMIF_RING_M2S = 1,
MEMIF_RING_S2M = 0,
MEMIF_RING_M2S = 1
} |
|
enum | memif_interface_mode_t {
MEMIF_INTERFACE_MODE_ETHERNET = 0,
MEMIF_INTERFACE_MODE_IP = 1,
MEMIF_INTERFACE_MODE_PUNT_INJECT = 2,
MEMIF_INTERFACE_MODE_ETHERNET = 0,
MEMIF_INTERFACE_MODE_IP = 1,
MEMIF_INTERFACE_MODE_PUNT_INJECT = 2,
MEMIF_INTERFACE_MODE_ETHERNET = 0,
MEMIF_INTERFACE_MODE_IP = 1,
MEMIF_INTERFACE_MODE_PUNT_INJECT = 2
} |
|
◆ MEMIF_CACHELINE_ALIGN_MARK
#define MEMIF_CACHELINE_ALIGN_MARK |
( |
|
mark | ) |
uint8_t mark[0] __attribute__((aligned(MEMIF_CACHELINE_SIZE))) |
◆ MEMIF_CACHELINE_SIZE
#define MEMIF_CACHELINE_SIZE 64 |
◆ MEMIF_COOKIE
#define MEMIF_COOKIE 0x3E31F20 |
◆ MEMIF_DESC_FLAG_NEXT
#define MEMIF_DESC_FLAG_NEXT (1 << 0) |
◆ MEMIF_MSG_ADD_RING_FLAG_S2M
#define MEMIF_MSG_ADD_RING_FLAG_S2M (1 << 0) |
◆ MEMIF_RING_FLAG_MASK_INT
#define MEMIF_RING_FLAG_MASK_INT 1 |
◆ MEMIF_VERSION
◆ MEMIF_VERSION_MAJOR
#define MEMIF_VERSION_MAJOR 2 |
◆ MEMIF_VERSION_MINOR
#define MEMIF_VERSION_MINOR 0 |
◆ memif_interface_id_t
◆ memif_log2_ring_size_t
◆ memif_msg_type_t
◆ memif_region_index_t
◆ memif_region_offset_t
◆ memif_region_size_t
◆ memif_ring_index_t
◆ memif_version_t
◆ memif_interface_mode_t
Enumerator |
---|
MEMIF_INTERFACE_MODE_ETHERNET | |
MEMIF_INTERFACE_MODE_IP | |
MEMIF_INTERFACE_MODE_PUNT_INJECT | |
MEMIF_INTERFACE_MODE_ETHERNET | |
MEMIF_INTERFACE_MODE_IP | |
MEMIF_INTERFACE_MODE_PUNT_INJECT | |
MEMIF_INTERFACE_MODE_ETHERNET | |
MEMIF_INTERFACE_MODE_IP | |
MEMIF_INTERFACE_MODE_PUNT_INJECT | |
Definition at line 53 of file memif.h.
◆ memif_msg_type
Enumerator |
---|
MEMIF_MSG_TYPE_NONE | |
MEMIF_MSG_TYPE_ACK | |
MEMIF_MSG_TYPE_HELLO | |
MEMIF_MSG_TYPE_INIT | |
MEMIF_MSG_TYPE_ADD_REGION | |
MEMIF_MSG_TYPE_ADD_RING | |
MEMIF_MSG_TYPE_CONNECT | |
MEMIF_MSG_TYPE_CONNECTED | |
MEMIF_MSG_TYPE_DISCONNECT | |
MEMIF_MSG_TYPE_NONE | |
MEMIF_MSG_TYPE_ACK | |
MEMIF_MSG_TYPE_HELLO | |
MEMIF_MSG_TYPE_INIT | |
MEMIF_MSG_TYPE_ADD_REGION | |
MEMIF_MSG_TYPE_ADD_RING | |
MEMIF_MSG_TYPE_CONNECT | |
MEMIF_MSG_TYPE_CONNECTED | |
MEMIF_MSG_TYPE_DISCONNECT | |
Definition at line 34 of file memif.h.
◆ memif_ring_type_t
Enumerator |
---|
MEMIF_RING_S2M | |
MEMIF_RING_M2S | |
MEMIF_RING_S2M | |
MEMIF_RING_M2S | |
Definition at line 47 of file memif.h.