Lines Matching defs:node
122 node_p sc_node; /* back pointer to node */
187 /* Netgraph node type descriptor */
287 "Netgraph node type, error=%d\n",
342 /* create Netgraph node */
345 printf("%s: Could not create Netgraph node\n",
350 /* name node */
353 printf("%s: Could not name node\n",
375 /* destroy Netgraph node */
475 udbp_bulk_read_complete(node_p node, hook_p hook, void *arg1, int arg2)
477 struct udbp_softc *sc = NG_NODE_PRIVATE(node);
588 * If this is a device node so this work is done in the attach()
593 ng_udbp_constructor(node_p node)
610 ng_udbp_newhook(node_p node, hook_p hook, const char *name)
612 struct udbp_softc *sc = NG_NODE_PRIVATE(node);
644 ng_udbp_rcvmsg(node_p node, item_p item, hook_p lasthook)
646 struct udbp_softc *sc = NG_NODE_PRIVATE(node);
691 NG_RESPOND_MSG(error, node, item, resp);
752 ng_udbp_rmnode(node_p node)
754 struct udbp_softc *sc = NG_NODE_PRIVATE(node);
756 /* Let old node go */
757 NG_NODE_SET_PRIVATE(node, NULL);
758 NG_NODE_UNREF(node); /* forget it ever existed */
763 /* Create Netgraph node */
765 printf("%s: Could not create Netgraph node\n",
770 /* Name node */
772 printf("%s: Could not name Netgraph node\n",
788 * This is called once we've already connected a new hook to the other node.
818 * For this type, removal of the last link destroys the node