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

Go to the source code of this file.

Data Structures

struct  jvpp_registry_main_t
 

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 CONTROL_PING_MESSAGE   "control_ping"
 
#define CONTROL_PING_REPLY_MESSAGE   "control_ping_reply"
 

Functions

void vl_client_add_api_signatures (vl_api_memclnt_create_t *mp)
 
static_always_inline void cleanup_rx_thread (void *arg)
 
static void vl_api_control_ping_reply_t_handler (vl_api_control_ping_reply_t *mp)
 
static int find_ping_id ()
 
static int send_initial_control_ping ()
 
static int connect_to_vpe (char *shm_prefix, char *name)
 
JNIEXPORT jobject JNICALL Java_io_fd_vpp_jvpp_VppJNIConnection_clientConnect (JNIEnv *env, jclass obj, jstring shmPrefix, jstring clientName)
 
JNIEXPORT jint JNICALL Java_io_fd_vpp_jvpp_JVppRegistryImpl_controlPing0 (JNIEnv *env, jobject regstryObject)
 
JNIEXPORT void JNICALL Java_io_fd_vpp_jvpp_VppJNIConnection_clientDisconnect (JNIEnv *env, jclass clazz)
 
jint JNI_OnLoad (JavaVM *vm, void *reserved)
 
void JNI_OnUnload (JavaVM *vm, void *reserved)
 

Variables

vlib_main_t vlib_global_main
 
vlib_main_t ** vlib_mains
 
jvpp_registry_main_t jvpp_registry_main
 

Macro Definition Documentation

◆ CONTROL_PING_MESSAGE

#define CONTROL_PING_MESSAGE   "control_ping"

Definition at line 55 of file jvpp_registry.c.

◆ CONTROL_PING_REPLY_MESSAGE

#define CONTROL_PING_REPLY_MESSAGE   "control_ping_reply"

Definition at line 56 of file jvpp_registry.c.

◆ vl_api_version

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

Definition at line 18 of file jvpp_registry.c.

◆ vl_endianfun

#define vl_endianfun

Definition at line 33 of file jvpp_registry.c.

◆ vl_print

#define vl_print (   handle,
  ... 
)

Definition at line 38 of file jvpp_registry.c.

◆ vl_printfun

#define vl_printfun

Definition at line 39 of file jvpp_registry.c.

◆ vl_typedefs

#define vl_typedefs   /* define message structures */

Definition at line 29 of file jvpp_registry.c.

Function Documentation

◆ cleanup_rx_thread()

static_always_inline void cleanup_rx_thread ( void *  arg)

Definition at line 90 of file jvpp_registry.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ connect_to_vpe()

static int connect_to_vpe ( char *  shm_prefix,
char *  name 
)
static

Definition at line 252 of file jvpp_registry.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ find_ping_id()

static int find_ping_id ( )
static

Definition at line 178 of file jvpp_registry.c.

+ Here is the caller graph for this function:

◆ Java_io_fd_vpp_jvpp_JVppRegistryImpl_controlPing0()

JNIEXPORT jint JNICALL Java_io_fd_vpp_jvpp_JVppRegistryImpl_controlPing0 ( JNIEnv *  env,
jobject  regstryObject 
)

Definition at line 330 of file jvpp_registry.c.

+ Here is the call graph for this function:

◆ Java_io_fd_vpp_jvpp_VppJNIConnection_clientConnect()

JNIEXPORT jobject JNICALL Java_io_fd_vpp_jvpp_VppJNIConnection_clientConnect ( JNIEnv *  env,
jclass  obj,
jstring  shmPrefix,
jstring  clientName 
)

Definition at line 279 of file jvpp_registry.c.

+ Here is the call graph for this function:

◆ Java_io_fd_vpp_jvpp_VppJNIConnection_clientDisconnect()

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

Definition at line 356 of file jvpp_registry.c.

+ Here is the call graph for this function:

◆ JNI_OnLoad()

jint JNI_OnLoad ( JavaVM *  vm,
void *  reserved 
)

Definition at line 373 of file jvpp_registry.c.

◆ JNI_OnUnload()

void JNI_OnUnload ( JavaVM *  vm,
void *  reserved 
)

Definition at line 401 of file jvpp_registry.c.

◆ send_initial_control_ping()

static int send_initial_control_ping ( )
static

Definition at line 213 of file jvpp_registry.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ vl_api_control_ping_reply_t_handler()

static void vl_api_control_ping_reply_t_handler ( vl_api_control_ping_reply_t mp)
static

Definition at line 108 of file jvpp_registry.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ vl_client_add_api_signatures()

void vl_client_add_api_signatures ( vl_api_memclnt_create_t mp)

Definition at line 81 of file jvpp_registry.c.

Variable Documentation

◆ jvpp_registry_main

jvpp_registry_main_t jvpp_registry_main

Definition at line 79 of file jvpp_registry.c.

◆ vlib_global_main

vlib_main_t vlib_global_main

Definition at line 43 of file jvpp_registry.c.

◆ vlib_mains

vlib_main_t** vlib_mains

Definition at line 44 of file jvpp_registry.c.