summaryrefslogtreecommitdiff
path: root/sys/netgraph/ng_sample.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_sample.h
parent8fccb7e95469dbfe41d7095fe6a4cd0204b025de (diff)
downloadsrc-test-57b57be3ecfda78163844d6f2c135ab6269701ec.tar.gz
src-test-57b57be3ecfda78163844d6f2c135ab6269701ec.zip
Notes
Diffstat (limited to 'sys/netgraph/ng_sample.h')
-rw-r--r--sys/netgraph/ng_sample.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/netgraph/ng_sample.h b/sys/netgraph/ng_sample.h
index faa539c3dda05..accce88e56605 100644
--- a/sys/netgraph/ng_sample.h
+++ b/sys/netgraph/ng_sample.h
@@ -68,8 +68,8 @@ enum {
/* This structure is returned by the NGM_XXX_GET_STATUS command */
struct ngxxxstat {
- u_int packets_in; /* packets in from downstream */
- u_int packets_out; /* packets out towards downstream */
+ u_int32_t packets_in; /* packets in from downstream */
+ u_int32_t packets_out; /* packets out towards downstream */
};
/*
@@ -81,8 +81,8 @@ struct ngxxxstat {
*/
#define NG_XXX_STATS_TYPE_INFO { \
{ \
- { "packets_in", &ng_parse_int32_type }, \
- { "packets_out", &ng_parse_int32_type }, \
+ { "packets_in", &ng_parse_uint32_type }, \
+ { "packets_out", &ng_parse_uint32_type }, \
{ NULL }, \
} \
}