FreeBSD kernel netgraph code
ng_etf.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_etfstat
 
struct  ng_etffilter
 

Macros

#define NG_ETF_NODE_TYPE   "etf"
 
#define NGM_ETF_COOKIE   983084516
 
#define NG_ETF_HOOK_DOWNSTREAM   "downstream"
 
#define NG_ETF_HOOK_NOMATCH   "nomatch"
 
#define NG_ETF_STATS_TYPE_INFO
 
#define NG_ETF_FILTER_TYPE_INFO
 

Enumerations

enum  { NGM_ETF_SET_FLAG = 1 , NGM_ETF_GET_STATUS , NGM_ETF_SET_FILTER }
 

Macro Definition Documentation

◆ NG_ETF_FILTER_TYPE_INFO

#define NG_ETF_FILTER_TYPE_INFO
Value:
{ \
{ "matchhook", &ng_parse_hookbuf_type }, \
{ "ethertype", &ng_parse_uint16_type }, \
{ NULL } \
}
const struct ng_parse_type ng_parse_uint16_type
Definition: ng_parse.c:509
const struct ng_parse_type ng_parse_hookbuf_type
Definition: ng_parse.c:851

Definition at line 86 of file ng_etf.h.

◆ NG_ETF_HOOK_DOWNSTREAM

#define NG_ETF_HOOK_DOWNSTREAM   "downstream"

Definition at line 51 of file ng_etf.h.

◆ NG_ETF_HOOK_NOMATCH

#define NG_ETF_HOOK_NOMATCH   "nomatch"

Definition at line 52 of file ng_etf.h.

◆ NG_ETF_NODE_TYPE

#define NG_ETF_NODE_TYPE   "etf"

Definition at line 42 of file ng_etf.h.

◆ NG_ETF_STATS_TYPE_INFO

#define NG_ETF_STATS_TYPE_INFO
Value:
{ \
{ "packets_in", &ng_parse_uint32_type }, \
{ "packets_out", &ng_parse_uint32_type }, \
{ NULL } \
}
const struct ng_parse_type ng_parse_uint32_type
Definition: ng_parse.c:608

Definition at line 71 of file ng_etf.h.

◆ NGM_ETF_COOKIE

#define NGM_ETF_COOKIE   983084516

Definition at line 48 of file ng_etf.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
NGM_ETF_SET_FLAG 
NGM_ETF_GET_STATUS 
NGM_ETF_SET_FILTER 

Definition at line 55 of file ng_etf.h.