Home
last modified time | relevance | path

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

/system/netd/server/
DBandwidthController.cpp327 return manipulateNaughtyApps(numUids, appUids, IptOpInsert); in addNaughtyApps()
335 return manipulateNiceApps(numUids, appUids, IptOpInsert); in addNiceApps()
772 res = runIptablesAlertCmd(IptOpInsert, alertName, bytes); in setGlobalAlert()
775 res |= runIptablesAlertFwdCmd(IptOpInsert, alertName, bytes); in setGlobalAlert()
799 res = runIptablesAlertFwdCmd(IptOpInsert, alertName, globalAlertBytes); in setGlobalAlertInForwardChain()
1189 case IptOpInsert: in opToString()
DBandwidthControllerTest.cpp413 EXPECT_EQ(0, runIptablesAlertCmd(IptOp::IptOpInsert, "MyWonderfulAlert", 123456)); in TEST_F()
432 EXPECT_EQ(0, runIptablesAlertFwdCmd(IptOp::IptOpInsert, "MyWonderfulAlert", 123456)); in TEST_F()
DBandwidthController.h129 enum IptOp { IptOpInsert, IptOpDelete }; enumerator