FreeBSD kernel netgraph code
ng_type Struct Reference

#include <netgraph.h>

Collaboration diagram for ng_type:

Public Member Functions

 LIST_ENTRY (ng_type) types
 

Data Fields

u_int32_t version
 
const char * name
 
modeventhand_t mod_event
 
ng_constructor_tconstructor
 
ng_rcvmsg_trcvmsg
 
ng_close_tclose
 
ng_shutdown_tshutdown
 
ng_newhook_tnewhook
 
ng_findhook_tfindhook
 
ng_connect_tconnect
 
ng_rcvdata_trcvdata
 
ng_disconnect_tdisconnect
 
const struct ng_cmdlistcmdlist
 
int refs
 

Detailed Description

Definition at line 1076 of file netgraph.h.

Member Function Documentation

◆ LIST_ENTRY()

ng_type::LIST_ENTRY ( ng_type  )

Field Documentation

◆ close

ng_close_t* ng_type::close

Definition at line 1082 of file netgraph.h.

Referenced by ng_rmnode().

◆ cmdlist

const struct ng_cmdlist* ng_type::cmdlist

Definition at line 1090 of file netgraph.h.

Referenced by ng_generic_msg().

◆ connect

ng_connect_t* ng_type::connect

Definition at line 1086 of file netgraph.h.

Referenced by ng_con_part2(), ng_con_part3(), and ng_mkpeer().

◆ constructor

ng_constructor_t* ng_type::constructor

Definition at line 1080 of file netgraph.h.

◆ disconnect

ng_disconnect_t* ng_type::disconnect

Definition at line 1088 of file netgraph.h.

Referenced by ng_destroy_hook().

◆ findhook

ng_findhook_t* ng_type::findhook

Definition at line 1085 of file netgraph.h.

Referenced by ng_findhook().

◆ mod_event

modeventhand_t ng_type::mod_event

Definition at line 1079 of file netgraph.h.

◆ name

const char* ng_type::name

Definition at line 1078 of file netgraph.h.

Referenced by ng_connect_data(), ng_generic_msg(), ng_newtype(), and ngc_send().

◆ newhook

ng_newhook_t* ng_type::newhook

Definition at line 1084 of file netgraph.h.

Referenced by ng_add_hook(), and ng_con_part2().

◆ rcvdata

ng_rcvdata_t* ng_type::rcvdata

Definition at line 1087 of file netgraph.h.

◆ rcvmsg

ng_rcvmsg_t* ng_type::rcvmsg

Definition at line 1081 of file netgraph.h.

Referenced by ng_apply_item(), and ng_generic_msg().

◆ refs

int ng_type::refs

Definition at line 1094 of file netgraph.h.

Referenced by ng_newtype(), ng_rmtype(), and ng_unref_node().

◆ shutdown

ng_shutdown_t* ng_type::shutdown

Definition at line 1083 of file netgraph.h.

Referenced by ng_rmnode().

◆ version

u_int32_t ng_type::version

Definition at line 1077 of file netgraph.h.

Referenced by ng_newtype().


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