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

/system/netd/server/
H A DIdletimerController.h41 enum IptOp { IptOpAdd, IptOpDelete }; enum in class:IdletimerController
44 int modifyInterfaceIdletimer(IptOp op, const char *iface, uint32_t timeout,
H A DBandwidthController.h127 enum IptOp { IptOpInsert, IptOpDelete }; enum in class:BandwidthController
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);
H A DBandwidthControllerTest.cpp115 using IptOp = BandwidthController::IptOp;
117 int runIptablesAlertCmd(IptOp a, const char *b, int64_t c) {
121 int runIptablesAlertFwdCmd(IptOp a, const char *b, int64_t c) {
567 EXPECT_EQ(0, runIptablesAlertCmd(IptOp::IptOpInsert, "MyWonderfulAlert", 123456));
576 EXPECT_EQ(0, runIptablesAlertCmd(IptOp::IptOpDelete, "MyWonderfulAlert", 123456));
586 EXPECT_EQ(0, runIptablesAlertFwdCmd(IptOp::IptOpInsert, "MyWonderfulAlert", 123456));
594 EXPECT_EQ(0, runIptablesAlertFwdCmd(IptOp::IptOpDelete, "MyWonderfulAlert", 123456));
H A DIdletimerController.cpp164 int IdletimerController::modifyInterfaceIdletimer(IptOp op, const char *iface,
H A DBandwidthController.cpp295 IptOp op) {
538 int BandwidthController::runIptablesAlertCmd(IptOp op, const std::string& alertName,
554 int BandwidthController::runIptablesAlertFwdCmd(IptOp op, const std::string& alertName,
985 inline const char *BandwidthController::opToString(IptOp op) {

Completed in 55 milliseconds