Searched refs:MAPS_DIR (Results 1 – 2 of 2) sorted by relevance
52 #define MAPS_DIR() "/sys/fs/bpf/netsys/maps/" macro55 #define MAP_PATH(name) MAPS_DIR() MAP_NAME(name)56 #define GET_MAP_PATH(ingress, name) ((ingress) ? MAPS_DIR() "in_" #name "_map" : MAPS_DIR() "out_" …
59 static constexpr const char *MAPS_DIR = "/sys/fs/bpf/netsys/maps"; variable370 …if (IsMounted(BPF_DIR) && std::filesystem::exists(MAPS_DIR) && std::filesystem::is_directory(MAPS_… in MakeDirectories()379 if (!MakeDir(MAPS_DIR)) { in MakeDirectories()380 NETNATIVE_LOGE("can not make dir: %{public}s", MAPS_DIR); in MakeDirectories()533 std::string mapPinLocation = std::string(MAPS_DIR) + "/" + map.name; in CreateMaps()549 std::string mapPinLocation = std::string(MAPS_DIR) + "/" + map.name; in DeleteMaps()