return session_handle & 0xFFFFFF;
}
+int
+vppcom_session_handle (uint32_t session_index)
+{
+ return vcl_get_worker_index () << 24 | session_index;
+}
+
int
vppcom_worker_register (void)
{
return VPPCOM_EEXIST;
}
+int
+vppcom_worker_index (void)
+{
+ return vcl_get_worker_index ();
+}
+
/*
* fd.io coding-style-patch-verification: ON
*