| Commit message (Collapse) | Author | Age | Files | Lines |
| |\
| |
| |
| |
| |
| |
| |
| | |
e4b7da622c
Original change: https://android-review.googlesource.com/c/platform/external/android-clat/+/1419090
Change-Id: I9f2693799ad153b7afbe22793bda1812ad6a8851
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
In the IPv6-only network, when the download time exceeds 30 seconds,
compared with REF, the IPv4 download peak rate of DUT begins to decay
with time.
The reason is: during the period from "reading ipv6 packets through
packet socket to "sending the translated ipv4 packets to tun device
through raw socket", clatd consumes more time than normal. And clatd
spent most of it time on the function: ipv6_address_changed().
Test: builds and boots, phone call, internet under wifi and
cellular data, lab FTP download test under 464xlat
Bug: 167648019
Signed-off-by: Rocco Yue <rocco.yue@mediatek.com>
Change-Id: I815361b799c444a1094601e83a9b6a2d9fabf521
|
| |\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
am skip reason: Change-Id I8500881852f1255a69b49eba6354777883fe438f with SHA-1 5ce6cdae6d is in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/android-clat/+/11736440
Change-Id: Ic914db1ed2ec863443bd86d83820d62c22cf38e4
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Test:
git grep 'config[.]c'
comes up empty
Bug: 144730808
Test: atest clatd_test netd_integration_test
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Original-Change: https://android-review.googlesource.com/1323172
Merged-In: I8500881852f1255a69b49eba6354777883fe438f
Change-Id: I8500881852f1255a69b49eba6354777883fe438f
|
| |\| |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
am skip reason: Change-Id I7c3a986584aa3d02519545fb928457b61247ed14 with SHA-1 6fafed183b is in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/android-clat/+/11736439
Change-Id: I3ba7b229f3fb6ad56b0266c8412309e10dbbf5ce
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Longer term we should probably just merge the clat_config
and tun_data structs, but not just yet.
Test:
git grep '(^|[^_])tun[.]h'
comes up empty
Bug: 144730808
Test: atest clatd_test netd_integration_test
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Original-Change: https://android-review.googlesource.com/1323171
Merged-In: I7c3a986584aa3d02519545fb928457b61247ed14
Change-Id: I7c3a986584aa3d02519545fb928457b61247ed14
|
| |\| |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
am skip reason: Change-Id If81ca18bf5a33549b532de0d6406e32f4560c93a with SHA-1 65de290172 is in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/android-clat/+/11736438
Change-Id: I9edaadb9bbc60f7638f711857a8f8b309b4bce11
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Test:
git grep send_tun
comes up empty
Bug: 144730808
Test: atest clatd_test netd_integration_test
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Original-Change: https://android-review.googlesource.com/1322978
Merged-In: If81ca18bf5a33549b532de0d6406e32f4560c93a
Change-Id: If81ca18bf5a33549b532de0d6406e32f4560c93a
|
| |\| |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
8452f3f652 -s ours
am skip reason: Change-Id I67b70fe298f69ac51dfbc5daf4078b842fb62808 with SHA-1 ba667df1c1 is in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/android-clat/+/11736257
Change-Id: I95fa00a1ee12dfc084e3f0ef79b1684e5597ef2a
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Test:
git grep 'read_config|ipv4_local_prefixlen|default_pdp_interface'
comes up empty
Bug: 144730808
Test: atest clatd_test netd_integration_test
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Original-Change: https://android-review.googlesource.com/1322226
Merged-In: I67b70fe298f69ac51dfbc5daf4078b842fb62808
Change-Id: I67b70fe298f69ac51dfbc5daf4078b842fb62808
|
| |\| |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
DEFAULT_IPV4_LOCAL_SUBNET am: 36f4665ab4 -s ours
am skip reason: Change-Id I0cb3fe5bae5f663d07a8cb63f2dd9ef9ca1a6dd8 with SHA-1 98864456ed is in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/android-clat/+/11736256
Change-Id: I3b0fde3ffe8096b77a0c144422e759cb755409d4
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Test:
git grep 'config_item_ip|DEFAULT_IPV4_LOCAL_SUBNET'
comes up empty
Bug: 144730808
Test: atest clatd_test netd_integration_test
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Original-Change: https://android-review.googlesource.com/1322225
Merged-In: I0cb3fe5bae5f663d07a8cb63f2dd9ef9ca1a6dd8
Change-Id: I0cb3fe5bae5f663d07a8cb63f2dd9ef9ca1a6dd8
|
| |\| |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
am skip reason: Change-Id I0338f7ac29fdb0de56bd4a500e2a827cab2c47f7 with SHA-1 c9b0e6d1ab is in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/android-clat/+/11736255
Change-Id: I4c513702d598d906a0e33b6c5f97edcaba8b73c6
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Test:
git grep config_item_ip6
comes up empty
Bug: 144730808
Test: atest clatd_test netd_integration_test
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Original-Change: https://android-review.googlesource.com/1322224
Merged-In: I0338f7ac29fdb0de56bd4a500e2a827cab2c47f7
Change-Id: I0338f7ac29fdb0de56bd4a500e2a827cab2c47f7
|
| |\| |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
DEFAULT_IPV4_LOCAL_PREFIXLEN am: 6be24d8214 -s ours
am skip reason: Change-Id I71716cdcba382bc5fb1efa5000189f63a57015c9 with SHA-1 649581fdd9 is in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/android-clat/+/11736254
Change-Id: I86cc0de233c52d79de088d7f031a0eea49c9dd4c
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Test:
git grep 'config_item_int16|DEFAULT_IPV4_LOCAL_PREFIXLEN'
comes up empty
Bug: 144730808
Test: atest clatd_test netd_integration_test
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Original-Change: https://android-review.googlesource.com/1322223
Merged-In: I71716cdcba382bc5fb1efa5000189f63a57015c9
Change-Id: I71716cdcba382bc5fb1efa5000189f63a57015c9
|
| |\| |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
am skip reason: Change-Id I1a8f21e55534457718ea58cdab15266b9f232fd3 with SHA-1 606c53fb61 is in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/android-clat/+/11736243
Change-Id: I966c38c2cd078a880ecd0d0841c72d4da10155fe
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Test:
git grep config_item_str
comes up empty
Bug: 144730808
Test: atest clatd_test netd_integration_test
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Original-Change: https://android-review.googlesource.com/1322222
Merged-In: I1a8f21e55534457718ea58cdab15266b9f232fd3
Change-Id: I1a8f21e55534457718ea58cdab15266b9f232fd3
|
| |\| |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
2f45839780 -s ours
am skip reason: Change-Id Ie3ed4583a95f15165a05412a556bae99dc07706b with SHA-1 6b759e57d9 is in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/android-clat/+/11735696
Change-Id: I3e25973355550b7d4d6921641478a3a89aedbd6c
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Test:
git grep 'ipv6_host_id|is_dynamic_iid'
comes up empty
Bug: 144730808
Test: atest clatd_test netd_integration_test
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Original-Change: https://android-review.googlesource.com/1322221
Merged-In: Ie3ed4583a95f15165a05412a556bae99dc07706b
Change-Id: Ie3ed4583a95f15165a05412a556bae99dc07706b
|
| |\| |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
am skip reason: Change-Id I781bbb0523211349893d947a500edf0eb12dedfd with SHA-1 df61a34d3c is in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/android-clat/+/11735695
Change-Id: Ic960b79567281c26979733afa0a08f1b8a35689d
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Test:
git grep dump_config
comes up empty
Bug: 144730808
Test: atest clatd_test netd_integration_test
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Original-Change: https://android-review.googlesource.com/1322220
Merged-In: I781bbb0523211349893d947a500edf0eb12dedfd
Change-Id: I781bbb0523211349893d947a500edf0eb12dedfd
|
| |\ \ \
| | |/
| |/|
| | |
| | |
| | | |
Original change: https://android-review.googlesource.com/c/platform/external/android-clat/+/1323172
Change-Id: I407ac36c093713b558b503d5c3bebe9d6e2fd080
|
| | |\ \
| | | |
| | | |
| | | |
| | | |
| | | | |
Original change: https://android-review.googlesource.com/c/platform/external/android-clat/+/1323172
Change-Id: I22ea14620987db2b70a7240000c49c44f6f4a977
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Test:
git grep 'config[.]c'
comes up empty
Bug: 144730808
Test: atest clatd_test netd_integration_test
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: I8500881852f1255a69b49eba6354777883fe438f
|
| |\| | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Original change: https://android-review.googlesource.com/c/platform/external/android-clat/+/1323171
Change-Id: I87ea014f14b35b91e71ec62ebd8185e492de3694
|
| | |\| |
| | | |
| | | |
| | | |
| | | |
| | | | |
Original change: https://android-review.googlesource.com/c/platform/external/android-clat/+/1323171
Change-Id: Ib55b4dd733f4d446ddae6e0f33ba3e1359015dea
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Longer term we should probably just merge the clat_config
and tun_data structs, but not just yet.
Test:
git grep '(^|[^_])tun[.]h'
comes up empty
Bug: 144730808
Test: atest clatd_test netd_integration_test
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: I7c3a986584aa3d02519545fb928457b61247ed14
|
| |\| | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Original change: https://android-review.googlesource.com/c/platform/external/android-clat/+/1322978
Change-Id: Icae5cb1ec69b06c8942281eeb91e6f51ae479e34
|
| | |\| |
| | | |
| | | |
| | | |
| | | |
| | | | |
Original change: https://android-review.googlesource.com/c/platform/external/android-clat/+/1322978
Change-Id: I3c610157314fbba90864038a01f2ecff38714006
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Test:
git grep send_tun
comes up empty
Bug: 144730808
Test: atest clatd_test netd_integration_test
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: If81ca18bf5a33549b532de0d6406e32f4560c93a
|
| |\| | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Original change: https://android-review.googlesource.com/c/platform/external/android-clat/+/1321858
Change-Id: I93246beb5d9ed40aa8b5492b3d13bddfa63f3d1c
|
| | |\| |
| | | |
| | | |
| | | |
| | | |
| | | | |
Original change: https://android-review.googlesource.com/c/platform/external/android-clat/+/1321858
Change-Id: I766efbeac4de25e29dc3313be9af453ac8b817fe
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Test:
git grep clatd.conf
comes up empty
(this needs changes in other projects though)
Bug: 144730808
Test: atest clatd_test netd_integration_test
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: I0d8a24f80c07ca95eb0aae4f4f67ac291ac78c1f
|
| |\| | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Original change: https://android-review.googlesource.com/c/platform/external/android-clat/+/1322226
Change-Id: I0c3a14750d0330db075c9d905e350fdf51d08797
|
| | |\| |
| | | |
| | | |
| | | |
| | | |
| | | | |
Original change: https://android-review.googlesource.com/c/platform/external/android-clat/+/1322226
Change-Id: I6a3d6a123c6e01a9034e0701bfedac2667db25b0
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Test:
git grep 'read_config|ipv4_local_prefixlen|default_pdp_interface'
comes up empty
Bug: 144730808
Test: atest clatd_test netd_integration_test
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: I67b70fe298f69ac51dfbc5daf4078b842fb62808
|
| |\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
rvc-dev-plus-aosp
* changes:
[automerger skipped] Delete the clatd code that assigns IPv4 and IPv6 addresses. am: f13d56995f -s ours
[automerger skipped] Remove DNS64 detection code from clatd. am: c29e1785c1 -s ours
|
| | |\ \ \ \
| | | |_|/
| | |/| |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
addresses. am: f13d56995f -s ours
am skip reason: Change-Id I8265e9bb04d44ed1dda445fa91881fcd1601dc47 with SHA-1 baa3c6aefa is in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/android-clat/+/11704601
Change-Id: Id988d11a460dce58421c8ff28c5020335c7d910c
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The IPv4 and IPv6 address assignment code, and its tests, were
migrated to ClatdController in Q, and this code has been unused
since then.
This code is not only unused, it also *should* never be used,
because if it were, many parts of 464xlat on Android would not
work as expected. This includes 464xlat BPF offload and data
usage accounting, both of which require netd to know exactly
which IPv4 and IPv6 addresses are used by clatd at any given
time.
Most of the code is deleted, but the function to generate random
checksum-neutral IIDs was moved to the tests instead.
This change does not delete the configuration file parsing code.
That will be done in a follow-up CL.
Bug: 144730808
Bug: 150738490
Test: atest clatd_test
Test: atest netd_integration_test
Test: IPv6-only wifi continues to work
Original-Change: https://android-review.googlesource.com/1320923
Merged-In: I8265e9bb04d44ed1dda445fa91881fcd1601dc47
Change-Id: I8265e9bb04d44ed1dda445fa91881fcd1601dc47
|
| | |\| | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
-s ours
am skip reason: Change-Id I892f364d6cbfe76277686387e35c04d3d6eb5ecc with SHA-1 27da0ad045 is in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/android-clat/+/11704600
Change-Id: Ia0d984ddaf8579726daab71848cc5927d7569b2b
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This has been unused since Q, when the NAT64 prefix started being
detected and passed in by netd instead. Many things depend on the
prefix being correct, including clat BPF offload and DNS64
synthesis, and doing DNS64 detection in clatd provides no way to
make these work. Additionally, R now supports getting the NAT64
prefix via the RA, which makes DNS64 detection in clatd even less
useful.
This CL removes all the DNS64 detection code. The new code parses
the prefix in main.c, and if the prefix is not valid, refuses to
start.
This also lets us remove the -n <netid> parameter which was only
used for DNS64 detection.
It also removes a dependency on dnsproxyd_protocol_headers, which
should be depended on by as few parts of the system as possible.
Test: m
Bug: 144730808
Bug: 151895202
Test: IPv6-only wifi continues to work
Original-Change: https://android-review.googlesource.com/1320917
Merged-In: I892f364d6cbfe76277686387e35c04d3d6eb5ecc
Change-Id: I892f364d6cbfe76277686387e35c04d3d6eb5ecc
|
| |\ \ \ \ \
| |/ / / /
|/| | / /
| | |/ /
| |/| |
| | | |
| | | |
| | | | |
60118314b7
Original change: https://android-review.googlesource.com/c/platform/external/android-clat/+/1322225
Change-Id: Ib0eb85cafa56f36126f6d1e3a77617173de11994
|
| | |\ \ \
| | | |/
| | |/|
| | | |
| | | |
| | | | |
Original change: https://android-review.googlesource.com/c/platform/external/android-clat/+/1322225
Change-Id: I25428430cbe1620f55b5b99f5afe14453d62a392
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Test:
git grep 'config_item_ip|DEFAULT_IPV4_LOCAL_SUBNET'
comes up empty
Bug: 144730808
Test: atest clatd_test netd_integration_test
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: I0cb3fe5bae5f663d07a8cb63f2dd9ef9ca1a6dd8
|
| |\| | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Original change: undetermined
Change-Id: I2f7693dbf9ab820b4b672d1fda5e640d75b548f8
|
| | |\| |
| | | |
| | | |
| | | |
| | | |
| | | | |
Original change: undetermined
Change-Id: Ia4ed3714d28599402bb16df8ff3a2c3d58ddea55
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Test:
git grep config_item_ip6
comes up empty
Bug: 144730808
Test: atest clatd_test netd_integration_test
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: I0338f7ac29fdb0de56bd4a500e2a827cab2c47f7
|
| |\| | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
am: cce27bea38
Original change: undetermined
Change-Id: I35d62dc45f1aa4719bb789c5f0aac276ce212ab8
|
| | |\| |
| | | |
| | | |
| | | |
| | | |
| | | | |
Original change: undetermined
Change-Id: Iaa8d355e7df072fd676a741b6dc1da495f28de27
|