Searched refs:IptOpInsert (Results 1 – 3 of 3) sorted by relevance
/system/netd/server/ |
D | BandwidthController.cpp | 327 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()
|
D | BandwidthControllerTest.cpp | 413 EXPECT_EQ(0, runIptablesAlertCmd(IptOp::IptOpInsert, "MyWonderfulAlert", 123456)); in TEST_F() 432 EXPECT_EQ(0, runIptablesAlertFwdCmd(IptOp::IptOpInsert, "MyWonderfulAlert", 123456)); in TEST_F()
|
D | BandwidthController.h | 129 enum IptOp { IptOpInsert, IptOpDelete }; enumerator
|