Go to the source code of this file.
|
enum | { NG_PPP_COMPRESS_NONE = 0
, NG_PPP_COMPRESS_SIMPLE
, NG_PPP_COMPRESS_FULL
} |
|
enum | { NG_PPP_DECOMPRESS_NONE = 0
, NG_PPP_DECOMPRESS_SIMPLE
, NG_PPP_DECOMPRESS_FULL
} |
|
enum | {
NGM_PPP_SET_CONFIG = 1
, NGM_PPP_GET_CONFIG
, NGM_PPP_GET_MP_STATE
, NGM_PPP_GET_LINK_STATS
,
NGM_PPP_CLR_LINK_STATS
, NGM_PPP_GETCLR_LINK_STATS
, NGM_PPP_GET_LINK_STATS64
, NGM_PPP_GETCLR_LINK_STATS64
} |
|
◆ NG_PPP_BUND_TYPE_INFO
#define NG_PPP_BUND_TYPE_INFO |
Value: { \
{ NULL } \
}
const struct ng_parse_type ng_parse_uint16_type
const struct ng_parse_type ng_parse_uint8_type
Definition at line 163 of file ng_ppp.h.
◆ NG_PPP_BUNDLE_LINKNUM
#define NG_PPP_BUNDLE_LINKNUM 0xffff |
◆ NG_PPP_CONFIG_TYPE_INFO
#define NG_PPP_CONFIG_TYPE_INFO |
( |
|
bctype, |
|
|
|
arytype |
|
) |
| |
Value: { \
{ "bund", (bctype) }, \
{ "links", (arytype) }, \
{ NULL } \
}
Definition at line 189 of file ng_ppp.h.
◆ NG_PPP_HOOK_ATALK
#define NG_PPP_HOOK_ATALK "atalk" /* AppleTalk packet data */ |
◆ NG_PPP_HOOK_BYPASS
#define NG_PPP_HOOK_BYPASS "bypass" /* unknown protocols */ |
◆ NG_PPP_HOOK_COMPRESS
#define NG_PPP_HOOK_COMPRESS "compress" /* outgoing compression */ |
◆ NG_PPP_HOOK_DECOMPRESS
#define NG_PPP_HOOK_DECOMPRESS "decompress" /* incoming decompression */ |
◆ NG_PPP_HOOK_DECRYPT
#define NG_PPP_HOOK_DECRYPT "decrypt" /* incoming decryption */ |
◆ NG_PPP_HOOK_ENCRYPT
#define NG_PPP_HOOK_ENCRYPT "encrypt" /* outgoing encryption */ |
◆ NG_PPP_HOOK_INET
#define NG_PPP_HOOK_INET "inet" /* IP packet data */ |
◆ NG_PPP_HOOK_IPV6
#define NG_PPP_HOOK_IPV6 "ipv6" /* IPv6 packet data */ |
◆ NG_PPP_HOOK_IPX
#define NG_PPP_HOOK_IPX "ipx" /* IPX packet data */ |
◆ NG_PPP_HOOK_LINK_PREFIX
#define NG_PPP_HOOK_LINK_PREFIX "link" /* append decimal link number */ |
◆ NG_PPP_HOOK_VJC_COMP
#define NG_PPP_HOOK_VJC_COMP "vjc_vjcomp" /* VJC compressed TCP */ |
◆ NG_PPP_HOOK_VJC_IP
#define NG_PPP_HOOK_VJC_IP "vjc_ip" /* VJC raw IP */ |
◆ NG_PPP_HOOK_VJC_UNCOMP
#define NG_PPP_HOOK_VJC_UNCOMP "vjc_vjuncomp" /* VJC uncompressed TCP */ |
◆ NG_PPP_HOOK_VJC_VJIP
#define NG_PPP_HOOK_VJC_VJIP "vjc_vjip" /* VJC uncompressed IP */ |
◆ NG_PPP_LINK_TYPE_INFO
#define NG_PPP_LINK_TYPE_INFO |
Value: { \
{ NULL } \
}
const struct ng_parse_type ng_parse_uint32_type
Definition at line 133 of file ng_ppp.h.
◆ NG_PPP_MAX_BANDWIDTH
#define NG_PPP_MAX_BANDWIDTH 125000 /* 10 Mbits / second */ |
◆ NG_PPP_MAX_LATENCY
#define NG_PPP_MAX_LATENCY 1000 /* 1 second */ |
◆ NG_PPP_MAX_LINKS
#define NG_PPP_MAX_LINKS 16 |
◆ NG_PPP_MP_STATE_TYPE_INFO
#define NG_PPP_MP_STATE_TYPE_INFO |
( |
|
atype | ) |
|
Value: { \
{ "rseq", (atype) }, \
{ NULL } \
}
const struct ng_parse_type ng_parse_hint32_type
Definition at line 115 of file ng_ppp.h.
◆ NG_PPP_NODE_TYPE
#define NG_PPP_NODE_TYPE "ppp" |
◆ NG_PPP_STATS64
◆ NG_PPP_STATS64_TYPE_INFO
#define NG_PPP_STATS64_TYPE_INFO |
Value: { \
{ NULL } \
}
const struct ng_parse_type ng_parse_uint64_type
Definition at line 233 of file ng_ppp.h.
◆ NG_PPP_STATS_TYPE_INFO
#define NG_PPP_STATS_TYPE_INFO |
◆ NGM_PPP_COOKIE
#define NGM_PPP_COOKIE 940897795 |
◆ anonymous enum
Enumerator |
---|
NG_PPP_COMPRESS_NONE | |
NG_PPP_COMPRESS_SIMPLE | |
NG_PPP_COMPRESS_FULL | |
Definition at line 82 of file ng_ppp.h.
◆ anonymous enum
Enumerator |
---|
NG_PPP_DECOMPRESS_NONE | |
NG_PPP_DECOMPRESS_SIMPLE | |
NG_PPP_DECOMPRESS_FULL | |
Definition at line 89 of file ng_ppp.h.
◆ anonymous enum
Enumerator |
---|
NGM_PPP_SET_CONFIG | |
NGM_PPP_GET_CONFIG | |
NGM_PPP_GET_MP_STATE | |
NGM_PPP_GET_LINK_STATS | |
NGM_PPP_CLR_LINK_STATS | |
NGM_PPP_GETCLR_LINK_STATS | |
NGM_PPP_GET_LINK_STATS64 | |
NGM_PPP_GETCLR_LINK_STATS64 | |
Definition at line 96 of file ng_ppp.h.