Home
last modified time | relevance | path

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

/device/generic/goldfish/wifi/wifi_hal/
Dnetlink.cpp43 mControlPipe[kControlRead] = -1; in Netlink()
44 mControlPipe[kControlWrite] = -1; in Netlink()
49 closeIfOpen(&mControlPipe[kControlRead]); in ~Netlink()
50 closeIfOpen(&mControlPipe[kControlWrite]); in ~Netlink()
59 int status = ::pipe2(mControlPipe, O_CLOEXEC); in init()
94 ::write(mControlPipe[kControlWrite], &stop, sizeof(stop)); in stop()
102 fds[1].fd = mControlPipe[kControlRead]; in eventLoop()
124 } else if (fd.fd == mControlPipe[kControlRead]) { in eventLoop()
232 int bytesReceived = ::recv(mControlPipe[kControlRead], in readControlMessage()
Dnetlink.h53 int mControlPipe[2]; variable