Searched refs:ctrl_sock (Results 1 – 1 of 1) sorted by relevance
186 static struct sock_event_handler_info ctrl_sock; variable966 data_sock[free_dscock_idx].sock = accept(ctrl_sock.sock, NULL, NULL); in ctrl_connect_handler()1887 ctrl_sock.sock = android_get_control_socket("lmkd"); in init()1888 if (ctrl_sock.sock < 0) { in init()1893 ret = listen(ctrl_sock.sock, MAX_DATA_CONN); in init()1900 ctrl_sock.handler_info.handler = ctrl_connect_handler; in init()1901 epev.data.ptr = (void *)&(ctrl_sock.handler_info); in init()1902 if (epoll_ctl(epollfd, EPOLL_CTL_ADD, ctrl_sock.sock, &epev) == -1) { in init()