Home
last modified time | relevance | path

Searched refs:BPF_F_RDONLY (Results 1 – 7 of 7) sorted by relevance

/packages/modules/Connectivity/framework/src/android/net/
DNetworkStackBpfNetMaps.java97 return new BpfMap<>(CONFIGURATION_MAP_PATH, BpfMap.BPF_F_RDONLY, in getConfigurationMap()
107 return new BpfMap<>(UID_OWNER_MAP_PATH, BpfMap.BPF_F_RDONLY, in getUidOwnerMap()
117 return new BpfMap<>(DATA_SAVER_ENABLED_MAP_PATH, BpfMap.BPF_F_RDONLY, S32.class, in getDataSaverEnabledMap()
/packages/modules/Connectivity/staticlibs/native/bpfmapjni/
Dcom_android_net_module_util_BpfMap.cpp43 case BPF_F_RDONLY: in com_android_net_module_util_BpfMap_nativeBpfFdGet()
49 case BPF_F_RDONLY|BPF_F_WRONLY: in com_android_net_module_util_BpfMap_nativeBpfFdGet()
/packages/modules/Connectivity/staticlibs/native/bpf_syscall_wrappers/include/
DBpfSyscallWrappers.h182 return bpfFdGet(pathname, BPF_F_RDONLY); in mapRetrieveRO()
192 return bpfFdGet(pathname, BPF_F_RDONLY); in retrieveProgram()
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/
DBpfMap.java53 public static final int BPF_F_RDONLY = 1 << 3; field in BpfMap
57 public static final int BPF_F_RDWR_EXCLUSIVE = BPF_F_RDONLY | BPF_F_WRONLY;
/packages/modules/Connectivity/staticlibs/native/bpf_headers/include/bpf/
DBpfMap.h68 if (writable && (flags & BPF_F_RDONLY)) abort(); in abortOnMismatch()
282 if (map_flags & BPF_F_RDONLY) abort();
/packages/modules/Connectivity/Tethering/tests/privileged/src/com/android/networkstack/tethering/
DBpfMapTest.java151 try (BpfMap readOnlyMap = new BpfMap<>(TETHER_DOWNSTREAM6_FS_PATH, BpfMap.BPF_F_RDONLY, in testGetFd() argument
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DBpfCoordinator.java465 BpfMap.BPF_F_RDONLY, S32.class, S32.class); in getBpfErrorMap()