Searched refs:IptOp (Results 1 – 5 of 5) sorted by relevance
/system/netd/server/ |
D | IdletimerController.h | 41 enum IptOp { IptOpAdd, IptOpDelete }; enum 44 int modifyInterfaceIdletimer(IptOp op, const char *iface, uint32_t timeout,
|
D | BandwidthController.h | 127 enum IptOp { IptOpInsert, IptOpDelete }; enum 139 IptJumpOp jumpHandling, IptOp appOp); 141 int runIptablesAlertCmd(IptOp op, const std::string& alertName, int64_t bytes); 142 int runIptablesAlertFwdCmd(IptOp op, const std::string& alertName, int64_t bytes); 188 static const char *opToString(IptOp op);
|
D | BandwidthControllerTest.cpp | 115 using IptOp = BandwidthController::IptOp; typedef in BandwidthControllerTest 117 int runIptablesAlertCmd(IptOp a, const char *b, int64_t c) { in runIptablesAlertCmd() 121 int runIptablesAlertFwdCmd(IptOp a, const char *b, int64_t c) { in runIptablesAlertFwdCmd() 567 EXPECT_EQ(0, runIptablesAlertCmd(IptOp::IptOpInsert, "MyWonderfulAlert", 123456)); in TEST_F() 576 EXPECT_EQ(0, runIptablesAlertCmd(IptOp::IptOpDelete, "MyWonderfulAlert", 123456)); in TEST_F() 586 EXPECT_EQ(0, runIptablesAlertFwdCmd(IptOp::IptOpInsert, "MyWonderfulAlert", 123456)); in TEST_F() 594 EXPECT_EQ(0, runIptablesAlertFwdCmd(IptOp::IptOpDelete, "MyWonderfulAlert", 123456)); in TEST_F()
|
D | IdletimerController.cpp | 164 int IdletimerController::modifyInterfaceIdletimer(IptOp op, const char *iface, in modifyInterfaceIdletimer()
|
D | BandwidthController.cpp | 295 IptOp op) { in manipulateSpecialApps() 538 int BandwidthController::runIptablesAlertCmd(IptOp op, const std::string& alertName, in runIptablesAlertCmd() 554 int BandwidthController::runIptablesAlertFwdCmd(IptOp op, const std::string& alertName, in runIptablesAlertFwdCmd() 985 inline const char *BandwidthController::opToString(IptOp op) { in opToString()
|