Go to the source code of this file.
Value: return handle;
#define vec_add1(V, E)
Add 1 element to end of vector (unspecified alignment).
#define vl_print(handle,...)
#define vec_free(V)
Free vector's memory (no header).
Definition at line 51 of file api.c.
#define foreach_lb_plugin_api_msg |
Value:_(LB_ADD_DEL_VIP, lb_add_del_vip) \
_(LB_ADD_DEL_AS, lb_add_del_as)
int lb_conf(ip4_address_t *ip4_address, ip6_address_t *ip6_address, u32 per_cpu_sticky_buckets, u32 flow_timeout)
Fix global load-balancer parameters.
Definition at line 186 of file api.c.
Value: if (!q) \
return; \
\
rmp->_vl_msg_id = ntohs((t)+lbm->msg_id_base); \
rmp->context = mp->context; \
rmp->retval = ntohl(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 65 of file api.c.
#define vl_api_version |
( |
|
n, |
|
|
|
v |
|
) |
| static u32 api_version=(v); |
Definition at line 46 of file api.c.
Definition at line 39 of file api.c.
#define vl_msg_id |
( |
|
n, |
|
|
|
h |
|
) |
| n, |
Definition at line 24 of file api.c.
Definition at line 43 of file api.c.
Definition at line 34 of file api.c.
Enumerator |
---|
VL_ILLEGAL_MESSAGE_ID |
|
VL_ILLEGAL_MESSAGE_ID |
|
VL_ILLEGAL_MESSAGE_ID |
|
VL_MSG_FIRST_AVAILABLE |
|
VL_MSG_FIRST_AVAILABLE |
|
VL_MSG_FIRST_AVAILABLE |
|
VL_MSG_FIRST_AVAILABLE |
|
VL_MSG_FIRST_AVAILABLE |
|
VL_MSG_FIRST_AVAILABLE |
|
Definition at line 25 of file api.c.
Definition at line 82 of file api.c.
Definition at line 97 of file api.c.