summaryrefslogtreecommitdiff
path: root/sys/net/route.h
diff options
context:
space:
mode:
authorRyan Thomas McBride <mcbride@cvs.openbsd.org>2005-05-27 17:18:21 +0000
committerRyan Thomas McBride <mcbride@cvs.openbsd.org>2005-05-27 17:18:21 +0000
commitdefad08c4c507bf81786c828e83404f2604a44db (patch)
tree359627e83046f7b3fb1852c421ebb374f3b1003e /sys/net/route.h
parent2321148a012bae22a25299e83cc636a6b70a885c (diff)
Add rtm_fmask define to make the (ab)use of rtm_use more obvious.
Suggestion from Cedric Berger ok marius@ claudio@
Diffstat (limited to 'sys/net/route.h')
-rw-r--r--sys/net/route.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net/route.h b/sys/net/route.h
index db6058e186d..0a0c934e042 100644
--- a/sys/net/route.h
+++ b/sys/net/route.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: route.h,v 1.28 2005/05/27 04:55:27 mcbride Exp $ */
+/* $OpenBSD: route.h,v 1.29 2005/05/27 17:18:20 mcbride Exp $ */
/* $NetBSD: route.h,v 1.9 1996/02/13 22:00:49 christos Exp $ */
/*
@@ -171,6 +171,7 @@ struct rt_msghdr {
int rtm_seq; /* for sender to identify action */
int rtm_errno; /* why failed */
int rtm_use; /* from rtentry */
+#define rtm_fmask rtm_use /* bitmask used in RTM_CHANGE message */
u_long rtm_inits; /* which metrics we are initializing */
struct rt_metrics rtm_rmx; /* metrics themselves */
};