diff options
author | peter <peter@FreeBSD.org> | 1996-01-06 21:10:30 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1996-01-06 21:10:30 +0000 |
commit | d4c03f31b99ac4bd269582b4d2fee704364a2c1e (patch) | |
tree | f1d0a40a2a6e33e9f309cdfe59bfbb0d9a7d4628 /usr.sbin/mrouted/dvmrp.h | |
parent | a8e9d6a2eaa9df5881201d40c5c05c6154333fef (diff) | |
download | FreeBSD-src-d4c03f31b99ac4bd269582b4d2fee704364a2c1e.zip FreeBSD-src-d4c03f31b99ac4bd269582b4d2fee704364a2c1e.tar.gz |
Resync our mainline to mrouted release 3.8.
This will make FreeBSD boxes better behaved 'MBONE Citizens', based on
a couple of the comments about the severity of fixes..
Agreed to by: wollman, fenner@parc.xerox.com
Diffstat (limited to 'usr.sbin/mrouted/dvmrp.h')
-rw-r--r-- | usr.sbin/mrouted/dvmrp.h | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/usr.sbin/mrouted/dvmrp.h b/usr.sbin/mrouted/dvmrp.h index 5553dc3..e471800 100644 --- a/usr.sbin/mrouted/dvmrp.h +++ b/usr.sbin/mrouted/dvmrp.h @@ -7,7 +7,7 @@ * Leland Stanford Junior University. * * - * $Id: dvmrp.h,v 3.6 1995/06/25 18:52:10 fenner Exp $ + * $Id: dvmrp.h,v 3.8 1995/11/29 22:36:57 fenner Rel $ */ /* @@ -96,6 +96,8 @@ #define DVMRP_PRUNE 7 /* prune message */ #define DVMRP_GRAFT 8 /* graft message */ #define DVMRP_GRAFT_ACK 9 /* graft acknowledgement */ +#define DVMRP_INFO_REQUEST 10 /* information request */ +#define DVMRP_INFO_REPLY 11 /* information reply */ /* * 'flags' byte values in DVMRP_NEIGHBORS2 reply. @@ -109,6 +111,12 @@ #define DVMRP_NF_LEAF 0x80 /* Neighbor reports that it is a leaf */ /* + * Request/reply types for info queries/replies + */ +#define DVMRP_INFO_VERSION 1 /* version string */ +#define DVMRP_INFO_NEIGHBORS 2 /* neighbors2 data */ + +/* * Limit on length of route data */ #define MAX_IP_PACKET_LEN 576 @@ -122,8 +130,14 @@ */ /* address for multicast DVMRP msgs */ #define INADDR_DVMRP_GROUP (u_int32)0xe0000004 /* 224.0.0.4 */ +/* + * The IGMPv2 <netinet/in.h> defines INADDR_ALLRTRS_GROUP, but earlier + * ones don't, so we define it conditionally here. + */ +#ifndef INADDR_ALLRTRS_GROUP /* address for multicast mtrace msg */ #define INADDR_ALLRTRS_GROUP (u_int32)0xe0000002 /* 224.0.0.2 */ +#endif #define ROUTE_MAX_REPORT_DELAY 5 /* max delay for reporting changes */ /* (This is the timer interrupt */ @@ -144,8 +158,7 @@ #define GROUP_EXPIRE_TIME 270 /* time to consider group gone */ #define LEAVE_EXPIRE_TIME 3 /* " " after receiving a leave */ /* Note: LEAVE_EXPIRE_TIME should ideally be shorter, but the resolution of - * the timer in mrouted doesn't allow us to follow the spec and make it any - * shorter. */ + * the timer in mrouted doesn't allow us to make it any shorter. */ #define UNREACHABLE 32 /* "infinity" metric, must be <= 64 */ #define DEFAULT_METRIC 1 /* default subnet/tunnel metric */ |