Home
last modified time | relevance | path

Searched refs:IptOp (Results 1 – 5 of 5) sorted by relevance

/system/netd/server/
DIdletimerController.h41 enum IptOp { IptOpAdd, IptOpDelete }; enum
44 int modifyInterfaceIdletimer(IptOp op, const char *iface, uint32_t timeout,
DBandwidthController.h127 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);
DBandwidthControllerTest.cpp115 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()
DIdletimerController.cpp164 int IdletimerController::modifyInterfaceIdletimer(IptOp op, const char *iface, in modifyInterfaceIdletimer()
DBandwidthController.cpp295 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()