Go to the source code of this file.
#define foreach_memif_plugin_api_msg |
Value:_(MEMIF_DUMP, memif_dump) \
int memif_create(memif_conn_handle_t *conn, memif_conn_args_t *args, memif_connection_update_t *on_connect, memif_connection_update_t *on_disconnect, memif_interrupt_t *on_interrupt, void *private_ctx)
Memory interface create function.
int memif_delete(memif_conn_handle_t *conn)
Memif delete.
Definition at line 91 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_alloc(int nbytes)
unix_shared_memory_queue_t * vl_api_client_index_to_input_queue(u32 index)
void vl_msg_api_send_shmem(unix_shared_memory_queue_t *q, u8 *elem)
struct _unix_shared_memory_queue unix_shared_memory_queue_t
Definition at line 61 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_alloc(int nbytes)
unix_shared_memory_queue_t * vl_api_client_index_to_input_queue(u32 index)
void vl_msg_api_send_shmem(unix_shared_memory_queue_t *q, u8 *elem)
struct _unix_shared_memory_queue unix_shared_memory_queue_t
Definition at line 76 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 101 of file memif_api.c.
Message handler for memif_delete API.
- Parameters
-
Definition at line 199 of file memif_api.c.
Message handler for memif_dump API.
- Parameters
-
Definition at line 266 of file memif_api.c.