15 #ifndef __included_jvpp_common_h__ 16 #define __included_jvpp_common_h__ 65 void call_on_error(
const char* callName,
int contextId,
int retval,
66 jclass callbackClass, jobject callbackObject,
67 jclass callbackExceptionClass);
#define clib_atomic_add_fetch(a, b)
static_always_inline u32 vppjni_get_context_id(jvpp_main_t *jm)
#define static_always_inline
#define clib_atomic_test_and_set(a)
u32 get_message_id(JNIEnv *env, const char *key)
Retrieves message id based on message name and crc (key format: name_crc).
void call_on_error(const char *callName, int contextId, int retval, jclass callbackClass, jobject callbackObject, jclass callbackExceptionClass)
Calls onError callback on callbackObject reference.
static_always_inline void vppjni_lock(jvpp_main_t *jm, u32 tag)
static_always_inline void vppjni_unlock(jvpp_main_t *jm)
struct _svm_queue svm_queue_t
#define CLIB_MEMORY_BARRIER()
svm_queue_t * vl_input_queue