From defad08c4c507bf81786c828e83404f2604a44db Mon Sep 17 00:00:00 2001 From: Ryan Thomas McBride Date: Fri, 27 May 2005 17:18:21 +0000 Subject: Add rtm_fmask define to make the (ab)use of rtm_use more obvious. Suggestion from Cedric Berger ok marius@ claudio@ --- sys/net/route.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 */ }; -- cgit v1.2.3