FD.io VPP  v17.01.1-3-gc6833f8
Vector Packet Processing
jvpp_common.h File Reference
+ Include dependency graph for jvpp_common.h:
+ This graph shows which files directly or indirectly include this file:

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...
 

Variables

jvpp_main_t jvpp_main
 

Function Documentation

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.

+ Here is the caller graph for this function:

static_always_inline u32 vppjni_get_context_id ( jvpp_main_t jm)

Definition at line 44 of file jvpp_common.h.

+ Here is the caller graph for this function:

static_always_inline void vppjni_lock ( jvpp_main_t jm,
u32  tag 
)

Definition at line 48 of file jvpp_common.h.

+ Here is the caller graph for this function:

static_always_inline void vppjni_unlock ( jvpp_main_t jm)

Definition at line 54 of file jvpp_common.h.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

jvpp_main_t jvpp_main

Definition at line 30 of file jvpp_common.c.