FreeBSD kernel netgraph code
ng_pred1.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_pred1_config
 
struct  ng_pred1_stats
 

Macros

#define NG_PRED1_NODE_TYPE   "pred1"
 
#define NGM_PRED1_COOKIE   1166902612
 
#define NG_PRED1_HOOK_COMP   "comp" /* compression hook */
 
#define NG_PRED1_HOOK_DECOMP   "decomp" /* decompression hook */
 
#define NG_PRED1_CONFIG_INFO
 
#define NG_PRED1_STATS_INFO
 

Enumerations

enum  {
  NGM_PRED1_CONFIG = 1 , NGM_PRED1_RESETREQ , NGM_PRED1_GET_STATS , NGM_PRED1_CLR_STATS ,
  NGM_PRED1_GETCLR_STATS
}
 

Macro Definition Documentation

◆ NG_PRED1_CONFIG_INFO

#define NG_PRED1_CONFIG_INFO
Value:
{ \
{ "enable", &ng_parse_uint8_type }, \
{ NULL } \
}
const struct ng_parse_type ng_parse_uint8_type
Definition: ng_parse.c:413

Definition at line 49 of file ng_pred1.h.

◆ NG_PRED1_HOOK_COMP

#define NG_PRED1_HOOK_COMP   "comp" /* compression hook */

Definition at line 40 of file ng_pred1.h.

◆ NG_PRED1_HOOK_DECOMP

#define NG_PRED1_HOOK_DECOMP   "decomp" /* decompression hook */

Definition at line 41 of file ng_pred1.h.

◆ NG_PRED1_NODE_TYPE

#define NG_PRED1_NODE_TYPE   "pred1"

Definition at line 36 of file ng_pred1.h.

◆ NG_PRED1_STATS_INFO

#define NG_PRED1_STATS_INFO
Value:
{ \
{ "FramesPlain",&ng_parse_uint64_type }, \
{ "FramesComp", &ng_parse_uint64_type }, \
{ "FramesUncomp", &ng_parse_uint64_type }, \
{ "InOctets", &ng_parse_uint64_type }, \
{ "OutOctets", &ng_parse_uint64_type }, \
{ "Errors", &ng_parse_uint64_type }, \
{ NULL } \
}
const struct ng_parse_type ng_parse_uint64_type
Definition: ng_parse.c:703

Definition at line 65 of file ng_pred1.h.

◆ NGM_PRED1_COOKIE

#define NGM_PRED1_COOKIE   1166902612

Definition at line 37 of file ng_pred1.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
NGM_PRED1_CONFIG 
NGM_PRED1_RESETREQ 
NGM_PRED1_GET_STATS 
NGM_PRED1_CLR_STATS 
NGM_PRED1_GETCLR_STATS 

Definition at line 76 of file ng_pred1.h.