Removed to do's

This commit is contained in:
M66B 2016-02-21 12:58:14 +01:00
parent 144b1e3a67
commit aedade8bfe
5 changed files with 0 additions and 7 deletions

View File

@ -217,8 +217,6 @@ public class Receiver extends BroadcastReceiver {
}
edit_screen_wifi.apply();
edit_screen_other.apply();
// TODO: delete unused
}
} else {
Log.i(TAG, "Initializing sdk=" + Build.VERSION.SDK_INT);

View File

@ -192,7 +192,6 @@ void handle_ip(const struct arguments *args,
payload = (uint8_t *) (pkt + sizeof(struct ip6_hdr) + off);
// TODO check length
// TODO checksum
}
else {

View File

@ -19,7 +19,6 @@
#include "netguard.h"
// TODO TCP fragmentation
// 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

View File

@ -133,7 +133,6 @@ void *handle_events(void *a) {
report_exit(args, NULL);
break;
} else {
// TODO check if SIGUSR1 is free
log_android(ANDROID_LOG_DEBUG,
"pselect interrupted tun %d thread %x", args->tun, thread_id);
continue;

View File

@ -605,7 +605,6 @@ jboolean handle_tcp(const struct arguments *args,
if (tcphdr->rst /* +ACK */) {
// No sequence check
// TODO half-duplex close sequence
// http://tools.ietf.org/html/rfc1122#page-87
log_android(ANDROID_LOG_WARN, "%s received reset", session);
cur->state = TCP_CLOSING;
@ -791,7 +790,6 @@ int open_tcp_socket(const struct arguments *args,
int sock;
// Get TCP socket
// TODO socket options?
if ((sock = socket(cur->version == 4 ? PF_INET : PF_INET6, SOCK_STREAM, 0)) < 0) {
log_android(ANDROID_LOG_ERROR, "socket error %d: %s", errno, strerror(errno));
return -1;