FreeBSD kernel netgraph code
ng_tcpmss.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_tcpmss_hookstat
 
struct  ng_tcpmss_config
 

Macros

#define NG_TCPMSS_NODE_TYPE   "tcpmss"
 
#define NGM_TCPMSS_COOKIE   1097623478
 
#define NG_TCPMSS_HOOKSTAT_INFO
 
#define NG_TCPMSS_CONFIG_INFO
 

Enumerations

enum  { NGM_TCPMSS_GET_STATS = 1 , NGM_TCPMSS_CLR_STATS , NGM_TCPMSS_GETCLR_STATS , NGM_TCPMSS_CONFIG }
 

Macro Definition Documentation

◆ NG_TCPMSS_CONFIG_INFO

#define NG_TCPMSS_CONFIG_INFO
Value:
{ \
{ "inHook", &ng_parse_hookbuf_type }, \
{ "outHook", &ng_parse_hookbuf_type }, \
{ "maxMSS", &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 68 of file ng_tcpmss.h.

◆ NG_TCPMSS_HOOKSTAT_INFO

#define NG_TCPMSS_HOOKSTAT_INFO
Value:
{ \
{ "Octets", &ng_parse_uint64_type }, \
{ "Packets", &ng_parse_uint64_type }, \
{ "maxMSS", &ng_parse_uint16_type }, \
{ "SYNPkts", &ng_parse_uint64_type }, \
{ "FixedPkts", &ng_parse_uint64_type }, \
{ NULL } \
}
const struct ng_parse_type ng_parse_uint64_type
Definition: ng_parse.c:703

Definition at line 51 of file ng_tcpmss.h.

◆ NG_TCPMSS_NODE_TYPE

#define NG_TCPMSS_NODE_TYPE   "tcpmss"

Definition at line 38 of file ng_tcpmss.h.

◆ NGM_TCPMSS_COOKIE

#define NGM_TCPMSS_COOKIE   1097623478

Definition at line 39 of file ng_tcpmss.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
NGM_TCPMSS_GET_STATS 
NGM_TCPMSS_CLR_STATS 
NGM_TCPMSS_GETCLR_STATS 
NGM_TCPMSS_CONFIG 

Definition at line 76 of file ng_tcpmss.h.