FD.io VPP  v18.07-rc0-415-g6c78436
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

#define CONTROL_PING_MESSAGE   "control_ping"

Definition at line 55 of file jvpp_registry.c.

#define CONTROL_PING_REPLY_MESSAGE   "control_ping_reply"

Definition at line 56 of file jvpp_registry.c.

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

Definition at line 18 of file jvpp_registry.c.

#define vl_endianfun

Definition at line 33 of file jvpp_registry.c.

#define vl_print (   handle,
  ... 
)

Definition at line 38 of file jvpp_registry.c.

#define vl_printfun

Definition at line 39 of file jvpp_registry.c.

#define vl_typedefs   /* define message structures */

Definition at line 29 of file jvpp_registry.c.

Function Documentation

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:

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

Definition at line 248 of file jvpp_registry.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static int find_ping_id ( )
static

Definition at line 178 of file jvpp_registry.c.

+ Here is the caller graph for this function:

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

Definition at line 322 of file jvpp_registry.c.

+ Here is the call graph for this function:

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

Definition at line 271 of file jvpp_registry.c.

+ Here is the call graph for this function:

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

Definition at line 348 of file jvpp_registry.c.

+ Here is the call graph for this function:

jint JNI_OnLoad ( JavaVM *  vm,
void *  reserved 
)

Definition at line 365 of file jvpp_registry.c.

void JNI_OnUnload ( JavaVM *  vm,
void *  reserved 
)

Definition at line 393 of file jvpp_registry.c.

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:

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:

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_t jvpp_registry_main

Definition at line 79 of file jvpp_registry.c.

vlib_main_t vlib_global_main

Definition at line 43 of file jvpp_registry.c.

vlib_main_t** vlib_mains

Definition at line 44 of file jvpp_registry.c.