FreeBSD kernel netgraph code
ng_item Struct Reference

#include <netgraph.h>

Collaboration diagram for ng_item:

Public Member Functions

 STAILQ_ENTRY (ng_item) el_next
 

Data Fields

u_long el_flags
 
node_p el_dest
 
hook_p el_hook
 
union {
   struct mbuf *   da_m
 
   struct {
      struct ng_mesg *   msg_msg
 
      ng_ID_t   msg_retaddr
 
   }   msg
 
   struct {
      union {
         ng_item_fn *   fn_fn
 
         ng_item_fn2 *   fn_fn2
 
      }   fn_fn
 
      void *   fn_arg1
 
      int   fn_arg2
 
   }   fn
 
body
 
struct ng_apply_infoapply
 
u_int depth
 

Detailed Description

Definition at line 635 of file netgraph.h.

Member Function Documentation

◆ STAILQ_ENTRY()

ng_item::STAILQ_ENTRY ( ng_item  )

Field Documentation

◆ apply

struct ng_apply_info* ng_item::apply

Definition at line 659 of file netgraph.h.

Referenced by ng_apply_item(), ng_flush_input_queue(), ng_send_fn2(), ng_snd_item(), and ngc_send().

◆ 

union { ... } ng_item::body

◆ da_m

struct mbuf* ng_item::da_m

Definition at line 641 of file netgraph.h.

◆ depth

u_int ng_item::depth

Definition at line 660 of file netgraph.h.

Referenced by ng_apply_item(), ng_flush_input_queue(), ng_queue_rw(), and ng_snd_item().

◆ el_dest

node_p ng_item::el_dest

Definition at line 638 of file netgraph.h.

Referenced by ng_connect_data(), and ngc_send().

◆ el_flags

◆ el_hook

hook_p ng_item::el_hook

Definition at line 639 of file netgraph.h.

◆ 

struct { ... } ng_item::fn

◆ fn_arg1

void* ng_item::fn_arg1

Definition at line 651 of file netgraph.h.

◆ fn_arg2

int ng_item::fn_arg2

Definition at line 652 of file netgraph.h.

◆ fn_fn [1/2]

ng_item_fn* ng_item::fn_fn

Definition at line 648 of file netgraph.h.

◆  [2/2]

union { ... } ng_item::fn_fn

◆ fn_fn2

ng_item_fn2* ng_item::fn_fn2

Definition at line 649 of file netgraph.h.

◆ 

struct { ... } ng_item::msg

◆ msg_msg

struct ng_mesg* ng_item::msg_msg

Definition at line 643 of file netgraph.h.

◆ msg_retaddr

ng_ID_t ng_item::msg_retaddr

Definition at line 644 of file netgraph.h.


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