Home
last modified time | relevance | path

Searched refs:IptablesProcess (Results 1 – 2 of 2) sorted by relevance

/system/netd/server/
DIptablesRestoreController.h26 class IptablesProcess; variable
74 static IptablesProcess* forkAndExec(const IptablesProcessType type);
79 static bool drainAndWaitForAck(const std::unique_ptr<IptablesProcess> &process,
83 static void maybeLogStderr(const std::unique_ptr<IptablesProcess> &process,
89 std::unique_ptr<IptablesProcess> mIpRestore;
90 std::unique_ptr<IptablesProcess> mIp6Restore;
DIptablesRestoreController.cpp45 class IptablesProcess { class
47 IptablesProcess(pid_t pid, int stdIn, int stdOut, int stdErr) : in IptablesProcess() function in IptablesProcess
56 ~IptablesProcess() { in ~IptablesProcess()
136 IptablesProcess* IptablesRestoreController::forkAndExec(const IptablesProcessType type) { in forkAndExec()
200 return new IptablesProcess(child_pid.value(), stdin_pipe[1], stdout_pipe[0], stderr_pipe[0]); in forkAndExec()
209 std::unique_ptr<IptablesProcess> *process = in sendCommand()
220 IptablesProcess *existingProcess = process->get(); 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 …]