Home
last modified time | relevance | path

Searched refs:mCookieTagMap (Results 1 – 4 of 4) sorted by relevance

/system/netd/tests/
Dnetlink_listener_test.cpp67 BpfMap<uint64_t, UidTagValue> mCookieTagMap; member in NetlinkListenerTest
72 mCookieTagMap.reset(android::bpf::mapRetrieveRW(COOKIE_TAG_MAP_PATH)); in SetUp()
73 ASSERT_TRUE(mCookieTagMap.isValid()); in SetUp()
92 EXPECT_RESULT_OK(mCookieTagMap.iterateWithValue(deleteTestCookieEntries)); in TearDown()
103 return mCookieTagMap.iterateWithValue(checkGarbageTags); in checkNoGarbageTagsExist()
/system/netd/server/
DTrafficController.cpp182 RETURN_IF_NOT_OK(mCookieTagMap.init(COOKIE_TAG_MAP_PATH)); in initMaps()
291 Status s = mCookieTagMap.deleteValue(sock_cookie); in start()
374 res = mCookieTagMap.writeValue(sock_cookie, newKey, BPF_ANY); in tagSocket()
377 mCookieTagMap.getMap().get()); in tagSocket()
392 base::Result<void> res = mCookieTagMap.deleteValue(sock_cookie); in untagSocket()
460 mCookieTagMap.iterateWithValue(deleteMatchedCookieEntries); in deleteTagData()
903 getMapStatus(mCookieTagMap.getMap(), COOKIE_TAG_MAP_PATH).c_str()); in dump()
950 base::Result<void> res = mCookieTagMap.iterateWithValue(printCookieTagInfo); in dump()
DTrafficController.h137 BpfMap<uint64_t, UidTagValue> mCookieTagMap GUARDED_BY(mMutex);
DTrafficControllerTest.cpp107 mTc.mCookieTagMap.reset(dupFd(mFakeCookieTagMap.getMap())); in SetUp()
108 ASSERT_VALID(mTc.mCookieTagMap); in SetUp()