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_async.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_async.h')
-rw-r--r-- | sys/netgraph/ng_async.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/sys/netgraph/ng_async.h b/sys/netgraph/ng_async.h index 63f6e43..2db6ac0 100644 --- a/sys/netgraph/ng_async.h +++ b/sys/netgraph/ng_async.h @@ -71,14 +71,14 @@ struct ng_async_stat { /* Keep this in sync with the above structure definition */ #define NG_ASYNC_STATS_TYPE_INFO { \ { \ - { "syncOctets", &ng_parse_int32_type }, \ - { "syncFrames", &ng_parse_int32_type }, \ - { "syncOverflows", &ng_parse_int32_type }, \ - { "asyncOctets", &ng_parse_int32_type }, \ - { "asyncFrames", &ng_parse_int32_type }, \ - { "asyncRunts", &ng_parse_int32_type }, \ - { "asyncOverflows", &ng_parse_int32_type }, \ - { "asyncBadCheckSums",&ng_parse_int32_type }, \ + { "syncOctets", &ng_parse_uint32_type }, \ + { "syncFrames", &ng_parse_uint32_type }, \ + { "syncOverflows", &ng_parse_uint32_type }, \ + { "asyncOctets", &ng_parse_uint32_type }, \ + { "asyncFrames", &ng_parse_uint32_type }, \ + { "asyncRunts", &ng_parse_uint32_type }, \ + { "asyncOverflows", &ng_parse_uint32_type }, \ + { "asyncBadCheckSums",&ng_parse_uint32_type }, \ { NULL }, \ } \ } @@ -95,9 +95,9 @@ struct ng_async_cfg { #define NG_ASYNC_CONFIG_TYPE_INFO { \ { \ { "enabled", &ng_parse_int8_type }, \ - { "amru", &ng_parse_int16_type }, \ - { "smru", &ng_parse_int16_type }, \ - { "accm", &ng_parse_int32_type }, \ + { "amru", &ng_parse_uint16_type }, \ + { "smru", &ng_parse_uint16_type }, \ + { "accm", &ng_parse_hint32_type }, \ { NULL }, \ } \ } |