summaryrefslogtreecommitdiffstats
path: root/sys/net/radix.c
Commit message (Collapse)AuthorAgeFilesLines
* Never return the root node itself from rn_match(); return NULL instead.pb1999-06-251-2/+5
| | | | | | | | | | | | This caused a panic in rtfreee() called with a root node from the routing socket code (when processing a RTM_GET message looking for the default route while there is none). Since no existing code seems to have any use getting the root node from rn_match(), it seems cleaner never to return it rather than check for this condition at the caller's. PR: kern/12265
* Postpone route_init() until all domains are attached.luoqi1999-04-291-2/+1
|
* Temporary hack. The radix code shouldn't need this, it should bepeter1999-04-261-1/+2
| | | | | | | | able to expand the zeros, ones etc masks on the fly. It seems a good number of domains don't set the rn_maxkey variable anyway, and because this is a domain itself, there is no guarantee we've been called after a protocol that actually has set it (ie: inet), so start with a maxkey of a relatively sane size as a base point until it can adapt on the fly.
* Fixed printf format errors.bde1998-07-111-3/+4
|
* Unstaticized rn_delete() and rn_lookup(). They are used in dark cornersbde1997-11-241-9/+5
| | | | | | of netatalk (if NETATALKDEBUG is configured). Removed stray semicolons.
* Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are notpeter1997-02-221-1/+1
| | | | ready for it yet.
* 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.
* Another mega commit to staticize things.phk1995-12-141-13/+21
|
* Completed function declarations and/or added prototypes.bde1995-12-021-3/+17
|
* Remove trailing whitespace.rgrimes1995-05-301-13/+13
|
* Incorporate new radix code from UCB. This fixes the orphaned mask bugs.pst1995-04-281-146/+295
| | | | | | | | | This submission was done by hand-applying FreeBSD local modifications on top of the UCB code, rather than trying to patch the UCB code in on top of the FreeBSD code due to the extensive changes. Reviewed by: pst (been handling 30k routes for 4+ months) Obtained from: Sklower/Woody/Honing/Traina (8.4 UCB release)
* radix.c: correct exit condition in rn_walktree_from()wollman1995-03-231-2/+18
| | | | | route.c: be a little more careful when running deleting children of dying . routes
* Better fix for the deletion of parents of cloned routes problem,wollman1995-03-201-1/+80
| | | | | superseding the `nextchild' hack. This also provides a way forward to fix RTM_CHANGE and RTM_ADD as well.
* moved a message into a #ifdef DEBUG. This message comes out if a kernelphk1994-10-151-1/+3
| | | | | doesn't have any networking in it. For instance the new "MINI" install- kernel.
* Cosmetics: to silence gcc -wall.phk1994-10-081-12/+14
|
* Added $Id$dg1994-08-021-0/+1
|
* The big 4.4BSD Lite to FreeBSD 2.0.0 (Development) patch.rgrimes1994-05-251-1/+1
| | | | | Reviewed by: Rodney W. Grimes Submitted by: John Dyson and David Greenman
* BSD 4.4 Lite Kernel Sourcesrgrimes1994-05-241-0/+757
OpenPOWER on IntegriCloud