Native remarks

This commit is contained in:
M66B 2016-02-11 08:20:45 +01:00
parent 223cf9fbc7
commit 97d9bcf610
2 changed files with 2 additions and 3 deletions

View File

@ -133,7 +133,7 @@ void handle_ip(const struct arguments *args, const uint8_t *pkt, const size_t le
daddr = &ip4hdr->daddr; daddr = &ip4hdr->daddr;
if (ip4hdr->frag_off & IP_MF) { if (ip4hdr->frag_off & IP_MF) {
log_android(ANDROID_LOG_ERROR, "IP fragment"); log_android(ANDROID_LOG_ERROR, "IP fragment offset %u", ip4hdr->frag_off & IP_OFFMASK);
flags[flen++] = '+'; flags[flen++] = '+';
} }

View File

@ -19,10 +19,9 @@
#include "netguard.h" #include "netguard.h"
// TODO TCP options
// TODO TCP fragmentation // TODO TCP fragmentation
// It is assumed that no packets will get lost and that packets arrive in order // It is assumed that no packets will get lost and that packets arrive in order
// https://android.googlesource.com/platform/frameworks/base.git/+/master/services/core/jni/com_android_server_connectivity_Vpn.cpp
// Global variables // Global variables