Lines Matching defs:dsock
81 int csock, dsock;
153 if (NgMkSockNode(NULL, &csock, &dsock) < 0)
166 /* move dsock to fd 0 and 1 */
170 (void)dup2(dsock, 0);
171 (void)dup2(dsock, 1);
194 FD_SET(dsock, &rfds);
201 if (FD_ISSET(dsock, &rfds)) {
206 if ((rl = NgRecvData(dsock,
226 if (NgSendData(dsock, NG_SOCK_HOOK_NAME, buf, rl) < 0)
243 if (NgSendData(dsock, NG_SOCK_HOOK_NAME, buf, rl) < 0)