android_packages_modules_Co.../Tethering
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Patrick Rohr b9cfcce30a Drastically simplify prefix and address selection process
This removes all the complex downstream prefix / address selection
logic and reduces it to generating a random address within the selected
prefix and checking whether it satisfies a set of conditions. If the
conditions are not met, the process is retried (for a total of 10 times)
before eventually moving on to the next prefix.

The conditions that must be satisfied are:
- Address within prefix does not end in .0, .1, .255
- Address is not contained within a range of commonly used prefixes.
- Prefix does not overlap with another prefix on the system.

Test: TH
Change-Id: I4c53bcaa29c11cde4df99d5bcb834fde94961da4
2024-09-27 20:47:13 -07:00
..
apex bpf: merge block.c into netd.c 2024-09-19 00:40:53 +00:00
apishim Return false when tetherOffloadRuleAdd doesn't really add items 2024-09-02 14:32:07 +08:00
common/TetheringLib Merge "Make java_sdk_library dependencies explicit" into main 2024-09-10 19:12:45 +00:00
jni remove dead register_com_android_networkstack_tethering_BpfUtils 2023-11-07 17:23:11 -08:00
res Import translations. DO NOT MERGE ANYWHERE 2024-08-06 15:20:29 -07:00
src Drastically simplify prefix and address selection process 2024-09-27 20:47:13 -07:00
tests Drastically simplify prefix and address selection process 2024-09-27 20:47:13 -07:00
Android.bp Merge "Make java_sdk_library dependencies explicit" into main 2024-09-10 19:12:45 +00:00
AndroidManifest.xml Update design to fix non-protected broadcast from system issue 2023-02-20 02:33:35 +00:00
AndroidManifestBase.xml Add usesCleartextTraffic to Tethering 2020-08-19 08:56:10 +00:00
jarjar-rules.txt Fix jarjar rules for tethering apk 2022-05-31 15:20:52 +08:00
lint-baseline.xml Baseline NewApi issues 2024-01-25 02:41:58 +00:00
OWNERS Revert "Add owners block for migration" 2021-05-31 10:34:04 +00:00
proguard.flags SyncSM10: explicitly keep TetheringUtils jni methods 2023-09-14 14:39:25 +00:00