Home
last modified time | relevance | path

Searched refs:IPTABLES_PROCESS (Results 1 – 3 of 3) sorted by relevance

/system/netd/server/
DIptablesRestoreController.cpp131 mIpRestore.reset(forkAndExec(IPTABLES_PROCESS)); in Init()
137 const char* const cmd = (type == IPTABLES_PROCESS) ? in forkAndExec()
210 (type == IPTABLES_PROCESS) ? &mIpRestore : &mIp6Restore; in sendCommand()
361 res |= sendCommand(IPTABLES_PROCESS, command, output); in execute()
370 return type == IPTABLES_PROCESS ? mIpRestore->pid : mIp6Restore->pid; in getIpRestorePid()
DIptablesRestoreControllerTest.cpp164 pid_t pid4 = getIpRestorePid(IptablesRestoreController::IPTABLES_PROCESS); in TEST_F()
175 EXPECT_EQ(pid4, getIpRestorePid(IptablesRestoreController::IPTABLES_PROCESS)); in TEST_F()
197 pid_t pid4 = getIpRestorePid(IptablesRestoreController::IPTABLES_PROCESS); in TEST_F()
210 EXPECT_NE(pid4, getIpRestorePid(IptablesRestoreController::IPTABLES_PROCESS)); in TEST_F()
290 EXPECT_NE(0, getIpRestorePid(IptablesRestoreController::IPTABLES_PROCESS)); in TEST_F()
DIptablesRestoreController.h49 IPTABLES_PROCESS, enumerator