mirror of https://github.com/M66B/NetGuard.git
Native remarks
This commit is contained in:
parent
223cf9fbc7
commit
97d9bcf610
|
@ -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++] = '+';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue