Searched refs:kControlServer (Results 1 – 2 of 2) sorted by relevance
43 static const size_t kControlServer = 0; variable87 mControlSocket[kControlServer] = -1; in InterfaceMonitor()96 if (mControlSocket[kControlServer] != -1) { in ~InterfaceMonitor()97 ::close(mControlSocket[kControlServer]); in ~InterfaceMonitor()98 mControlSocket[kControlServer] = -1; in ~InterfaceMonitor()223 fds[0].fd = mControlSocket[kControlServer]; in run()244 if (::read(mControlSocket[kControlServer], in run()255 ::write(mControlSocket[kControlServer], kMonitorAckCommand, 1); in run()
44 static constexpr size_t kControlServer = 1; variable299 fds[0].fd = mControlSocket[kControlServer]; in run()340 if (::read(mControlSocket[kControlServer], in run()351 ::write(mControlSocket[kControlServer], &kMonitorAckCommand, 1); in run()