FreeBSD kernel netgraph code
ng_node Struct Reference

#include <netgraph.h>

Collaboration diagram for ng_node:

Public Member Functions

 LIST_HEAD (hooks, ng_hook) nd_hooks
 
 LIST_ENTRY (ng_node) nd_nodes
 
 LIST_ENTRY (ng_node) nd_idnodes
 

Data Fields

char nd_name [NG_NODESIZ]
 
struct ng_typend_type
 
int nd_flags
 
int nd_numhooks
 
void * nd_private
 
ng_ID_t nd_ID
 
struct ng_queue nd_input_queue
 
int nd_refs
 
struct vnet * nd_vnet
 

Detailed Description

Definition at line 365 of file netgraph.h.

Member Function Documentation

◆ LIST_ENTRY() [1/2]

ng_node::LIST_ENTRY ( ng_node  )

◆ LIST_ENTRY() [2/2]

ng_node::LIST_ENTRY ( ng_node  )

◆ LIST_HEAD()

ng_node::LIST_HEAD ( hooks  ,
ng_hook   
)

Field Documentation

◆ nd_flags

◆ nd_ID

◆ nd_input_queue

◆ nd_name

char ng_node::nd_name[NG_NODESIZ]

Definition at line 366 of file netgraph.h.

◆ nd_numhooks

int ng_node::nd_numhooks

◆ nd_private

void* ng_node::nd_private

Definition at line 370 of file netgraph.h.

◆ nd_refs

int ng_node::nd_refs

Definition at line 376 of file netgraph.h.

Referenced by ng_unref_node().

◆ nd_type

◆ nd_vnet

struct vnet* ng_node::nd_vnet

The documentation for this struct was generated from the following file: