Go to the source code of this file.
Definition at line 76 of file cdp.c.
Value: if (!q) \
return; \
\
rmp->_vl_msg_id = ntohs((t)+cm->msg_id_base); \
rmp->context = mp->context; \
rmp->retval = ntohl(rv);
\} while(0);
void * vl_msg_api_alloc(int nbytes)
svm_queue_t unix_shared_memory_queue_t
void vl_msg_api_send_shmem(svm_queue_t *q, u8 *elem)
svm_queue_t * vl_api_client_index_to_input_queue(u32 index)
Definition at line 58 of file cdp.c.
#define vl_api_version |
( |
|
n, |
|
|
|
v |
|
) |
| static u32 api_version=(v); |
Definition at line 46 of file cdp.c.
Definition at line 35 of file cdp.c.
#define vl_msg_name_crc_list |
Definition at line 40 of file cdp.c.
Definition at line 41 of file cdp.c.
Definition at line 30 of file cdp.c.
Definition at line 98 of file cdp.c.
int cdp_enable_disable |
( |
cdp_main_t * |
cm, |
|
|
int |
enable_disable |
|
) |
| |
Definition at line 82 of file cdp.c.
Initial value:=
{
.path = "cdp",
.short_help = "cdp enable | disable",
}
static clib_error_t * cdp_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (cdp_command)
Definition at line 130 of file cdp.c.