summaryrefslogtreecommitdiffstats
path: root/sys/netgraph/ng_bpf.h
diff options
context:
space:
mode:
authorarchie <archie@FreeBSD.org>2000-08-10 22:45:54 +0000
committerarchie <archie@FreeBSD.org>2000-08-10 22:45:54 +0000
commit91912098c3157074ed463a4abc7a017ad139c988 (patch)
tree161ead128c5bf9a6f2f11f6c8e543fbcaa650e17 /sys/netgraph/ng_bpf.h
parent16765ea99728e9b39c638c771a3e710f85ef76c3 (diff)
downloadFreeBSD-src-91912098c3157074ed463a4abc7a017ad139c988.zip
FreeBSD-src-91912098c3157074ed463a4abc7a017ad139c988.tar.gz
Take advantage of the new unsigned and hex integer types.
Diffstat (limited to 'sys/netgraph/ng_bpf.h')
-rw-r--r--sys/netgraph/ng_bpf.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/netgraph/ng_bpf.h b/sys/netgraph/ng_bpf.h
index 474fd2a..5e0b5d9 100644
--- a/sys/netgraph/ng_bpf.h
+++ b/sys/netgraph/ng_bpf.h
@@ -84,12 +84,12 @@ struct ng_bpf_hookstat {
/* Keep this in sync with the above structure definition */
#define NG_BPF_HOOKSTAT_TYPE_INFO { \
{ \
- { "recvFrames", &ng_parse_int64_type }, \
- { "recvOctets", &ng_parse_int64_type }, \
- { "recvMatchFrames", &ng_parse_int64_type }, \
- { "recvMatchOctets", &ng_parse_int64_type }, \
- { "xmitFrames", &ng_parse_int64_type }, \
- { "xmitOctets", &ng_parse_int64_type }, \
+ { "recvFrames", &ng_parse_uint64_type }, \
+ { "recvOctets", &ng_parse_uint64_type }, \
+ { "recvMatchFrames", &ng_parse_uint64_type }, \
+ { "recvMatchOctets", &ng_parse_uint64_type }, \
+ { "xmitFrames", &ng_parse_uint64_type }, \
+ { "xmitOctets", &ng_parse_uint64_type }, \
{ NULL }, \
} \
}
OpenPOWER on IntegriCloud