FreeBSD kernel netgraph code
ng_pptpgre.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_pptpgre_conf
 
struct  ng_pptpgre_stats
 

Macros

#define NG_PPTPGRE_NODE_TYPE   "pptpgre"
 
#define NGM_PPTPGRE_COOKIE   1082548365
 
#define NG_PPTPGRE_HOOK_UPPER   "upper" /* to upper layers */
 
#define NG_PPTPGRE_HOOK_LOWER   "lower" /* to lower layers */
 
#define NG_PPTPGRE_HOOK_SESSION_P   "session_"
 
#define NG_PPTPGRE_HOOK_SESSION_F   "session_%04x"
 
#define NG_PPTPGRE_CONF_TYPE_INFO
 
#define NG_PPTPGRE_STATS_TYPE_INFO
 

Enumerations

enum  {
  NGM_PPTPGRE_SET_CONFIG = 1 , NGM_PPTPGRE_GET_CONFIG , NGM_PPTPGRE_GET_STATS , NGM_PPTPGRE_CLR_STATS ,
  NGM_PPTPGRE_GETCLR_STATS
}
 

Macro Definition Documentation

◆ NG_PPTPGRE_CONF_TYPE_INFO

#define NG_PPTPGRE_CONF_TYPE_INFO
Value:
{ \
{ "enabled", &ng_parse_uint8_type }, \
{ "enableDelayedAck", &ng_parse_uint8_type }, \
{ "enableAlwaysAck", &ng_parse_uint8_type }, \
{ "enableWindowing", &ng_parse_uint8_type }, \
{ "cid", &ng_parse_hint16_type }, \
{ "peerCid", &ng_parse_hint16_type }, \
{ "recvWin", &ng_parse_uint16_type }, \
{ "peerPpd", &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_uint8_type
Definition: ng_parse.c:413
const struct ng_parse_type ng_parse_hint16_type
Definition: ng_parse.c:514

Definition at line 73 of file ng_pptpgre.h.

◆ NG_PPTPGRE_HOOK_LOWER

#define NG_PPTPGRE_HOOK_LOWER   "lower" /* to lower layers */

Definition at line 53 of file ng_pptpgre.h.

◆ NG_PPTPGRE_HOOK_SESSION_F

#define NG_PPTPGRE_HOOK_SESSION_F   "session_%04x"

Definition at line 57 of file ng_pptpgre.h.

◆ NG_PPTPGRE_HOOK_SESSION_P

#define NG_PPTPGRE_HOOK_SESSION_P   "session_"

Definition at line 56 of file ng_pptpgre.h.

◆ NG_PPTPGRE_HOOK_UPPER

#define NG_PPTPGRE_HOOK_UPPER   "upper" /* to upper layers */

Definition at line 52 of file ng_pptpgre.h.

◆ NG_PPTPGRE_NODE_TYPE

#define NG_PPTPGRE_NODE_TYPE   "pptpgre"

Definition at line 48 of file ng_pptpgre.h.

◆ NG_PPTPGRE_STATS_TYPE_INFO

#define NG_PPTPGRE_STATS_TYPE_INFO
Value:
{ \
{ "xmitPackets", &ng_parse_uint32_type }, \
{ "xmitOctets", &ng_parse_uint32_type }, \
{ "xmitLoneAcks", &ng_parse_uint32_type }, \
{ "xmitDrops", &ng_parse_uint32_type }, \
{ "xmitTooBig", &ng_parse_uint32_type }, \
{ "recvPackets", &ng_parse_uint32_type }, \
{ "recvOctets", &ng_parse_uint32_type }, \
{ "recvRunts", &ng_parse_uint32_type }, \
{ "recvBadGRE", &ng_parse_uint32_type }, \
{ "recvBadAcks", &ng_parse_uint32_type }, \
{ "recvBadCID", &ng_parse_uint32_type }, \
{ "recvOutOfOrder", &ng_parse_uint32_type }, \
{ "recvDuplicates", &ng_parse_uint32_type }, \
{ "recvLoneAcks", &ng_parse_uint32_type }, \
{ "recvAckTimeouts", &ng_parse_uint32_type }, \
{ "memoryFailures", &ng_parse_uint32_type }, \
{ "recvReorderOverflow", &ng_parse_uint32_type}, \
{ "recvReorderTimeouts", &ng_parse_uint32_type}, \
{ NULL } \
}
const struct ng_parse_type ng_parse_uint32_type
Definition: ng_parse.c:608

Definition at line 110 of file ng_pptpgre.h.

◆ NGM_PPTPGRE_COOKIE

#define NGM_PPTPGRE_COOKIE   1082548365

Definition at line 49 of file ng_pptpgre.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
NGM_PPTPGRE_SET_CONFIG 
NGM_PPTPGRE_GET_CONFIG 
NGM_PPTPGRE_GET_STATS 
NGM_PPTPGRE_CLR_STATS 
NGM_PPTPGRE_GETCLR_STATS 

Definition at line 133 of file ng_pptpgre.h.