Home
last modified time | relevance | path

Searched refs:mBpfLimitMap (Results 1 – 3 of 3) sorted by relevance

/system/netd/server/
DTetherController.cpp221 mBpfLimitMap.reset(fd); in maybeInitMaps()
222 mBpfLimitMap.clear(); in maybeInitMaps()
1087 auto ret = mBpfLimitMap.writeValue(ifIndex, newLimit, BPF_ANY); in setBpfLimit()
1145 if (!mBpfStatsMap.isValid() || !mBpfLimitMap.isValid()) return -ENOTSUP; in setTetherOffloadInterfaceQuota()
1167 if (!mBpfStatsMap.isValid() || !mBpfLimitMap.isValid()) return Error(ENOTSUP); in getAndClearTetherOffloadStats()
1193 res = mBpfLimitMap.deleteValue(ifIndex); in getAndClearTetherOffloadStats()
1233 if (!mBpfIngressMap.isValid() || !mBpfStatsMap.isValid() || !mBpfLimitMap.isValid()) { in dumpBpf()
1292 ret = mBpfLimitMap.iterateWithValue(printLimitMap); in dumpBpf()
DTetherControllerTest.cpp82 mTetherCtrl.mBpfLimitMap = mFakeTetherLimitMap; in SetUp()
83 ASSERT_TRUE(mTetherCtrl.mBpfLimitMap.isValid()); in SetUp()
DTetherController.h78 bpf::BpfMap<uint32_t, uint64_t> mBpfLimitMap; variable