HomeSort by relevance Sort by last modified time
    Searched refs:IptOp (Results 1 - 5 of 5) sorted by null

  /system/netd/server/
IdletimerController.h 41 enum IptOp { IptOpAdd, IptOpDelete };
44 int modifyInterfaceIdletimer(IptOp op, const char *iface, uint32_t timeout,
BandwidthController.h 81 enum IptOp { IptOpInsert, IptOpDelete };
93 IptJumpOp jumpHandling, IptOp appOp);
95 int runIptablesAlertCmd(IptOp op, const std::string& alertName, int64_t bytes);
96 int runIptablesAlertFwdCmd(IptOp op, const std::string& alertName, int64_t bytes);
125 static const char *opToString(IptOp op);
BandwidthControllerTest.cpp 106 using IptOp = BandwidthController::IptOp;
108 int runIptablesAlertCmd(IptOp a, const char *b, int64_t c) {
112 int runIptablesAlertFwdCmd(IptOp a, const char *b, int64_t c) {
448 EXPECT_EQ(0, runIptablesAlertCmd(IptOp::IptOpInsert, "MyWonderfulAlert", 123456));
457 EXPECT_EQ(0, runIptablesAlertCmd(IptOp::IptOpDelete, "MyWonderfulAlert", 123456));
467 EXPECT_EQ(0, runIptablesAlertFwdCmd(IptOp::IptOpInsert, "MyWonderfulAlert", 123456));
475 EXPECT_EQ(0, runIptablesAlertFwdCmd(IptOp::IptOpDelete, "MyWonderfulAlert", 123456));
IdletimerController.cpp 164 int IdletimerController::modifyInterfaceIdletimer(IptOp op, const char *iface,
BandwidthController.cpp 362 IptOp op) {
609 int BandwidthController::runIptablesAlertCmd(IptOp op, const std::string& alertName,
625 int BandwidthController::runIptablesAlertFwdCmd(IptOp op, const std::string& alertName,
877 inline const char *BandwidthController::opToString(IptOp op) {

Completed in 235 milliseconds