Lines Matching refs:daemon_socket
111 ret = send(ctx->mCablProp.daemon_socket, cmd, strlen(cmd), MSG_NOSIGNAL); in ppdComm()
116 close(ctx->mCablProp.daemon_socket); in ppdComm()
117 int daemon_socket = socket_local_client(DAEMON_SOCKET, in ppdComm() local
120 if(!daemon_socket) { in ppdComm()
129 if (setsockopt(daemon_socket, SOL_SOCKET, SO_SNDTIMEO, in ppdComm()
133 ctx->mCablProp.daemon_socket = daemon_socket; in ppdComm()
135 ret = send(ctx->mCablProp.daemon_socket, cmd, strlen(cmd), in ppdComm()
173 int daemon_socket = socket_local_client(DAEMON_SOCKET, in connectPPDaemon() local
176 if(!daemon_socket) { in connectPPDaemon()
185 if (setsockopt(daemon_socket, SOL_SOCKET, SO_SNDTIMEO, in connectPPDaemon()
189 ctx->mCablProp.daemon_socket = daemon_socket; in connectPPDaemon()