NGM_GENERIC_COOKIE
if (NgSendMsg(csock, path, NGM_GENERIC_COOKIE,
if (NgSendMsg(cs, path, NGM_GENERIC_COOKIE, NGM_ASCII2BINARY,
if (NgSendMsg(cs, path, NGM_GENERIC_COOKIE,
if (NgSendMsg(cs, ".", NGM_GENERIC_COOKIE,
NGM_GENERIC_COOKIE, NGM_NAME, &ngn, sizeof(ngn)) < 0) {
if (NgSendMsg(cs, epath, NGM_GENERIC_COOKIE, NGM_LISTHOOKS, NULL, 0) < 0) {
if (NgSendMsg(cs, epath, NGM_GENERIC_COOKIE,
if (NgSendMsg(cs, ".:", NGM_GENERIC_COOKIE,
if (NgSendMsg(cs, ".:", NGM_GENERIC_COOKIE,
ptag = (void *)m_tag_locate(m, NGM_GENERIC_COOKIE,
case NGM_GENERIC_COOKIE:
case NGM_GENERIC_COOKIE:
case NGM_GENERIC_COOKIE:
NG_MKMESSAGE(msg, NGM_GENERIC_COOKIE, NGM_LISTNAMES,
msg->header.typecookie == NGM_GENERIC_COOKIE) &&
if ((NGI_MSG(item)->header.typecookie == NGM_GENERIC_COOKIE) &&
if (msg->header.typecookie != NGM_GENERIC_COOKIE) {
NGM_GENERIC_COOKIE,
NGM_GENERIC_COOKIE,
NGM_GENERIC_COOKIE,
NGM_GENERIC_COOKIE,
NGM_GENERIC_COOKIE,
NGM_GENERIC_COOKIE,
NGM_GENERIC_COOKIE,
NGM_GENERIC_COOKIE,
NGM_GENERIC_COOKIE,
NGM_GENERIC_COOKIE,
NGM_GENERIC_COOKIE,
NGM_GENERIC_COOKIE,
NGM_GENERIC_COOKIE,
NGM_GENERIC_COOKIE,
case NGM_GENERIC_COOKIE:
ptag = (struct ng_tag_prio *)m_tag_alloc(NGM_GENERIC_COOKIE, NG_TAG_PRIO,
case NGM_GENERIC_COOKIE:
if (msg->header.typecookie == NGM_GENERIC_COOKIE &&
ATF_REQUIRE(NgSendMsg(cs, ".", NGM_GENERIC_COOKIE, NGM_MKPEER, &mkp,
ATF_REQUIRE(NgSendMsg(cs, ".", NGM_GENERIC_COOKIE, NGM_MKPEER, &mkp,
ATF_REQUIRE(NgSendMsg(cs, ".", NGM_GENERIC_COOKIE, NGM_MKPEER, &mkp,
ATF_REQUIRE(NgSendMsg(cs, ".", NGM_GENERIC_COOKIE, NGM_MKPEER, &mkp,
NGM_GENERIC_COOKIE, NGM_RMHOOK,
NGM_GENERIC_COOKIE, NGM_NAME,
NGM_GENERIC_COOKIE, NGM_SHUTDOWN,
NGM_GENERIC_COOKIE, NGM_CONNECT,
NGM_GENERIC_COOKIE, NGM_MKPEER,
NGM_GENERIC_COOKIE, NGM_NODEINFO, NULL, 0) < 0)
NGM_GENERIC_COOKIE,
if ((resp = ng_dialog_id(snmp_node, NGM_GENERIC_COOKIE,
if ((resp = ng_dialog_id(id, NGM_GENERIC_COOKIE, NGM_NODEINFO,
if ((resp = ng_dialog_id(snmp_node, NGM_GENERIC_COOKIE, NGM_LISTNODES,
if ((resp = ng_dialog_id(id, NGM_GENERIC_COOKIE,
if ((resp = ng_dialog_id(snmp_node, NGM_GENERIC_COOKIE, NGM_LISTNODES,
NGM_GENERIC_COOKIE, NGM_LISTHOOKS, NULL, 0)) == NULL) {
NGM_GENERIC_COOKIE, NGM_LISTHOOKS, NULL, 0)) == NULL)
if ((resp = ng_dialog(path, NGM_GENERIC_COOKIE, NGM_NODEINFO,
if ((resp = ng_dialog_node(node, NGM_GENERIC_COOKIE, NGM_NODEINFO,
if ((resp = ng_dialog_id(id, NGM_GENERIC_COOKIE, NGM_NODEINFO,
if ((resp = ng_dialog_id(id, NGM_GENERIC_COOKIE, NGM_NODEINFO,
NGM_GENERIC_COOKIE, NGM_CONNECT, &conn, sizeof(conn)));
NGM_GENERIC_COOKIE, NGM_CONNECT, &conn, sizeof(conn)));
NGM_GENERIC_COOKIE, NGM_CONNECT, &conn, sizeof(conn)));
NGM_GENERIC_COOKIE, NGM_CONNECT, &conn, sizeof(conn)));
if ((resp = ng_dialog_id(node, NGM_GENERIC_COOKIE, NGM_LISTHOOKS,
if (NgSendMsg(csock, path, NGM_GENERIC_COOKIE, NGM_MKPEER,
if (NgSendMsg(csock, path, NGM_GENERIC_COOKIE, NGM_NAME,
return (NgSendMsg(csock, path, NGM_GENERIC_COOKIE,
NGM_GENERIC_COOKIE, NGM_RMHOOK, &rmhook, sizeof(rmhook)));
NGM_GENERIC_COOKIE, NGM_RMHOOK, &rmhook, sizeof(rmhook)));
if ((resp = ng_dialog_id(node, NGM_GENERIC_COOKIE, NGM_LISTHOOKS,
if ((resp = ng_dialog_id(node, NGM_GENERIC_COOKIE, NGM_LISTHOOKS,
i = NgSendMsg(csock, path, NGM_GENERIC_COOKIE,
i = NgSendMsg(csock, path, NGM_GENERIC_COOKIE,
if (NgSendMsg(csock, path, NGM_GENERIC_COOKIE,
if (NgSendMsg(csock, ".", NGM_GENERIC_COOKIE, NGM_LISTNODES, NULL,
if (NgSendMsg(csock, path, NGM_GENERIC_COOKIE, NGM_LISTHOOKS,
if (NgSendMsg(csock, ".", NGM_GENERIC_COOKIE,
if (NgSendMsg(csock, path, NGM_GENERIC_COOKIE,
if (NgSendMsg(csock, path, NGM_GENERIC_COOKIE,
if (NgSendMsg(csock, path, NGM_GENERIC_COOKIE,
if (NgSendMsg(csock, path, NGM_GENERIC_COOKIE,
if (NgSendMsg(csock, path, NGM_GENERIC_COOKIE,
if (NgSendMsg(csock, path, NGM_GENERIC_COOKIE,
if (NgSendMsg(csock, path, NGM_GENERIC_COOKIE,
if (NgSendMsg(csock, ".", NGM_GENERIC_COOKIE,
NGM_GENERIC_COOKIE, NGM_CONNECT, &ngc, sizeof(ngc)) < 0)
if (NgSendMsg(dev->cs, path, NGM_GENERIC_COOKIE, NGM_LISTHOOKS,
if (NgSendMsg(dev->cs, etherid, NGM_GENERIC_COOKIE,
if (NgSendMsg(dev->cs, ".:", NGM_GENERIC_COOKIE,
if (NgSendMsg(dev->cs, path, NGM_GENERIC_COOKIE, NGM_LISTHOOKS,
if (NgSendMsg(dev->cs, path, NGM_GENERIC_COOKIE,
if (NgSendMsg(dev->cs, path, NGM_GENERIC_COOKIE, NGM_LISTHOOKS,
if (NgSendMsg(dev->cs, ".:", NGM_GENERIC_COOKIE,
if (NgSendMsg(cs, ttypath, NGM_GENERIC_COOKIE,
if (NgSendMsg(cs, ".:", NGM_GENERIC_COOKIE, NGM_CONNECT,
if (NgSendMsg(cs, ngc.path, NGM_GENERIC_COOKIE, NGM_NODEINFO, NULL, 0) < 0) {