VERR ("couldn't connect to VPP!");
return rv;
}
- vcm->main_api_client_index = vcm->my_client_index;
VDBG (0, "sending session enable");
rv = vppcom_app_session_enable ();
if (rv)
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)
{