summaryrefslogtreecommitdiffstats
path: root/sys/netinet/in_rmx.c
Commit message (Collapse)AuthorAgeFilesLines
* Removed redundant newlines that were in some panic strings.dg1995-03-191-2/+2
|
* Added missing newlines to calls to log().dg1995-02-201-3/+3
|
* After dynamically reducing rtq_reallyold, have in_rtqkill() reduce thewollman1995-02-141-4/+14
| | | | | | expiration timer of anything which would expire later than that. (There should be a way to call this from ip_sysctl() as well, but there currently isn't.)
* Attempt to make the host route cache a bit smarter under conditions ofwollman1995-02-141-10/+73
| | | | | | | | | | | | | high load: 1) If there ever get to be more than net.inet.ip.rtmaxcache entries in the cache, in_rtqtimo() will reduce net.inet.ip.rtexpire by 1/3 and do another round, unles net.inet.ip.rtexpire is less than net.inet.ip.rtminexpire, and never more than once in ten minutes (rtq_timeout). 2) If net.inet.ip.rtexpire is set to zero, don't bother to cache anything.
* Change caching strategy somewhat:wollman1995-01-231-12/+17
| | | | | | | | 1) Don't clone routes to multicast destinations; there is nothing useful to be gained in this case. 2) Reduce default expiration timer to one hour. Busy sites will still likely want to reduce this, but for ordinary users this is a reasonable value to use.
* Avoid a serious race by blocking netisrs while walking the route tree.wollman1994-12-211-6/+6
| | | | (IWBRNI we could just block IP netisrs...)
* Update calls to rtalloc1(). Also merge rt_prflags with rt_flags.wollman1994-12-131-13/+24
|
* Delete old, confusing comment.wollman1994-12-021-9/+1
|
* Add a check to make sure that we don't fiddle with the NFS routing tableswollman1994-12-021-10/+3
| | | | | as well (bleah!). Also, increase the interval to the real-life value and eliminate debugging printfs. This will be standard once tested by others.
* Add latest version of ``advanced route metric management'' :-)wollman1994-12-011-18/+71
| | | | | As before, this is currently conditionalized on options IN_RMX until I'm sure it's working.
* Completely replace JTW's idea with my (incompletely implemented) originalwollman1994-11-031-148/+23
| | | | | idea. This is les likely to crash your machine. As before, this code is only enabled under `options IN_RMX'.
* This is the file that actually implements the smarter behavior.wollman1994-11-021-0/+283
OpenPOWER on IntegriCloud