diff options
author | Subash Abhinov Kasiviswanathan <subashab@codeaurora.org> | 2015-10-10 19:41:32 -0600 |
---|---|---|
committer | Subash Abhinov Kasiviswanathan <subashab@codeaurora.org> | 2015-10-12 10:56:09 -0600 |
commit | 7efed4e30259da5348c4a7c2c77a0d0d4b13834d (patch) | |
tree | 333d4e6a4a5f0d87f0a2110e24664cffcb9d5a03 /config.h | |
parent | 35b34f09ab343ae8a75fcb9ff3cea180cf58992a (diff) | |
download | android_external_android-clat-7efed4e30259da5348c4a7c2c77a0d0d4b13834d.tar.gz android_external_android-clat-7efed4e30259da5348c4a7c2c77a0d0d4b13834d.tar.bz2 android_external_android-clat-7efed4e30259da5348c4a7c2c77a0d0d4b13834d.zip |
clatd: Use the TUN_NOCHECKSUM flag for the tun device
This is needed to handle cases when the packet socket receives
a GRO coalesced packet which will not have a valid TCP checksum.
TUN_NOCHECKSUM is used only when the checksum has already been
verified prior to this and GRO is being used.
Change-Id: I1409967523152bb7620b4881526e78e8c222cc72
Diffstat (limited to 'config.h')
-rw-r--r-- | config.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -39,6 +39,8 @@ 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); |