android_packages_modules_Co.../Tethering/tests
Repository files (latest commit first)
Filename Latest commit message Latest commit date
KH Shi 84e3fb3afd Fix endian error when pass upstream prefixes to bpf
TetherUpstream6Key#src64 should be stored in network order. Use
a big-endian ByteBuffer to retrieve a value stored in network order
is actually converts it into native order, which is little-endian in
Android.

In this CL, we changed it to use byte[] instead of long to store the
top 64-bits of the source prefix.

Test: atest TetheringTests
      manual test with IPv6-only tethering upstream, check BPF stats.
Bug: 312072637
Change-Id: I79f9282d5eda28328aa6a764ea92b086d6285133
2023-11-20 08:10:53 +00:00
..
integration Remove unnecessary dropShellPermissionIdentity 2023-11-07 08:25:53 +00:00
mts offload.c - adjust bytes for l2 header 2023-04-04 06:18:28 +00:00
privileged Reapply "Simplify addRoutesToLocalNetwork calls" 2023-10-18 15:50:02 +09:00
unit Fix endian error when pass upstream prefixes to bpf 2023-11-20 08:10:53 +00:00
Android.bp Apply jarjar rules on coverage tests 2021-06-30 16:00:26 +09:00
jarjar-rules.txt ConnectivityCoverageTests refactoring 2022-04-06 19:35:28 +09:00