Go to the source code of this file.
#define F_LINUX_SPECIFIC_BASE 1024 |
#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 F_SEAL_WRITE 0x0008 /* prevent writes */ |
#define MEMIF_DEFAULT_BUFFER_SIZE 2048 |
#define MEMIF_DEFAULT_RING_SIZE 1024 |
#define MEMIF_DEFAULT_SOCKET_FILENAME "/var/vpp/memif.sock" |
#define MEMIF_DESC_FLAG_NEXT (1 << 0) |
#define MEMIF_IF_FLAG_ADMIN_UP (1 << 0) |
#define MEMIF_IF_FLAG_CONNECTED (1 << 3) |
#define MEMIF_IF_FLAG_CONNECTING (1 << 2) |
#define MEMIF_IF_FLAG_DELETING (1 << 4) |
#define MEMIF_IF_FLAG_IS_SLAVE (1 << 1) |
#define MEMIF_MSG_TYPE_CONNECT_REQ 0 |
#define MEMIF_MSG_TYPE_CONNECT_RESP 1 |
#define MEMIF_MSG_TYPE_DISCONNECT 2 |
#define MEMIF_VERSION_MAJOR 0 |
#define MEMIF_VERSION_MINOR 1 |
#define MFD_ALLOW_SEALING 0x0002U |
Enumerator |
---|
MEMIF_PROCESS_EVENT_START |
|
MEMIF_PROCESS_EVENT_STOP |
|
Definition at line 175 of file memif.h.
Enumerator |
---|
MEMIF_RING_S2M |
|
MEMIF_RING_M2S |
|
Definition at line 218 of file memif.h.
static int memfd_create |
( |
const char * |
name, |
|
|
unsigned int |
flags |
|
) |
| |
|
inlinestatic |
(constructor) VLIB_REGISTER_NODE (memif_input_node)
Definition at line 358 of file node.c.
enum { ... } memif_process_event_t |