adjust to changes in map location

Test: atest, TreeHugger
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: Idaaa1ede7c239655f5ec489532533c363d297864
This commit is contained in:
Maciej Żenczykowski
2021-01-21 17:51:14 -08:00
parent b199742d73
commit 30a2d8232b

View File

@@ -74,11 +74,11 @@ public class BpfCoordinator {
private static final String TAG = BpfCoordinator.class.getSimpleName(); private static final String TAG = BpfCoordinator.class.getSimpleName();
private static final int DUMP_TIMEOUT_MS = 10_000; private static final int DUMP_TIMEOUT_MS = 10_000;
private static final String TETHER_DOWNSTREAM6_FS_PATH = private static final String TETHER_DOWNSTREAM6_FS_PATH =
"/sys/fs/bpf/map_offload_tether_downstream6_map"; "/sys/fs/bpf/tethering/map_offload_tether_downstream6_map";
private static final String TETHER_STATS_MAP_PATH = private static final String TETHER_STATS_MAP_PATH =
"/sys/fs/bpf/map_offload_tether_stats_map"; "/sys/fs/bpf/tethering/map_offload_tether_stats_map";
private static final String TETHER_LIMIT_MAP_PATH = private static final String TETHER_LIMIT_MAP_PATH =
"/sys/fs/bpf/map_offload_tether_limit_map"; "/sys/fs/bpf/tethering/map_offload_tether_limit_map";
@VisibleForTesting @VisibleForTesting
enum StatsType { enum StatsType {