diff options
author | wollman <wollman@FreeBSD.org> | 1994-09-06 22:42:31 +0000 |
---|---|---|
committer | wollman <wollman@FreeBSD.org> | 1994-09-06 22:42:31 +0000 |
commit | 75ad508fd126c679edba9b67bd09d74a1fff3aba (patch) | |
tree | da36f83faafbd2141b041ae182b2406dfee02756 /sys/netinet/in.h | |
parent | f624d4a80eef8e47182201473e55257609525b41 (diff) | |
download | FreeBSD-src-75ad508fd126c679edba9b67bd09d74a1fff3aba.zip FreeBSD-src-75ad508fd126c679edba9b67bd09d74a1fff3aba.tar.gz |
Initial get-the-easy-case-working upgrade of the multicast code
to something more recent than the ancient 1.2 release contained in
4.4. This code has the following advantages as compared to
previous versions (culled from the README file for the SunOS release):
- True multicast delivery
- Configurable rate-limiting of forwarded multicast traffic on each
physical interface or tunnel, using a token-bucket limiter.
- Simplistic classification of packets for prioritized dropping.
- Administrative scoping of multicast address ranges.
- Faster detection of hosts leaving groups.
- Support for multicast traceroute (code not yet available).
- Support for RSVP, the Resource Reservation Protocol.
What still needs to be done:
- The multicast forwarder needs testing.
- The multicast routing daemon needs to be ported.
- Network interface drivers need to have the `#ifdef MULTICAST' goop ripped
out of them.
- The IGMP code should probably be bogon-tested.
Some notes about the porting process:
In some cases, the Berkeley people decided to incorporate functionality from
later releases of the multicast code, but then had to do things differently.
As a result, if you look at Deering's patches, and then look at
our code, it is not always obvious whether the patch even applies. Let
the reader beware.
I ran ip_mroute.c through several passes of `unifdef' to get rid of
useless grot, and to permanently enable the RSVP support, which we will
include as standard.
Ported by: Garrett Wollman
Submitted by: Steve Deering and Ajit Thyagarajan (among others)
Diffstat (limited to 'sys/netinet/in.h')
-rw-r--r-- | sys/netinet/in.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/netinet/in.h b/sys/netinet/in.h index 0bf7ed4..c04336e 100644 --- a/sys/netinet/in.h +++ b/sys/netinet/in.h @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)in.h 8.3 (Berkeley) 1/3/94 - * $Id: in.h,v 1.2 1994/08/02 07:48:14 davidg Exp $ + * $Id: in.h,v 1.3 1994/08/21 05:27:27 paul Exp $ */ #ifndef _NETINET_IN_H_ @@ -55,6 +55,7 @@ #define IPPROTO_UDP 17 /* user datagram protocol */ #define IPPROTO_IDP 22 /* xns idp */ #define IPPROTO_TP 29 /* tp-4 w/ class negotiation */ +#define IPPROTO_RSVP 46 /* resource reservation */ #define IPPROTO_EON 80 /* ISO cnlp */ #define IPPROTO_ENCAP 98 /* encapsulation header */ @@ -162,6 +163,10 @@ struct ip_opts { #define IP_MULTICAST_LOOP 11 /* u_char; set/get IP multicast loopback */ #define IP_ADD_MEMBERSHIP 12 /* ip_mreq; add an IP group membership */ #define IP_DROP_MEMBERSHIP 13 /* ip_mreq; drop an IP group membership */ +#define IP_MULTICAST_VIF 14 /* set/get IP mcast virt. iface */ +#define IP_RSVP_ON 15 /* enable RSVP in kernel */ +#define IP_RSVP_OFF 16 /* disable RSVP in kernel */ + /* * Defaults and limits for options |