diff options
author | trasz <trasz@FreeBSD.org> | 2009-04-22 12:52:12 +0000 |
---|---|---|
committer | trasz <trasz@FreeBSD.org> | 2009-04-22 12:52:12 +0000 |
commit | 37d071982a18633dd2c39083e25fd407e11e8875 (patch) | |
tree | 87180c19554f44c08f661b227ec94e16f2a95147 /share/man/man4/route.4 | |
parent | 924e20c37bc690bbb0e9154ed200df8b50204725 (diff) | |
download | FreeBSD-src-37d071982a18633dd2c39083e25fd407e11e8875.zip FreeBSD-src-37d071982a18633dd2c39083e25fd407e11e8875.tar.gz |
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.
Diffstat (limited to 'share/man/man4/route.4')
-rw-r--r-- | share/man/man4/route.4 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/share/man/man4/route.4 b/share/man/man4/route.4 index 764bf70..b85b41c 100644 --- a/share/man/man4/route.4 +++ b/share/man/man4/route.4 @@ -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_locks and rtm_inits are: #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: |