Home
last modified time | relevance | path

Searched refs:BPF_ANY (Results 1 – 11 of 11) sorted by relevance

/packages/modules/Connectivity/service-t/native/libs/libnetworkstats/
DBpfNetworkStatsTest.cpp114 EXPECT_RESULT_OK(map.writeValue(key, value, BPF_ANY)); in populateFakeStats()
120 EXPECT_RESULT_OK(mFakeIfaceIndexNameMap.writeValue(ifaceIndex, iface, BPF_ANY)); in updateIfaceMap()
149 EXPECT_RESULT_OK(mFakeCookieTagMap.writeValue(cookie, tag, BPF_ANY)); in TEST_F()
178 EXPECT_RESULT_OK(mFakeCookieTagMap.writeValue(cookie, tag, BPF_ANY)); in TEST_F()
222 ASSERT_RESULT_OK(mFakeAppUidStatsMap.writeValue(TEST_UID1, value1, BPF_ANY)); in TEST_F()
223 ASSERT_RESULT_OK(mFakeAppUidStatsMap.writeValue(TEST_UID2, value2, BPF_ANY)); in TEST_F()
256 EXPECT_RESULT_OK(mFakeIfaceStatsMap.writeValue(ifaceStatsKey, value1, BPF_ANY)); in TEST_F()
258 EXPECT_RESULT_OK(mFakeIfaceStatsMap.writeValue(ifaceStatsKey, value2, BPF_ANY)); in TEST_F()
260 EXPECT_RESULT_OK(mFakeIfaceStatsMap.writeValue(ifaceStatsKey, value1, BPF_ANY)); in TEST_F()
288 EXPECT_RESULT_OK(mFakeIfaceStatsMap.writeValue(IFACE_INDEX1, value, BPF_ANY)); in TEST_F()
[all …]
DNetworkTracePoller.cpp81 auto res = mConfigurationMap.writeValue(0, true, BPF_ANY); in Start()
105 auto res = mConfigurationMap.writeValue(0, false, BPF_ANY); in Stop()
DBpfNetworkStats.cpp58 getIfaceIndexNameMap().writeValue(ifindex, iv, BPF_ANY); in ifindex2name()
69 getIfaceIndexNameMap().writeValue(ifindex, ifname, BPF_ANY); in bpfRegisterIface()
/packages/modules/Connectivity/tests/native/utilities/
Dfirewall.cpp76 auto res = mUidOwnerMap.writeValue(uid, newMatch, BPF_ANY); in addRule()
83 auto res = mUidOwnerMap.writeValue(uid, newMatch, BPF_ANY); in addRule()
102 auto res = mUidOwnerMap.writeValue(uid, newMatch, BPF_ANY); in removeRule()
/packages/modules/Connectivity/netd/
DBpfHandlerTest.cpp104 EXPECT_RESULT_OK(mFakeCookieTagMap.writeValue(cookie, cookieMapkey, BPF_ANY)); in populateFakeStats()
107 EXPECT_RESULT_OK(mFakeStatsMapA.writeValue(*key, statsMapValue, BPF_ANY)); in populateFakeStats()
109 EXPECT_RESULT_OK(mFakeStatsMapA.writeValue(*key, statsMapValue, BPF_ANY)); in populateFakeStats()
209 BPF_PERMISSION_UPDATE_DEVICE_STATS, BPF_ANY)); in TEST_F()
DBpfHandler.cpp392 res = mCookieTagMap.writeValue(sock_cookie, newKey, BPF_ANY); in tagSocket()
/packages/modules/Connectivity/DnsResolver/
DDnsBpfHelperTest.cpp126 BPF_ANY)); in TEST_F()
200 BPF_ANY)); in TEST_F()
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/
DBpfMap.java63 private static final int BPF_ANY = 0; field in BpfMap
138 nativeWriteToMapEntry(mMapFd.getFd(), key.writeToBytes(), value.writeToBytes(), BPF_ANY); in updateEntry() local
/packages/modules/Connectivity/staticlibs/native/bpf_headers/
DBpfMapTest.cpp81 ASSERT_RESULT_OK(map.writeValue(key, value, BPF_ANY)); in writeToMapAndCheck()
95 EXPECT_RESULT_OK(map.writeValue(key, value, BPF_ANY)); in populateMap()
/packages/modules/Connectivity/bpf_progs/
DdscpPolicy.c207 bpf_socket_policy_cache_map_update_elem(&cookie, &value, BPF_ANY); in DEFINE_BPF_MAP_GRW()
/packages/modules/Connectivity/netbpfload/
DNetBpfLoad.cpp478 if (writeToMapEntry(map, &key, &value, BPF_ANY)) { in doLoad()