summaryrefslogtreecommitdiff
path: root/share/man/man4/route.4
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2006-02-23 14:19:14 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2006-02-23 14:19:14 +0000
commit8c5fffac09f0248113e9a661c3957988a6fe290b (patch)
tree24a14ddffaca9149a39d97dfd11682dc0b4e2bde /share/man/man4/route.4
parent02f70d316e2b1fab7065eb4b91f04d359651b629 (diff)
Update struct rt_msghdr. rtm_use is deprecated and is now know as rtm_fmask.
rtm_fmask is used on RTM_CHANGE to unset certain flags. OK mcbride@
Diffstat (limited to 'share/man/man4/route.4')
-rw-r--r--share/man/man4/route.45
1 files changed, 3 insertions, 2 deletions
diff --git a/share/man/man4/route.4 b/share/man/man4/route.4
index 5156709bce8..d4c45dd6ddc 100644
--- a/share/man/man4/route.4
+++ b/share/man/man4/route.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: route.4,v 1.21 2005/06/12 18:57:57 naddy Exp $
+.\" $OpenBSD: route.4,v 1.22 2006/02/23 14:19:13 claudio Exp $
.\" $NetBSD: route.4,v 1.3 1994/11/30 16:22:31 jtc Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
@@ -227,7 +227,8 @@ struct rt_msghdr {
pid_t rtm_pid; /* identify sender */
int rtm_seq; /* for sender to identify action */
int rtm_errno; /* why failed */
- int rtm_use; /* from rtentry */
+ int rtm_use; /* deprecated use rtm_rmx->rmx_pksent */
+#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 */
};