ng_node
#define IFP2NG(ifp) ((struct ng_node *)((struct arpcom *)(ifp))->ac_netgraph)
struct ng_node *node;
LIST_ENTRY(ng_node) nodes; /* linked list of all nodes */
LIST_ENTRY(ng_node) idnodes; /* ID hash collision list */
typedef struct ng_node *node_p;
struct ng_node *node; /* The node this hook is attached to */
static LIST_HEAD(, ng_node) nodelist;
static LIST_HEAD(, ng_node) ID_hash[ID_HASH_SIZE];
struct ng_node *node; /* the associated netgraph node */
struct ng_node *hk_node; /* The node this hook is attached to */
LIST_ENTRY(ng_node) nd_nodes; /* name hash collision list */
LIST_ENTRY(ng_node) nd_idnodes; /* ID hash collision list */
SLIST_ENTRY(ng_node) nd_all; /* all existing nodes */
struct ng_node ;
typedef struct ng_node *node_p;
struct ng_node ng_deadnode = {
LIST_HEAD(nodehash, ng_node);
SLIST_ENTRY(ng_node) temp;
bzero(node, sizeof(struct ng_node));
static SLIST_HEAD(, ng_node) ng_allnodes;
static LIST_HEAD(, ng_node) ng_freenodes; /* in debug, we never free() them */
struct ng_node *node;
struct ng_node *node;
#define IFP2NG(ifp) ((struct ng_node *)((struct gif_softc *)(ifp->if_softc))->gif_netgraph)
struct ng_node *node; /* the associated netgraph node */