Searched refs:IptOp (Results 1 - 5 of 5) sorted by relevance
/system/netd/server/ |
H A D | IdletimerController.h | 41 enum IptOp { IptOpAdd, IptOpDelete }; enum in class:IdletimerController 44 int modifyInterfaceIdletimer(IptOp op, const char *iface, uint32_t timeout,
|
H A D | BandwidthController.h | 127 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 D | BandwidthControllerTest.cpp | 115 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 D | IdletimerController.cpp | 164 int IdletimerController::modifyInterfaceIdletimer(IptOp op, const char *iface,
|
H A D | BandwidthController.cpp | 295 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