svn commit: r191374 - head/share/man/man4
Edward Tomasz Napierala
trasz at FreeBSD.org
Wed Apr 22 12:52:13 UTC 2009
Author: trasz
Date: Wed Apr 22 12:52:12 2009
New Revision: 191374
URL: http://svn.freebsd.org/changeset/base/191374
Log:
Turns out rtm_use does still exist, just under different name - for
a long time (since 6.1) it was #defined as rtm_fmask. Update manual
page. While here, sync some constants with what's in route.h.
Modified:
head/share/man/man4/route.4
Modified: head/share/man/man4/route.4
==============================================================================
--- head/share/man/man4/route.4 Wed Apr 22 08:37:02 2009 (r191373)
+++ head/share/man/man4/route.4 Wed Apr 22 12:52:12 2009 (r191374)
@@ -196,6 +196,8 @@ Messages include:
#define RTM_REDIRECT 0x6 /* Told to use different route */
#define RTM_MISS 0x7 /* Lookup failed on this address */
#define RTM_LOCK 0x8 /* fix specified metrics */
+#define RTM_OLDADD 0x9 /* caused by SIOCADDRT */
+#define RTM_OLDDEL 0xa /* caused by SIOCDELRT */
#define RTM_RESOLVE 0xb /* request to resolve dst to LL addr - unused */
#define RTM_NEWADDR 0xc /* address being added to iface */
#define RTM_DELADDR 0xd /* address being removed from iface */
@@ -203,6 +205,7 @@ Messages include:
#define RTM_NEWMADDR 0xf /* mcast group membership being added to if */
#define RTM_DELMADDR 0x10 /* mcast group membership being deleted */
#define RTM_IFANNOUNCE 0x11 /* iface arrival/departure */
+#define RTM_IEEE80211 0x12 /* IEEE80211 wireless event */
.Ed
.Pp
A message header consists of one of the following:
@@ -217,6 +220,7 @@ struct rt_msghdr {
pid_t rtm_pid; /* identify sender */
int rtm_seq; /* for sender to identify action */
int rtm_errno; /* why failed */
+ int rtm_fmask; /* bitmask used in RTM_CHANGE message */
u_long rtm_inits; /* which metrics we are initializing */
struct rt_metrics rtm_rmx; /* metrics themselves */
};
@@ -300,6 +304,7 @@ Specifiers for metric values in rmx_lock
#define RTV_SSTHRESH 0x20 /* init or lock _ssthresh */
#define RTV_RTT 0x40 /* init or lock _rtt */
#define RTV_RTTVAR 0x80 /* init or lock _rttvar */
+#define RTV_WEIGHT 0x100 /* init or lock _weight */
.Ed
.Pp
Specifiers for which addresses are present in the messages are:
More information about the svn-src-head
mailing list