Go to the source code of this file.
#define foreach_memif_plugin_api_msg |
Value:_(MEMIF_SOCKET_FILENAME_DUMP, memif_socket_filename_dump) \
_(MEMIF_DUMP, memif_dump) \
int memif_socket_filename_add_del(u8 is_add, u32 sock_id, u8 *sock_filename)
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)
void vl_msg_api_send_shmem(svm_queue_t *q, u8 *elem)
svm_queue_t * vl_api_client_index_to_input_queue(u32 index)
struct _svm_queue svm_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)
void vl_msg_api_send_shmem(svm_queue_t *q, u8 *elem)
svm_queue_t * vl_api_client_index_to_input_queue(u32 index)
struct _svm_queue svm_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 150 of file memif_api.c.
Message handler for memif_delete API.
- Parameters
-
Definition at line 240 of file memif_api.c.
Message handler for memif_dump API.
- Parameters
-
Definition at line 311 of file memif_api.c.
Message handler for memif_socket_filename_add_del API.
- Parameters
-
Definition at line 105 of file memif_api.c.
Message handler for memif_socket_filename_dump API.
- Parameters
-
Definition at line 369 of file memif_api.c.