FreeBSD kernel netgraph code
ng_hole.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ng_hole_hookstat
 

Macros

#define NG_HOLE_NODE_TYPE   "hole"
 
#define NGM_HOLE_COOKIE   915433206
 
#define NG_HOLE_HOOKSTAT_TYPE_INFO
 

Enumerations

enum  { NGM_HOLE_GET_STATS = 1 , NGM_HOLE_CLR_STATS , NGM_HOLE_GETCLR_STATS }
 

Macro Definition Documentation

◆ NG_HOLE_HOOKSTAT_TYPE_INFO

#define NG_HOLE_HOOKSTAT_TYPE_INFO
Value:
{ \
{ "frames", &ng_parse_uint64_type }, \
{ "octets", &ng_parse_uint64_type }, \
{ NULL } \
}
const struct ng_parse_type ng_parse_uint64_type
Definition: ng_parse.c:703

Definition at line 58 of file ng_hole.h.

◆ NG_HOLE_NODE_TYPE

#define NG_HOLE_NODE_TYPE   "hole"

Definition at line 48 of file ng_hole.h.

◆ NGM_HOLE_COOKIE

#define NGM_HOLE_COOKIE   915433206

Definition at line 49 of file ng_hole.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
NGM_HOLE_GET_STATS 
NGM_HOLE_CLR_STATS 
NGM_HOLE_GETCLR_STATS 

Definition at line 65 of file ng_hole.h.