Searched refs:IptablesRestoreController (Results 1 – 5 of 5) sorted by relevance
42 int IptablesRestoreController::MAX_RETRIES = 50;43 int IptablesRestoreController::POLL_TIMEOUT_MS = 100;119 IptablesRestoreController::IptablesRestoreController() { in IptablesRestoreController() function in IptablesRestoreController123 IptablesRestoreController::~IptablesRestoreController() { in ~IptablesRestoreController()126 void IptablesRestoreController::Init() { in Init()136 IptablesProcess* IptablesRestoreController::forkAndExec(const IptablesProcessType type) { in forkAndExec()206 int IptablesRestoreController::sendCommand(const IptablesProcessType type, in sendCommand()228 IptablesProcess *newProcess = IptablesRestoreController::forkAndExec(type); in sendCommand()255 void IptablesRestoreController::maybeLogStderr(const std::unique_ptr<IptablesProcess> &process, in maybeLogStderr()272 bool IptablesRestoreController::drainAndWaitForAck(const std::unique_ptr<IptablesProcess> &process, in drainAndWaitForAck()[all …]
48 IptablesRestoreController con;72 pid_t getIpRestorePid(const IptablesRestoreController::IptablesProcessType type) { in getIpRestorePid()162 pid_t pid4 = getIpRestorePid(IptablesRestoreController::IPTABLES_PROCESS); in TEST_F()163 pid_t pid6 = getIpRestorePid(IptablesRestoreController::IP6TABLES_PROCESS); in TEST_F()173 EXPECT_EQ(pid4, getIpRestorePid(IptablesRestoreController::IPTABLES_PROCESS)); in TEST_F()174 EXPECT_EQ(pid6, getIpRestorePid(IptablesRestoreController::IP6TABLES_PROCESS)); in TEST_F()195 pid_t pid4 = getIpRestorePid(IptablesRestoreController::IPTABLES_PROCESS); in TEST_F()196 pid_t pid6 = getIpRestorePid(IptablesRestoreController::IP6TABLES_PROCESS); in TEST_F()208 EXPECT_NE(pid4, getIpRestorePid(IptablesRestoreController::IPTABLES_PROCESS)); in TEST_F()209 EXPECT_NE(pid6, getIpRestorePid(IptablesRestoreController::IP6TABLES_PROCESS)); in TEST_F()[all …]
37 class IptablesRestoreController final : public IptablesRestoreInterface {41 IptablesRestoreController();43 ~IptablesRestoreController() override;
56 IptablesRestoreController iptablesRestoreCtrl;
99 IptablesRestoreController.cpp \173 IptablesRestoreController.cpp IptablesRestoreControllerTest.cpp \