Lines Matching defs:node
45 * This node type implements a PPP style sync <-> async converter.
64 static MALLOC_DEFINE(M_NETGRAPH_ASYNC, "netgraph_async", "netgraph async node");
77 node_p node; /* Our node */
157 /* Define the netgraph node type */
179 * Initialize a new node
182 nga_constructor(node_p node)
195 NG_NODE_SET_PRIVATE(node, sc);
196 sc->node = node;
204 nga_newhook(node_p node, hook_p hook, const char *name)
206 const sc_p sc = NG_NODE_PRIVATE(node);
223 * we might as well set it for the whole node
256 nga_rcvmsg(node_p node, item_p item, hook_p lasthook)
258 const sc_p sc = NG_NODE_PRIVATE(node);
329 NG_RESPOND_MSG(error, node, item, resp);
335 * Shutdown this node
338 nga_shutdown(node_p node)
340 const sc_p sc = NG_NODE_PRIVATE(node);
346 NG_NODE_SET_PRIVATE(node, NULL);
347 NG_NODE_UNREF(node);