summaryrefslogtreecommitdiff
path: root/sys/net
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1999-02-04 00:04:36 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1999-02-04 00:04:36 +0000
commite9f84f180a3bf76a741cb357864fed03150a5e1c (patch)
tree2f768a3bd8d379cef34d7e2b8f0b5d8213e2f3ee /sys/net
parent34a8f799f73401e481f2191117796ebcfac51a33 (diff)
u_int32_t for routing statistics variables
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/route.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/sys/net/route.h b/sys/net/route.h
index 39a222057f3..8eed978d927 100644
--- a/sys/net/route.h
+++ b/sys/net/route.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: route.h,v 1.4 1999/01/08 00:56:06 deraadt Exp $ */
+/* $OpenBSD: route.h,v 1.5 1999/02/04 00:04:35 deraadt Exp $ */
/* $NetBSD: route.h,v 1.9 1996/02/13 22:00:49 christos Exp $ */
/*
@@ -149,12 +149,13 @@ struct ortentry {
* Routing statistics.
*/
struct rtstat {
- short rts_badredirect; /* bogus redirect calls */
- short rts_dynamic; /* routes created by redirects */
- short rts_newgateway; /* routes modified by redirects */
- short rts_unreach; /* lookups which failed */
- short rts_wildcard; /* lookups satisfied by a wildcard */
+ u_int32_t rts_badredirect; /* bogus redirect calls */
+ u_int32_t rts_dynamic; /* routes created by redirects */
+ u_int32_t rts_newgateway; /* routes modified by redirects */
+ u_int32_t rts_unreach; /* lookups which failed */
+ u_int32_t rts_wildcard; /* lookups satisfied by a wildcard */
};
+
/*
* Structures for routing messages.
*/