summaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorjunyulai <junyulai@google.com>2018-10-29 23:10:15 +0800
committerjunyulai <junyulai@google.com>2018-12-20 16:25:08 +0800
commitb5e8f977bb53cbec0ef311a0ad85b7d64d228bac (patch)
treef9605a56d1a7d32a4a80465b4ab00c7b07a4e92d /main.c
parent51c73d30d2cda21ca54dd617ad41e3805eebd4d6 (diff)
downloadplatform_external_android-clat-b5e8f977bb53cbec0ef311a0ad85b7d64d228bac.tar.gz
platform_external_android-clat-b5e8f977bb53cbec0ef311a0ad85b7d64d228bac.tar.bz2
platform_external_android-clat-b5e8f977bb53cbec0ef311a0ad85b7d64d228bac.zip
Count ipv6 tx traffic of clat into clat uid.
Currently, 464xlat counts its ipv6 tx traffic into root uid. When user is making ipv4 upload over ipv6-only network, ipv4 tx traffic may sometimes be counted faster then ipv6 tx traffic. Thus, NetworkStatsService may detect non-monotonic values due to 464xlat adjustment. So the solution here is to make ipv6 tx traffic counts into clat uid, and then ignore it in the framework side. Bug: 118602783 Test: 1. manually verify clatd traffic on clat uid. 2. atest clatd_test.cpp Change-Id: I834aef7184a06df89f0db8fee28e2174aa03d817
Diffstat (limited to 'main.c')
0 files changed, 0 insertions, 0 deletions