Home
last modified time | relevance | path

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

/system/netd/server/
DIptablesRestoreController.cpp52 pollFds[STDOUT_IDX] = { .fd = stdOut, .events = POLLIN }; in IptablesProcess()
53 pollFds[STDERR_IDX] = { .fd = stdErr, .events = POLLIN }; in IptablesProcess()
58 close(pollFds[STDOUT_IDX].fd); in ~IptablesProcess()
59 close(pollFds[STDERR_IDX].fd); in ~IptablesProcess()
110 struct pollfd pollFds[2]; member in IptablesProcess
278 poll(process->pollFds, ARRAY_SIZE(process->pollFds), POLL_TIMEOUT_MS)); in drainAndWaitForAck()
292 for (size_t i = 0; i < ARRAY_SIZE(process->pollFds); ++i) { in drainAndWaitForAck()
293 const struct pollfd &pollfd = process->pollFds[i]; in drainAndWaitForAck()