Searched refs:IptablesRestoreController (Results 1 – 5 of 5) sorted by relevance
38 int IptablesRestoreController::MAX_RETRIES = 50;39 int IptablesRestoreController::POLL_TIMEOUT_MS = 100;115 IptablesRestoreController::IptablesRestoreController() : in IptablesRestoreController() function in IptablesRestoreController120 IptablesRestoreController::~IptablesRestoreController() { in ~IptablesRestoreController()124 IptablesProcess* IptablesRestoreController::forkAndExec(const IptablesProcessType type) { in forkAndExec()203 int IptablesRestoreController::sendCommand(const IptablesProcessType type, in sendCommand()225 IptablesProcess *newProcess = IptablesRestoreController::forkAndExec(type); in sendCommand()252 void IptablesRestoreController::maybeLogStderr(const std::unique_ptr<IptablesProcess> &process, in maybeLogStderr()269 bool IptablesRestoreController::drainAndWaitForAck(const std::unique_ptr<IptablesProcess> &process, in drainAndWaitForAck()345 int IptablesRestoreController::execute(const IptablesTarget target, const std::string& command, in execute()[all …]
43 IptablesRestoreController con;63 pid_t getIpRestorePid(const IptablesRestoreController::IptablesProcessType type) { in getIpRestorePid()153 pid_t pid4 = getIpRestorePid(IptablesRestoreController::IPTABLES_PROCESS); in TEST_F()154 pid_t pid6 = getIpRestorePid(IptablesRestoreController::IP6TABLES_PROCESS); in TEST_F()164 EXPECT_EQ(pid4, getIpRestorePid(IptablesRestoreController::IPTABLES_PROCESS)); in TEST_F()165 EXPECT_EQ(pid6, getIpRestorePid(IptablesRestoreController::IP6TABLES_PROCESS)); in TEST_F()186 pid_t pid4 = getIpRestorePid(IptablesRestoreController::IPTABLES_PROCESS); in TEST_F()187 pid_t pid6 = getIpRestorePid(IptablesRestoreController::IP6TABLES_PROCESS); in TEST_F()199 EXPECT_NE(pid4, getIpRestorePid(IptablesRestoreController::IPTABLES_PROCESS)); in TEST_F()200 EXPECT_NE(pid6, getIpRestorePid(IptablesRestoreController::IP6TABLES_PROCESS)); in TEST_F()
28 class IptablesRestoreController {32 IptablesRestoreController();50 virtual ~IptablesRestoreController();
55 IptablesRestoreController iptablesRestoreCtrl;
93 IptablesRestoreController.cpp \160 IptablesRestoreController.cpp IptablesRestoreControllerTest.cpp \