diff options
author | archie <archie@FreeBSD.org> | 2000-08-10 22:45:54 +0000 |
---|---|---|
committer | archie <archie@FreeBSD.org> | 2000-08-10 22:45:54 +0000 |
commit | 91912098c3157074ed463a4abc7a017ad139c988 (patch) | |
tree | 161ead128c5bf9a6f2f11f6c8e543fbcaa650e17 /sys/netgraph/ng_ppp.h | |
parent | 16765ea99728e9b39c638c771a3e710f85ef76c3 (diff) | |
download | FreeBSD-src-91912098c3157074ed463a4abc7a017ad139c988.zip FreeBSD-src-91912098c3157074ed463a4abc7a017ad139c988.tar.gz |
Take advantage of the new unsigned and hex integer types.
Diffstat (limited to 'sys/netgraph/ng_ppp.h')
-rw-r--r-- | sys/netgraph/ng_ppp.h | 58 |
1 files changed, 29 insertions, 29 deletions
diff --git a/sys/netgraph/ng_ppp.h b/sys/netgraph/ng_ppp.h index a2cc80d..ce05881 100644 --- a/sys/netgraph/ng_ppp.h +++ b/sys/netgraph/ng_ppp.h @@ -96,12 +96,12 @@ struct ng_ppp_link_conf { /* Keep this in sync with the above structure definition */ #define NG_PPP_LINK_TYPE_INFO { \ { \ - { "enableLink", &ng_parse_int8_type }, \ - { "enableProtoComp", &ng_parse_int8_type }, \ - { "enableACFComp", &ng_parse_int8_type }, \ - { "mru", &ng_parse_int16_type }, \ - { "latency", &ng_parse_int32_type }, \ - { "bandwidth", &ng_parse_int32_type }, \ + { "enableLink", &ng_parse_uint8_type }, \ + { "enableProtoComp", &ng_parse_uint8_type }, \ + { "enableACFComp", &ng_parse_uint8_type }, \ + { "mru", &ng_parse_uint16_type }, \ + { "latency", &ng_parse_uint32_type }, \ + { "bandwidth", &ng_parse_uint32_type }, \ { NULL }, \ } \ } @@ -128,21 +128,21 @@ struct ng_ppp_bund_conf { /* Keep this in sync with the above structure definition */ #define NG_PPP_BUND_TYPE_INFO { \ { \ - { "mrru", &ng_parse_int16_type }, \ - { "enableMultilink", &ng_parse_int8_type }, \ - { "recvShortSeq", &ng_parse_int8_type }, \ - { "xmitShortSeq", &ng_parse_int8_type }, \ - { "enableRoundRobin", &ng_parse_int8_type }, \ - { "enableIP", &ng_parse_int8_type }, \ - { "enableIPv6", &ng_parse_int8_type }, \ - { "enableAtalk", &ng_parse_int8_type }, \ - { "enableIPX", &ng_parse_int8_type }, \ - { "enableCompression", &ng_parse_int8_type }, \ - { "enableDecompression", &ng_parse_int8_type }, \ - { "enableEncryption", &ng_parse_int8_type }, \ - { "enableDecryption", &ng_parse_int8_type }, \ - { "enableVJCompression", &ng_parse_int8_type }, \ - { "enableVJDecompression", &ng_parse_int8_type }, \ + { "mrru", &ng_parse_uint16_type }, \ + { "enableMultilink", &ng_parse_uint8_type }, \ + { "recvShortSeq", &ng_parse_uint8_type }, \ + { "xmitShortSeq", &ng_parse_uint8_type }, \ + { "enableRoundRobin", &ng_parse_uint8_type }, \ + { "enableIP", &ng_parse_uint8_type }, \ + { "enableIPv6", &ng_parse_uint8_type }, \ + { "enableAtalk", &ng_parse_uint8_type }, \ + { "enableIPX", &ng_parse_uint8_type }, \ + { "enableCompression", &ng_parse_uint8_type }, \ + { "enableDecompression", &ng_parse_uint8_type }, \ + { "enableEncryption", &ng_parse_uint8_type }, \ + { "enableDecryption", &ng_parse_uint8_type }, \ + { "enableVJCompression", &ng_parse_uint8_type }, \ + { "enableVJDecompression", &ng_parse_uint8_type }, \ { NULL } \ } \ } @@ -177,14 +177,14 @@ struct ng_ppp_link_stat { /* Keep this in sync with the above structure definition */ #define NG_PPP_STATS_TYPE_INFO { \ { \ - { "xmitFrames", &ng_parse_int32_type }, \ - { "xmitOctets", &ng_parse_int32_type }, \ - { "recvFrames", &ng_parse_int32_type }, \ - { "recvOctets", &ng_parse_int32_type }, \ - { "badProtos", &ng_parse_int32_type }, \ - { "runts", &ng_parse_int32_type }, \ - { "dupFragments", &ng_parse_int32_type }, \ - { "dropFragments", &ng_parse_int32_type }, \ + { "xmitFrames", &ng_parse_uint32_type }, \ + { "xmitOctets", &ng_parse_uint32_type }, \ + { "recvFrames", &ng_parse_uint32_type }, \ + { "recvOctets", &ng_parse_uint32_type }, \ + { "badProtos", &ng_parse_uint32_type }, \ + { "runts", &ng_parse_uint32_type }, \ + { "dupFragments", &ng_parse_uint32_type }, \ + { "dropFragments", &ng_parse_uint32_type }, \ { NULL } \ } \ } |