FD.io VPP  v16.06
Vector Packet Processing
jvpp.c File Reference
+ Include dependency graph for jvpp.c:

Go to the source code of this file.

Macros

#define vl_api_version(n, v)   static u32 vpe_api_version = (v);
 
#define vl_typedefs   /* define message structures */
 
#define vl_endianfun
 
#define vl_print(handle, ...)
 
#define vl_printfun
 
#define VPPJNI_DEBUG   0
 
#define DEBUG_LOG(...)
 

Functions

static int connect_to_vpe (char *name)
 
void vl_client_add_api_signatures (vl_api_memclnt_create_t *mp)
 
static void cleanup_rx_thread (void *arg)
 
JNIEXPORT jint JNICALL Java_org_openvpp_jvpp_VppJNIConnection_clientConnect (JNIEnv *env, jclass obj, jstring clientName, jobject callback)
 
JNIEXPORT void JNICALL Java_org_openvpp_jvpp_VppJNIConnection_clientDisconnect (JNIEnv *env, jclass clazz)
 
static void vl_api_control_ping_reply_t_handler (vl_api_control_ping_reply_t *mp)
 
jint JNI_OnLoad (JavaVM *vm, void *reserved)
 
void JNI_OnUnload (JavaVM *vm, void *reserved)
 

Macro Definition Documentation

#define DEBUG_LOG (   ...)

Definition at line 47 of file jvpp.c.

#define vl_api_version (   n,
 
)    static u32 vpe_api_version = (v);

Definition at line 18 of file jvpp.c.

#define vl_endianfun

Definition at line 32 of file jvpp.c.

#define vl_print (   handle,
  ... 
)

Definition at line 37 of file jvpp.c.

#define vl_printfun

Definition at line 38 of file jvpp.c.

#define vl_typedefs   /* define message structures */

Definition at line 28 of file jvpp.c.

#define VPPJNI_DEBUG   0

Definition at line 42 of file jvpp.c.

Function Documentation

static void cleanup_rx_thread ( void arg)
static

Definition at line 73 of file jvpp.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static int connect_to_vpe ( char *  name)
static

Definition at line 251 of file jvpp.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

JNIEXPORT jint JNICALL Java_org_openvpp_jvpp_VppJNIConnection_clientConnect ( JNIEnv *  env,
jclass  obj,
jstring  clientName,
jobject  callback 
)

Definition at line 92 of file jvpp.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

JNIEXPORT void JNICALL Java_org_openvpp_jvpp_VppJNIConnection_clientDisconnect ( JNIEnv *  env,
jclass  clazz 
)

Definition at line 156 of file jvpp.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

jint JNI_OnLoad ( JavaVM *  vm,
void reserved 
)

Definition at line 219 of file jvpp.c.

void JNI_OnUnload ( JavaVM *  vm,
void reserved 
)

Definition at line 234 of file jvpp.c.

static void vl_api_control_ping_reply_t_handler ( vl_api_control_ping_reply_t mp)
static

Definition at line 166 of file jvpp.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void vl_client_add_api_signatures ( vl_api_memclnt_create_t mp)

Definition at line 63 of file jvpp.c.