aboutsummaryrefslogtreecommitdiff
path: root/sys/netgraph/ng_pptpgre.h
diff options
context:
space:
mode:
authorArchie Cobbs <archie@FreeBSD.org>2000-08-10 22:45:54 +0000
committerArchie Cobbs <archie@FreeBSD.org>2000-08-10 22:45:54 +0000
commit57b57be3ecfda78163844d6f2c135ab6269701ec (patch)
treecffa90cf7728b124d8a42556a6448dff18642ccc /sys/netgraph/ng_pptpgre.h
parent8fccb7e95469dbfe41d7095fe6a4cd0204b025de (diff)
downloadsrc-57b57be3ecfda78163844d6f2c135ab6269701ec.tar.gz
src-57b57be3ecfda78163844d6f2c135ab6269701ec.zip
Take advantage of the new unsigned and hex integer types.
Notes
Notes: svn path=/head/; revision=64508
Diffstat (limited to 'sys/netgraph/ng_pptpgre.h')
-rw-r--r--sys/netgraph/ng_pptpgre.h46
1 files changed, 23 insertions, 23 deletions
diff --git a/sys/netgraph/ng_pptpgre.h b/sys/netgraph/ng_pptpgre.h
index f8fb7c34918f..ef93fe7b4ed3 100644
--- a/sys/netgraph/ng_pptpgre.h
+++ b/sys/netgraph/ng_pptpgre.h
@@ -66,13 +66,13 @@ struct ng_pptpgre_conf {
/* Keep this in sync with the above structure definition */
#define NG_PPTPGRE_CONF_TYPE_INFO { \
{ \
- { "enabled", &ng_parse_int8_type }, \
- { "enableDelayedAck", &ng_parse_int8_type }, \
- { "enableAlwaysAck", &ng_parse_int8_type }, \
- { "cid", &ng_parse_int16_type }, \
- { "peerCid", &ng_parse_int16_type }, \
- { "recvWin", &ng_parse_int16_type }, \
- { "peerPpd", &ng_parse_int16_type }, \
+ { "enabled", &ng_parse_uint8_type }, \
+ { "enableDelayedAck", &ng_parse_uint8_type }, \
+ { "enableAlwaysAck", &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 }, \
} \
}
@@ -100,22 +100,22 @@ struct ng_pptpgre_stats {
/* Keep this in sync with the above structure definition */
#define NG_PPTPGRE_STATS_TYPE_INFO { \
{ \
- { "xmitPackets", &ng_parse_int32_type }, \
- { "xmitOctets", &ng_parse_int32_type }, \
- { "xmitLoneAcks", &ng_parse_int32_type }, \
- { "xmitDrops", &ng_parse_int32_type }, \
- { "xmitTooBig", &ng_parse_int32_type }, \
- { "recvPackets", &ng_parse_int32_type }, \
- { "recvOctets", &ng_parse_int32_type }, \
- { "recvRunts", &ng_parse_int32_type }, \
- { "recvBadGRE", &ng_parse_int32_type }, \
- { "recvBadAcks", &ng_parse_int32_type }, \
- { "recvBadCID", &ng_parse_int32_type }, \
- { "recvOutOfOrder", &ng_parse_int32_type }, \
- { "recvDuplicates", &ng_parse_int32_type }, \
- { "recvLoneAcks", &ng_parse_int32_type }, \
- { "recvAckTimeouts", &ng_parse_int32_type }, \
- { "memoryFailures", &ng_parse_int32_type }, \
+ { "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 }, \
{ NULL } \
} \
}