FD.io VPP  v19.01.3-6-g70449b9b9
Vector Packet Processing
jvpp_core.c File Reference
+ Include dependency graph for jvpp_core.c:

Go to the source code of this file.

Data Structures

struct  core_main_t
 

Macros

#define vl_typedefs   /* define message structures */
 

Functions

JNIEXPORT void JNICALL Java_io_fd_vpp_jvpp_core_JVppCoreImpl_init0 (JNIEnv *env, jclass clazz, jobject callback, jlong queue_address, jint my_client_index)
 
JNIEXPORT void JNICALL Java_io_fd_vpp_jvpp_core_JVppCoreImpl_close0 (JNIEnv *env, jclass clazz)
 
jint JNI_OnLoad (JavaVM *vm, void *reserved)
 
void JNI_OnUnload (JavaVM *vm, void *reserved)
 
static size_t jstr_length (JNIEnv *env, jstring string)
 

Variables

core_main_t core_main
 

Macro Definition Documentation

◆ vl_typedefs

#define vl_typedefs   /* define message structures */

Definition at line 19 of file jvpp_core.c.

Function Documentation

◆ Java_io_fd_vpp_jvpp_core_JVppCoreImpl_close0()

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

Definition at line 76 of file jvpp_core.c.

+ Here is the caller graph for this function:

◆ Java_io_fd_vpp_jvpp_core_JVppCoreImpl_init0()

JNIEXPORT void JNICALL Java_io_fd_vpp_jvpp_core_JVppCoreImpl_init0 ( JNIEnv *  env,
jclass  clazz,
jobject  callback,
jlong  queue_address,
jint  my_client_index 
)

Definition at line 50 of file jvpp_core.c.

+ Here is the call graph for this function:

◆ JNI_OnLoad()

jint JNI_OnLoad ( JavaVM *  vm,
void *  reserved 
)

Definition at line 87 of file jvpp_core.c.

◆ JNI_OnUnload()

void JNI_OnUnload ( JavaVM *  vm,
void *  reserved 
)

Definition at line 102 of file jvpp_core.c.

◆ jstr_length()

static size_t jstr_length ( JNIEnv *  env,
jstring  string 
)
static

Definition at line 133 of file jvpp_core.c.

Variable Documentation

◆ core_main

core_main_t core_main

Definition at line 44 of file jvpp_core.c.