Lines Matching defs:node
45 * This node is also a system networking interface. It has
52 * This node also includes Berkeley packet filter support.
90 static MALLOC_DEFINE(M_NETGRAPH_IFACE, "netgraph_iface", "netgraph iface node");
115 node_p node; /* Our netgraph node */
523 * Constructor for a node
526 ng_iface_constructor(node_p node)
531 /* Allocate node and interface private structures */
548 /* Link together node and private info */
549 NG_NODE_SET_PRIVATE(node, priv);
550 priv->node = node;
567 /* Give this node the same name as the interface (if possible) */
568 if (ng_name_node(node, ifp->if_xname) != 0)
584 ng_iface_newhook(node_p node, hook_p hook, const char *name)
587 const priv_p priv = NG_NODE_PRIVATE(node);
609 ng_iface_rcvmsg(node_p node, item_p item, hook_p lasthook)
611 const priv_p priv = NG_NODE_PRIVATE(node);
682 NG_RESPOND_MSG(error, node, item, resp);
742 * Shutdown and remove the node and its associated interface.
745 ng_iface_shutdown(node_p node)
747 const priv_p priv = NG_NODE_PRIVATE(node);
750 * The ifnet may be in a different vnet than the netgraph node,
762 NG_NODE_SET_PRIVATE(node, NULL);
763 NG_NODE_UNREF(node);
786 * Handle loading and unloading for this node type.