Searched refs:BPF_ANY (Results 1 – 11 of 11) sorted by relevance
/packages/modules/Connectivity/service-t/native/libs/libnetworkstats/ |
D | BpfNetworkStatsTest.cpp | 114 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 …]
|
D | NetworkTracePoller.cpp | 81 auto res = mConfigurationMap.writeValue(0, true, BPF_ANY); in Start() 105 auto res = mConfigurationMap.writeValue(0, false, BPF_ANY); in Stop()
|
D | BpfNetworkStats.cpp | 58 getIfaceIndexNameMap().writeValue(ifindex, iv, BPF_ANY); in ifindex2name() 69 getIfaceIndexNameMap().writeValue(ifindex, ifname, BPF_ANY); in bpfRegisterIface()
|
/packages/modules/Connectivity/tests/native/utilities/ |
D | firewall.cpp | 76 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/ |
D | BpfHandlerTest.cpp | 104 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()
|
D | BpfHandler.cpp | 392 res = mCookieTagMap.writeValue(sock_cookie, newKey, BPF_ANY); in tagSocket()
|
/packages/modules/Connectivity/DnsResolver/ |
D | DnsBpfHelperTest.cpp | 126 BPF_ANY)); in TEST_F() 200 BPF_ANY)); in TEST_F()
|
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/ |
D | BpfMap.java | 63 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/ |
D | BpfMapTest.cpp | 81 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/ |
D | dscpPolicy.c | 207 bpf_socket_policy_cache_map_update_elem(&cookie, &value, BPF_ANY); in DEFINE_BPF_MAP_GRW()
|
/packages/modules/Connectivity/netbpfload/ |
D | NetBpfLoad.cpp | 478 if (writeToMapEntry(map, &key, &value, BPF_ANY)) { in doLoad()
|