Lines Matching refs:IptablesProcess
41 class IptablesProcess { class
43 IptablesProcess(pid_t pid, int stdIn, int stdOut, int stdErr) : in IptablesProcess() function in IptablesProcess
52 ~IptablesProcess() { in ~IptablesProcess()
124 IptablesProcess* IptablesRestoreController::forkAndExec(const IptablesProcessType type) { in forkAndExec()
197 return new IptablesProcess(child_pid, stdin_pipe[1], stdout_pipe[0], stderr_pipe[0]); in forkAndExec()
206 std::unique_ptr<IptablesProcess> *process = in sendCommand()
217 IptablesProcess *existingProcess = process->get(); 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()
304 if (i == IptablesProcess::STDOUT_IDX) { in drainAndWaitForAck()