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
66 static IptablesProcess* forkAndExec(const IptablesProcessType type);
71 static bool drainAndWaitForAck(const std::unique_ptr<IptablesProcess> &process,
75 static void maybeLogStderr(const std::unique_ptr<IptablesProcess> &process,
81 std::unique_ptr<IptablesProcess> mIpRestore;
82 std::unique_ptr<IptablesProcess> mIp6Restore;
DIptablesRestoreController.cpp41 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()
[all …]