Searched refs:BPF_F_RDONLY (Results 1 – 7 of 7) sorted by relevance
/packages/modules/Connectivity/framework/src/android/net/ |
D | NetworkStackBpfNetMaps.java | 97 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/ |
D | com_android_net_module_util_BpfMap.cpp | 43 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/ |
D | BpfSyscallWrappers.h | 182 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/ |
D | BpfMap.java | 53 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/ |
D | BpfMap.h | 68 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/ |
D | BpfMapTest.java | 151 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/ |
D | BpfCoordinator.java | 465 BpfMap.BPF_F_RDONLY, S32.class, S32.class); in getBpfErrorMap()
|