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
} |
|
#define MEMIF_CACHELINE_ALIGN_MARK |
( |
|
mark | ) |
uint8_t mark[0] __attribute__((aligned(MEMIF_CACHELINE_SIZE))) |
#define MEMIF_CACHELINE_SIZE 64 |
#define MEMIF_COOKIE 0x3E31F10 |
#define MEMIF_DESC_FLAG_NEXT (1 << 0) |
#define MEMIF_MSG_ADD_RING_FLAG_S2M (1 << 0) |
#define MEMIF_RING_FLAG_MASK_INT 1 |
#define MEMIF_VERSION_MAJOR 1 |
#define MEMIF_VERSION_MINOR 0 |
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 |
|
Definition at line 53 of file memif.h.
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.
Enumerator |
---|
MEMIF_RING_S2M |
|
MEMIF_RING_M2S |
|
MEMIF_RING_S2M |
|
MEMIF_RING_M2S |
|
Definition at line 47 of file memif.h.