Searched refs:IptOp (Results 1 – 5 of 5) sorted by relevance
/system/netd/server/ |
D | BandwidthController.h | 129 enum IptOp { IptOpInsert, IptOpDelete }; enum 140 IptJumpOp jumpHandling, IptOp appOp); 141 int manipulateNaughtyApps(int numUids, char *appStrUids[], IptOp appOp); 142 int manipulateNiceApps(int numUids, char *appStrUids[], IptOp appOp); 147 std::string makeIptablesSpecialAppCmd(IptOp op, int uid, const char *chain); 150 int runIptablesAlertCmd(IptOp op, const char *alertName, int64_t bytes); 151 int runIptablesAlertFwdCmd(IptOp op, const char *alertName, int64_t bytes); 228 static const char *opToString(IptOp op);
|
D | IdletimerController.h | 37 enum IptOp { IptOpAdd, IptOpDelete }; enum 40 int modifyInterfaceIdletimer(IptOp op, const char *iface, uint32_t timeout,
|
D | BandwidthControllerTest.cpp | 106 using IptOp = BandwidthController::IptOp; typedef in BandwidthControllerTest 108 int runIptablesAlertCmd(IptOp a, const char *b, int64_t c) { in runIptablesAlertCmd() 112 int runIptablesAlertFwdCmd(IptOp a, const char *b, int64_t c) { in runIptablesAlertFwdCmd() 413 EXPECT_EQ(0, runIptablesAlertCmd(IptOp::IptOpInsert, "MyWonderfulAlert", 123456)); in TEST_F() 422 EXPECT_EQ(0, runIptablesAlertCmd(IptOp::IptOpDelete, "MyWonderfulAlert", 123456)); in TEST_F() 432 EXPECT_EQ(0, runIptablesAlertFwdCmd(IptOp::IptOpInsert, "MyWonderfulAlert", 123456)); in TEST_F() 440 EXPECT_EQ(0, runIptablesAlertFwdCmd(IptOp::IptOpDelete, "MyWonderfulAlert", 123456)); in TEST_F()
|
D | IdletimerController.cpp | 191 int IdletimerController::modifyInterfaceIdletimer(IptOp op, const char *iface, in modifyInterfaceIdletimer()
|
D | BandwidthController.cpp | 342 int BandwidthController::manipulateNaughtyApps(int numUids, char *appStrUids[], IptOp op) { in manipulateNaughtyApps() 346 int BandwidthController::manipulateNiceApps(int numUids, char *appStrUids[], IptOp op) { in manipulateNiceApps() 352 IptJumpOp jumpHandling, IptOp op) { in manipulateSpecialApps() 739 int BandwidthController::runIptablesAlertCmd(IptOp op, const char *alertName, int64_t bytes) { in runIptablesAlertCmd() 752 int BandwidthController::runIptablesAlertFwdCmd(IptOp op, const char *alertName, int64_t bytes) { in runIptablesAlertFwdCmd() 1187 inline const char *BandwidthController::opToString(IptOp op) { in opToString()
|