mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2024-12-22 06:17:48 +00:00
more logging
This commit is contained in:
parent
b6196a53de
commit
5015c0ae78
@ -92,6 +92,7 @@ namespace {
|
|||||||
enum ZT1_VirtualNetworkConfigOperation operation,
|
enum ZT1_VirtualNetworkConfigOperation operation,
|
||||||
const ZT1_VirtualNetworkConfig *config)
|
const ZT1_VirtualNetworkConfig *config)
|
||||||
{
|
{
|
||||||
|
LOGD("VritualNetworkConfigFunctionCallback");
|
||||||
JniRef *ref = (JniRef*)userData;
|
JniRef *ref = (JniRef*)userData;
|
||||||
JNIEnv *env = NULL;
|
JNIEnv *env = NULL;
|
||||||
ref->jvm->GetEnv((void**)&env, JNI_VERSION_1_6);
|
ref->jvm->GetEnv((void**)&env, JNI_VERSION_1_6);
|
||||||
@ -141,6 +142,7 @@ namespace {
|
|||||||
const void *frameData,
|
const void *frameData,
|
||||||
unsigned int frameLength)
|
unsigned int frameLength)
|
||||||
{
|
{
|
||||||
|
LOGD("VirtualNetworkFrameFunctionCallback");
|
||||||
JniRef *ref = (JniRef*)userData;
|
JniRef *ref = (JniRef*)userData;
|
||||||
assert(ref->node == node);
|
assert(ref->node == node);
|
||||||
JNIEnv *env = NULL;
|
JNIEnv *env = NULL;
|
||||||
@ -172,6 +174,7 @@ namespace {
|
|||||||
|
|
||||||
void EventCallback(ZT1_Node *node,void *userData,enum ZT1_Event event, const void *data)
|
void EventCallback(ZT1_Node *node,void *userData,enum ZT1_Event event, const void *data)
|
||||||
{
|
{
|
||||||
|
LOGD("EventCallback");
|
||||||
JniRef *ref = (JniRef*)userData;
|
JniRef *ref = (JniRef*)userData;
|
||||||
assert(ref->node == node);
|
assert(ref->node == node);
|
||||||
JNIEnv *env = NULL;
|
JNIEnv *env = NULL;
|
||||||
@ -410,6 +413,7 @@ namespace {
|
|||||||
const void *buffer,
|
const void *buffer,
|
||||||
unsigned int bufferSize)
|
unsigned int bufferSize)
|
||||||
{
|
{
|
||||||
|
LOGD("WirePacketSendFunction(%p, %p, %d)", address, buffer, bufferSize);
|
||||||
JniRef *ref = (JniRef*)userData;
|
JniRef *ref = (JniRef*)userData;
|
||||||
assert(ref->node == node);
|
assert(ref->node == node);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user