android_packages_modules_Co.../Tethering/jni
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Lorenzo Colitti 4e92da06fa Dump counters in "dumpsys tethering bpf".
This CL adds the counters collected by the tethering programs to
the output of "dumpsys tethering bpf". The counter names are
fetched by JNI code at startup and then read by the debugging
code on demand.

Example from my device:

  Forwarding errors:
    TCP_CONTROL_PACKET: 67
    NON_GLOBAL_SRC: 13
    NON_GLOBAL_DST: 17
    LOCAL_SRC_DST: 7

Test: manual (debug-only code)
Change-Id: I7ec7992612556a4bca5f1b6bb52c655d6d870201
2021-02-10 04:43:03 +00:00
..
android_net_util_TetheringUtils.cpp Provide a easy way to access bpf maps from java 2021-01-11 17:43:27 +08:00
com_android_networkstack_tethering_BpfCoordinator.cpp Dump counters in "dumpsys tethering bpf". 2021-02-10 04:43:03 +00:00
com_android_networkstack_tethering_BpfMap.cpp Use header module bpf_syscall_wrappers 2021-01-13 14:31:28 +08:00
onload.cpp Dump counters in "dumpsys tethering bpf". 2021-02-10 04:43:03 +00:00