Go to the source code of this file.
#define foreach_memif_plugin_api_msg |
Value:_(MEMIF_CREATE, memif_create) \
_(MEMIF_DELETE, memif_delete) \
_(MEMIF_DETAILS, memif_details) \
_(MEMIF_DUMP, memif_dump) \
Definition at line 89 of file memif_api.c.
Value: if (!q) \
return; \
\
rmp->_vl_msg_id = htons ((t)+mm->msg_id_base); \
rmp->context = mp->context; \
rmp->retval = htonl (rv);
\} while(0);
void vl_msg_api_send_shmem(unix_shared_memory_queue_t *q, u8 *elem)
unix_shared_memory_queue_t * vl_api_client_index_to_input_queue(u32 index)
void * vl_msg_api_alloc(int nbytes)
struct _unix_shared_memory_queue unix_shared_memory_queue_t
Definition at line 59 of file memif_api.c.
#define REPLY_MACRO2 |
( |
|
t, |
|
|
|
body |
|
) |
| |
Value: if (!q) \
return; \
\
rmp->_vl_msg_id = htons ((t)+mm->msg_id_base); \
rmp->context = mp->context; \
rmp->retval = htonl (rv); \
} while(0);
void vl_msg_api_send_shmem(unix_shared_memory_queue_t *q, u8 *elem)
unix_shared_memory_queue_t * vl_api_client_index_to_input_queue(u32 index)
void * vl_msg_api_alloc(int nbytes)
struct _unix_shared_memory_queue unix_shared_memory_queue_t
Definition at line 74 of file memif_api.c.
#define vl_api_version |
( |
|
n, |
|
|
|
v |
|
) |
| static u32 api_version=(v); |
#define vl_msg_name_crc_list |
Message handler for memif_create API.
- Parameters
-
Definition at line 100 of file memif_api.c.
Message handler for memif_delete API.
- Parameters
-
Definition at line 168 of file memif_api.c.
Message handler for memif_details API.
- Parameters
-
Definition at line 273 of file memif_api.c.
Message handler for memif_dump API.
- Parameters
-
Definition at line 238 of file memif_api.c.