summaryrefslogtreecommitdiffstats
path: root/src/vpp-api/java/jvpp-ioamtrace
diff options
context:
space:
mode:
Diffstat (limited to 'src/vpp-api/java/jvpp-ioamtrace')
-rw-r--r--src/vpp-api/java/jvpp-ioamtrace/jvpp_ioam_trace.c2
-rw-r--r--src/vpp-api/java/jvpp-ioamtrace/jvpp_ioam_trace.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/vpp-api/java/jvpp-ioamtrace/jvpp_ioam_trace.c b/src/vpp-api/java/jvpp-ioamtrace/jvpp_ioam_trace.c
index f917d1c684e..3532d91e3a4 100644
--- a/src/vpp-api/java/jvpp-ioamtrace/jvpp_ioam_trace.c
+++ b/src/vpp-api/java/jvpp-ioamtrace/jvpp_ioam_trace.c
@@ -47,7 +47,7 @@ JNIEXPORT void JNICALL Java_io_fd_vpp_jvpp_ioamtrace_JVppIoamtraceImpl_init0
clib_warning ("Java_io_fd_vpp_jvpp_ioamtrace_JVppIoamtraceImpl_init0");
plugin_main->my_client_index = my_client_index;
- plugin_main->vl_input_queue = uword_to_pointer (queue_address, unix_shared_memory_queue_t *);
+ plugin_main->vl_input_queue = uword_to_pointer (queue_address, svm_queue_t *);
plugin_main->callbackObject = (*env)->NewGlobalRef(env, callback);
plugin_main->callbackClass = (jclass)(*env)->NewGlobalRef(env, (*env)->GetObjectClass(env, callback));
diff --git a/src/vpp-api/java/jvpp-ioamtrace/jvpp_ioam_trace.h b/src/vpp-api/java/jvpp-ioamtrace/jvpp_ioam_trace.h
index cb0b27e199c..752b599f4b8 100644
--- a/src/vpp-api/java/jvpp-ioamtrace/jvpp_ioam_trace.h
+++ b/src/vpp-api/java/jvpp-ioamtrace/jvpp_ioam_trace.h
@@ -25,7 +25,7 @@
/* Global state for JVPP-IOAM-TRACE */
typedef struct {
/* Pointer to shared memory queue */
- unix_shared_memory_queue_t * vl_input_queue;
+ svm_queue_t * vl_input_queue;
/* VPP api client index */
u32 my_client_index;