FD.io VPP
v18.07-34-g55fbdb9
Vector Packet Processing
|
internal vpp api C declarations More...
Go to the source code of this file.
Data Structures | |
struct | vapi_type_msg_header1_t |
struct | vapi_type_msg_header2_t |
struct | vapi_message_desc_t |
struct | vapi_event_desc_t |
Typedefs | |
typedef vapi_error_e(* | vapi_cb_t) (struct vapi_ctx_s *, void *, vapi_error_e, bool, void *) |
typedef void(* | generic_swap_fn_t) (void *payload) |
Variables | |
void(*)(void *payload) | vapi_get_swap_to_host_func (vapi_msg_id_t id) |
void(*)(void *payload) | vapi_get_swap_to_be_func (vapi_msg_id_t id) |
internal vpp api C declarations
This file contains internal vpp api C declarations. It's not intended to be used by the client programmer and the API defined here might change at any time..
Definition in file vapi_internal.h.
typedef void(* generic_swap_fn_t) (void *payload) |
Definition at line 84 of file vapi_internal.h.
typedef vapi_error_e(* vapi_cb_t) (struct vapi_ctx_s *, void *, vapi_error_e, bool, void *) |
Definition at line 81 of file vapi_internal.h.
u32 vapi_gen_req_context | ( | vapi_ctx_t | ctx | ) |
int vapi_get_client_index | ( | vapi_ctx_t | ctx | ) |
size_t vapi_get_context_offset | ( | vapi_msg_id_t | id | ) |
size_t vapi_get_max_request_count | ( | vapi_ctx_t | ctx | ) |
size_t vapi_get_message_count | ( | ) |
size_t vapi_get_message_size | ( | vapi_msg_id_t | id | ) |
const char* vapi_get_msg_name | ( | vapi_msg_id_t | id | ) |
int vapi_get_payload_offset | ( | vapi_msg_id_t | id | ) |
size_t vapi_get_request_count | ( | vapi_ctx_t | ctx | ) |
bool vapi_is_nonblocking | ( | vapi_ctx_t | ctx | ) |
vapi_msg_id_t vapi_lookup_vapi_msg_id_t | ( | vapi_ctx_t | ctx, |
u16 | vl_msg_id | ||
) |
u16 vapi_lookup_vl_msg_id | ( | vapi_ctx_t | ctx, |
vapi_msg_id_t | id | ||
) |
bool vapi_msg_is_with_context | ( | vapi_msg_id_t | id | ) |
vapi_error_e vapi_producer_lock | ( | vapi_ctx_t | ctx | ) |
vapi_error_e vapi_producer_unlock | ( | vapi_ctx_t | ctx | ) |
vapi_msg_id_t vapi_register_msg | ( | vapi_message_desc_t * | msg | ) |
bool vapi_requests_empty | ( | vapi_ctx_t | ctx | ) |
bool vapi_requests_full | ( | vapi_ctx_t | ctx | ) |
void vapi_store_request | ( | vapi_ctx_t | ctx, |
u32 | context, | ||
bool | is_dump, | ||
vapi_cb_t | callback, | ||
void * | callback_ctx | ||
) |
|
inlinestatic |
Definition at line 55 of file vapi_internal.h.
|
inlinestatic |
Definition at line 61 of file vapi_internal.h.
|
inlinestatic |
Definition at line 67 of file vapi_internal.h.
|
inlinestatic |
Definition at line 73 of file vapi_internal.h.
void(*)(void *payload) vapi_get_swap_to_be_func(vapi_msg_id_t id) |
Definition at line 124 of file vapi_internal.h.
void(*)(void *payload) vapi_get_swap_to_host_func(vapi_msg_id_t id) |
Definition at line 123 of file vapi_internal.h.