FreeBSD kernel netgraph code
ng_hook Struct Reference

#include <netgraph.h>

Collaboration diagram for ng_hook:

Public Member Functions

 LIST_ENTRY (ng_hook) hk_hooks
 

Data Fields

char hk_name [NG_HOOKSIZ]
 
void * hk_private
 
int hk_flags
 
int hk_type
 
struct ng_hookhk_peer
 
struct ng_nodehk_node
 
ng_rcvmsg_thk_rcvmsg
 
ng_rcvdata_thk_rcvdata
 
int hk_refs
 

Detailed Description

Definition at line 116 of file netgraph.h.

Member Function Documentation

◆ LIST_ENTRY()

ng_hook::LIST_ENTRY ( ng_hook  )

Field Documentation

◆ hk_flags

int ng_hook::hk_flags

◆ hk_name

char ng_hook::hk_name[NG_HOOKSIZ]

◆ hk_node

struct ng_node* ng_hook::hk_node

Definition at line 122 of file netgraph.h.

Referenced by ng_add_hook(), ng_bypass(), ng_con_nodes(), ng_con_part2(), ng_con_part3(), and ng_mkpeer().

◆ hk_peer

struct ng_hook* ng_hook::hk_peer

◆ hk_private

void* ng_hook::hk_private

Definition at line 118 of file netgraph.h.

◆ hk_rcvdata

ng_rcvdata_t* ng_hook::hk_rcvdata

Definition at line 125 of file netgraph.h.

Referenced by ng_apply_item().

◆ hk_rcvmsg

ng_rcvmsg_t* ng_hook::hk_rcvmsg

Definition at line 124 of file netgraph.h.

◆ hk_refs

int ng_hook::hk_refs

Definition at line 126 of file netgraph.h.

Referenced by ng_add_hook(), ng_con_nodes(), and ng_unref_hook().

◆ hk_type

int ng_hook::hk_type

Definition at line 120 of file netgraph.h.


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