summaryrefslogtreecommitdiffstats
path: root/config.h
diff options
context:
space:
mode:
authorSubash Abhinov Kasiviswanathan <subashab@codeaurora.org>2015-10-27 18:13:17 -0600
committerSubash Abhinov Kasiviswanathan <subashab@codeaurora.org>2015-11-15 12:59:53 -0700
commitb38ac868d20bb9c1cae087ab18691d242aad0c5c (patch)
tree0cbcf17e3fef6deaf6c1e04ab432e516b7be268d /config.h
parent7efed4e30259da5348c4a7c2c77a0d0d4b13834d (diff)
downloadandroid_external_android-clat-b38ac868d20bb9c1cae087ab18691d242aad0c5c.tar.gz
android_external_android-clat-b38ac868d20bb9c1cae087ab18691d242aad0c5c.tar.bz2
android_external_android-clat-b38ac868d20bb9c1cae087ab18691d242aad0c5c.zip
Revert "clatd: Use the TUN_NOCHECKSUM flag for the tun device"
This reverts commit 7efed4e30259da5348c4a7c2c77a0d0d4b13834d. This change may bypass checksum validation for all packets even if they have not been validated earlier. Hardware supports checksum offload for IPv4 / IPv6 UDP and TCP packets only. ICMPv4 / ICMPv6 / fragmented packet checksum offload is not supported and as a result the checksum will not be validated even once before these packet are delivered to the application. Change-Id: I28152b63bb432c3dc37fe7a713c3b225a662f678
Diffstat (limited to 'config.h')
-rw-r--r--config.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/config.h b/config.h
index 82a91be..e31a81d 100644
--- a/config.h
+++ b/config.h
@@ -39,8 +39,6 @@ struct clat_config {
extern struct clat_config Global_Clatd_Config;
-extern int rx_checksum_offloaded;
-
int read_config(const char *file, const char *uplink_interface, const char *plat_prefix,
unsigned net_id);
void config_generate_local_ipv6_subnet(struct in6_addr *interface_ip);