Home
last modified time | relevance | path

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

/system/netd/server/
DIptablesRestoreController.cpp48 pollFds[STDOUT_IDX] = { .fd = stdOut, .events = POLLIN }; in IptablesProcess()
49 pollFds[STDERR_IDX] = { .fd = stdErr, .events = POLLIN }; in IptablesProcess()
54 close(pollFds[STDOUT_IDX].fd); in ~IptablesProcess()
55 close(pollFds[STDERR_IDX].fd); in ~IptablesProcess()
106 struct pollfd pollFds[2]; member in IptablesProcess
276 poll(process->pollFds, ARRAY_SIZE(process->pollFds), POLL_TIMEOUT_MS)); in drainAndWaitForAck()
290 for (size_t i = 0; i < ARRAY_SIZE(process->pollFds); ++i) { in drainAndWaitForAck()
291 const struct pollfd &pollfd = process->pollFds[i]; in drainAndWaitForAck()