android_packages_modules_Co.../Tethering/tests
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Hungming Chen 3feb782282 bpf: Add interface index to BPF devmap
Add upstream and downstream interface index to BPF map and rename the
BPF map name from xdp_devmap to dev.

$ adb shell dumpsys tethering
    Device map:
      ifindex (iface) -> ifindex (iface)
        21 (21) -> 21 (21)
        25 (25) -> 25 (25)
        12 (rmnet_data2) -> 12 (rmnet_data2)

$ adb shell ip addr
12: rmnet_data2 ..
21: wlan1 ..
25: rndis0 ..

$ adb shell ls /sys/fs/bpf/tethering
map_offload_tether_dev_map

Test: atest TetheringCoverageTests

Change-Id: Ic49965f3374d9e196ee672ec2f0e9e08f3847deb
2021-05-12 19:57:18 +08:00
..
integration Add native coverage listener to tethering coverage test 2021-04-27 16:48:25 +00:00
mts Enable networking tests to be included in partial MTS files as well as 2021-02-22 14:59:54 -08:00
privileged Merge "Improve RouterAdvertisementDaemonTest." 2021-04-08 04:07:14 +00:00
unit bpf: Add interface index to BPF devmap 2021-05-12 19:57:18 +08:00
Android.bp [LSC] Add LOCAL_LICENSE_KINDS to packages/modules/Connectivity 2021-02-16 04:09:58 -08:00
jarjar-rules.txt Add shared jarjar rule for tethering tests 2020-10-26 18:20:25 +08:00