FD.io VPP
v19.01.3-6-g70449b9b9
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
struct | jvpp_main_t |
Functions | |
static_always_inline u32 | vppjni_get_context_id (jvpp_main_t *jm) |
static_always_inline void | vppjni_lock (jvpp_main_t *jm, u32 tag) |
static_always_inline void | vppjni_unlock (jvpp_main_t *jm) |
void | call_on_error (const char *callName, int contextId, int retval, jclass callbackClass, jobject callbackObject, jclass callbackExceptionClass) |
Calls onError callback on callbackObject reference. More... | |
u32 | get_message_id (JNIEnv *env, const char *key) |
Retrieves message id based on message name and crc (key format: name_crc). More... | |
Variables | |
jvpp_main_t | jvpp_main |
void call_on_error | ( | const char * | callName, |
int | contextId, | ||
int | retval, | ||
jclass | callbackClass, | ||
jobject | callbackObject, | ||
jclass | callbackExceptionClass | ||
) |
Calls onError callback on callbackObject reference.
Passes instance of callbackExceptionClass as parameter.
Definition at line 43 of file jvpp_common.c.
u32 get_message_id | ( | JNIEnv * | env, |
const char * | key | ||
) |
Retrieves message id based on message name and crc (key format: name_crc).
Throws java/lang/IllegalStateException on failure.
Definition at line 82 of file jvpp_common.c.
static_always_inline u32 vppjni_get_context_id | ( | jvpp_main_t * | jm | ) |
static_always_inline void vppjni_lock | ( | jvpp_main_t * | jm, |
u32 | tag | ||
) |
static_always_inline void vppjni_unlock | ( | jvpp_main_t * | jm | ) |
Definition at line 56 of file jvpp_common.h.
jvpp_main_t jvpp_main |
Definition at line 41 of file jvpp_common.c.