Home
last modified time | relevance | path

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

/system/netd/server/
DIptablesRestoreController.cpp55 pollFds[STDOUT_IDX] = { .fd = stdOut, .events = POLLIN }; in IptablesProcess()
56 pollFds[STDERR_IDX] = { .fd = stdErr, .events = POLLIN }; in IptablesProcess()
61 close(pollFds[STDOUT_IDX].fd); in ~IptablesProcess()
62 close(pollFds[STDERR_IDX].fd); in ~IptablesProcess()
92 struct pollfd pollFds[2]; member in IptablesProcess
261 poll(process->pollFds, ARRAY_SIZE(process->pollFds), POLL_TIMEOUT_MS)); in drainAndWaitForAck()
275 for (size_t i = 0; i < ARRAY_SIZE(process->pollFds); ++i) { in drainAndWaitForAck()
276 const struct pollfd &pollfd = process->pollFds[i]; in drainAndWaitForAck()