summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ip_mroute.c
Commit message (Collapse)AuthorAgeFilesLines
* Staticize.eivind1998-02-091-3/+3
|
* Back out DIAGNOSTIC changes.eivind1998-02-061-2/+1
|
* Turn DIAGNOSTIC into a new-style option.eivind1998-02-041-1/+2
|
* Removed unused #includes.bde1997-10-281-5/+1
|
* Update for new callout interface.gibbs1997-09-211-4/+6
|
* Remove crufty LBL ifdef that only applies to Suns.fenner1997-07-191-5/+1
| | | | Submitted by: Craig Leres <leres@ee.lbl.gov>
* Don't include <sys/ioctl.h> in the kernel. Stage 2: includebde1997-03-241-2/+2
| | | | <sys/sockio.h> instead of <sys/ioctl.h> in network files.
* Properly notice error returns from if_allmulti().wollman1997-02-211-2/+2
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Use the new if_multiaddrs list for multicast addresses rather than thewollman1997-01-131-6/+4
| | | | | | | previous hackery involving struct in_ifaddr and arpcom. Get rid of the abominable multi_kludge. Update all network interfaces to use the new machanism. Distressingly few Ethernet drivers program the multicast filter properly (assuming the hardware has one, which it usually does).
* Allocate a header mbuf for the start of the encapsulated packet.fenner1996-11-231-3/+3
| | | | | | | | The rest of the code was treating it as a header mbuf, but it was allocated as a normal mbuf. This fixes the panic: ip_output no HDR when you have a multicast tunnel configured.
* Fix braino in rev 1.30 fix; m_copy() the mbuf that has the headerfenner1996-07-121-2/+2
| | | | | | pulled up already. This bug can cause the first packet from a source to a group to be corrupted when it is delivered to a process listening on the mrouter.
* Don't use NULL in non-pointer contexts.bde1996-07-121-2/+2
|
* Always call ip_output() with a valid route pointer. For igmp, also get thewollman1996-04-181-3/+10
| | | | multicast option structure off the stack rather than malloc.
* Make rip_input() take the header lengthfenner1996-03-261-13/+8
| | | | | | Move ipip_input() and rsvp_input() prototypes to ip_var.h Remove unused prototype for rip_ip_input() from ip_var.h Remove unused variable *opts from rip_output()
* Cleaned up uninitialized 'rt' warning properlyfenner1996-03-111-7/+8
| | | | | | | Make a copy of the header of a packet that gets queued due to lack of forwarding cache entry, so that nobody else can step on it. Thanks to Mike Karels <karels@bsdi.com> for pointing this one out.
* Move or add #include <queue.h> in preparation for upcoming struct socketdg1996-03-111-2/+2
| | | | changes.
* Add more options into the conf/options and i386/conf/options.i386 filespeter1996-03-021-1/+2
| | | | | | and the #include hooks so that 'make depend' is more useful. This covers most of the options I regularly use (but not all) and some other easy ones.
* Another mega commit to staticize things.phk1995-12-141-7/+7
|
* Completed function declarations and/or added prototypes.bde1995-12-021-2/+27
|
* New style sysctl & staticize alot of stuff.phk1995-11-141-21/+20
|
* Second batch of cleanup changes.phk1995-10-291-8/+2
| | | | | This time mostly making a lot of things static and some unused variables here and there.
* Put newline at end of log()ed messages so syslog can't fill up yourwollman1995-10-061-21/+22
| | | | /var quite as fast.
* Fix some problems with multicast forwarding:wollman1995-08-231-122/+128
| | | | | | | | | | | | | | | | | Garrett, Here are some patches for the rate limiting code. It should be faster, and in particular it doesn't leak malloc'd memory any more when rate_limit'ing a phyint. It now uses an mbuf chain at each vif, instead of the static queue array. This means that the MAXQSIZE is now variable per vif (although there is no interface to change it other than a debugger); this is an area for more experimentation. Bill Submitted by: Bill Fenner <fenner@parc.xerox.com>
* Fix test for determining when RSVP is inactive in a router. (In thiswollman1995-07-261-3/+3
| | | | | | case, multicast options are not passed to ip_mforward().) The previous version had a wrong test, thus causing RSVP mrouters to forward RSVP messages in violation of the spec.
* Declare rsvp_input() to take the correct set of arguments and figure outwollman1995-07-241-5/+12
| | | | the receipt interface in the correct way.
* From Bill Fenner:wollman1995-06-261-1/+2
| | | | | | > Also, I don't remember if I sent you this; it affects PIM assert processing. Submitted by: Bill Fenner <fenner@parc.xerox.com>
* Fix a resource allocation bug where multicast forwarding would leak mbufswollman1995-06-191-4/+4
| | | | | | in certain cases when allocation of another mbuf has already failed. Submitted by: Bill Fenner <fenner@parc.xerox.com>
* Kernel side of 3.5 multicast routing code, based on work by Bill Fennerwollman1995-06-131-651/+995
| | | | | and other work done here. The LKM support is probably broken, but it still compiles and will be fixed later.
* Remove trailing whitespace.rgrimes1995-05-301-53/+53
|
* Implemented PCB hashing. Includes new functions in_pcbinshash, in_pcbrehash,dg1995-04-091-0/+1
| | | | and in_pcblookuphash.
* Remove redundant declarations.bde1995-04-021-3/+0
|
* Add and move declarations to fix all of the warnings from `gcc -Wimplicit'bde1995-03-161-2/+0
| | | | | | (except in netccitt, netiso and netns) and most of the warnings from `gcc -Wnested-externs'. Fix all the bugs found. There were no serious ones.
* This set of patches enables IP multicasting to work under FreeBSD. I amwollman1995-03-161-19/+27
| | | | | | | | | | | | | | | | | | | | submitting them as context diffs for the following files: sys/netinet/ip_mroute.c sys/netinet/ip_var.h sys/netinet/raw_ip.c usr.sbin/mrouted/igmp.c usr.sbin/mrouted/prune.c The routine rip_ip_input in raw_ip.c is suggested by Mark Tinguely (tinguely@plains.nodak.edu). I have been running mrouted with these patches for over a week and nothing has seemed seriously wrong. It is being run in two places on our network as a tunnel on one and a subnet querier on the other. The only problem I have run into is that mrouted on the tunnel must start up last or the pruning isn't done correctly and multicast packets flood your subnets. Submitted by: Soochon Radee <slr@mitre.org>
* Fix benign type mismatch.bde1995-02-221-1/+1
|
* Added missing newlines to calls to log().dg1995-02-201-19/+19
|
* Bug fixes from John Brezak.wollman1994-10-211-3/+3
|
* Fix some endianness and packet header bugs found in BSDi's port of this code.wollman1994-10-131-14/+27
| | | | (From mbone mailing-list.)
* GCC cleanup.phk1994-10-021-9/+4
| | | | | | Reviewed by: Submitted by: Obtained from:
* Add code to make multicast routing be an LKM.wollman1994-09-141-14/+111
|
* Shuffle some functions and variables around to make it possible forwollman1994-09-141-12/+46
| | | | | multicast routing to be implemented as an LKM. (There's still a bit of work to do in this area.)
* Initial get-the-easy-case-working upgrade of the multicast codewollman1994-09-061-657/+1603
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
* Added $Id$dg1994-08-021-0/+1
|
* The big 4.4BSD Lite to FreeBSD 2.0.0 (Development) patch.rgrimes1994-05-251-0/+1
| | | | | Reviewed by: Rodney W. Grimes Submitted by: John Dyson and David Greenman
* BSD 4.4 Lite Kernel Sourcesrgrimes1994-05-241-0/+834
OpenPOWER on IntegriCloud