Lines Matching refs:csock
114 static int csock, dsock; variable
278 if ((ret = NgRecvMsg(csock, mesg, resbufsiz + 1, path)) < 0) { in csock_read()
323 return (NgSendMsg(csock, path, (int)cookie, (int)opcode, arg, arglen)); in ng_output()
384 if (setsockopt(csock, SOL_SOCKET, SO_RCVTIMEO, &tv, sizeof(tv)) == -1) in ng_dialog()
406 if (setsockopt(csock, SOL_SOCKET, SO_RCVTIMEO, &tv, sizeof(tv)) == -1) in ng_dialog()
614 return (NgSendMsg(csock, ".:", in ng_connect_node()
625 return (NgSendMsg(csock, ".:", in ng_connect_id()
641 return (NgSendMsg(csock, path, in ng_connect2_id()
661 return (NgSendMsg(csock, path, in ng_connect2_tee_id()
740 if (NgSendMsg(csock, path, NGM_GENERIC_COOKIE, NGM_MKPEER, in ng_mkpeer_id()
750 if (NgSendMsg(csock, path, NGM_GENERIC_COOKIE, NGM_NAME, in ng_mkpeer_id()
766 return (NgSendMsg(csock, path, NGM_GENERIC_COOKIE, in ng_shutdown_id()
779 return (NgSendMsg(csock, ".:", in ng_rmhook()
794 return (NgSendMsg(csock, path, in ng_rmhook_id()
911 if (NgMkSockNode(snmp_nodename, &csock, &dsock) < 0) { in ng_start()
918 if ((csock_fd = fd_select(csock, csock_input, NULL, module)) == NULL) { in ng_start()
946 (void)close(csock); in ng_fini()
1026 if (NgMkSockNode(snmp_nodename, &csock, &dsock) < 0) { in op_ng_config()
1064 close(csock); in op_ng_config()