FD.io VPP
v17.04.2-2-ga8f93f8
Vector Packet Processing
|
Go to the source code of this file.
Macros | |
#define | JVPP_DEBUG 0 |
#define | DEBUG_LOG(...) |
Functions | |
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 |
#define DEBUG_LOG | ( | ... | ) |
Definition at line 26 of file jvpp_common.c.
#define JVPP_DEBUG 0 |
Definition at line 20 of file jvpp_common.c.
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 32 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 67 of file jvpp_common.c.
jvpp_main_t jvpp_main |
Definition at line 30 of file jvpp_common.c.