diff options
author | JP Abgrall <jpa@google.com> | 2013-12-20 14:51:26 -0800 |
---|---|---|
committer | JP Abgrall <jpa@google.com> | 2013-12-20 16:34:24 -0800 |
commit | a94a1a921bba6303cb7414627cb127af859a2d9b (patch) | |
tree | a63ff9ab95c72bc736064bbc46bd0255df7d8c61 /config.h | |
parent | 454effd5b3a1c771b153063cada22b1aa2a22d94 (diff) | |
download | android_external_android-clat-a94a1a921bba6303cb7414627cb127af859a2d9b.tar.gz android_external_android-clat-a94a1a921bba6303cb7414627cb127af859a2d9b.tar.bz2 android_external_android-clat-a94a1a921bba6303cb7414627cb127af859a2d9b.zip |
Add ip6 dummy address to keep data usage stats consistent.
Because of the way the tunnel pumps packets into the networking
stack, the netfilter xt_qtaguid module can't track stats
accurately: the totals don't add up.
With "clat" having an ip address, qtaguid will track stats
against it, which then can be deducted from the external iface.
Bug: 11687690
Change-Id: I22ebf26dd9249e821da87665d2bfb0e54d3cdf64
Diffstat (limited to 'config.h')
-rw-r--r-- | config.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -22,10 +22,13 @@ #include <sys/system_properties.h> #define DEFAULT_IPV4_LOCAL_SUBNET "192.168.255.1" +#define DEFAULT_IPV6_LOCAL_ADDRESS "fe80::c000:0004" + #define DEFAULT_DNS64_DETECTION_HOSTNAME "ipv4.google.com" struct clat_config { int16_t mtu, ipv4mtu; + struct in6_addr ipv6_local_address; struct in6_addr ipv6_local_subnet; struct in6_addr ipv6_host_id; struct in_addr ipv4_local_subnet; |