agc
aad01611e7
Move UCB-licensed code from 4-clause to 3-clause licence.
...
Patches provided by Joel Baker in PR 22364, verified by myself.
2003-08-07 16:26:28 +00:00
thorpej
2ee9a875f2
Use callout_setfunc() and callout_schedule().
2003-02-04 03:31:32 +00:00
thorpej
882dec6ba3
Test callout_pending(), not callout_active(), and eliminate now-unnecessary
...
callout_deactivate() calls.
2003-02-03 23:50:59 +00:00
matt
47577dca93
Change a few variable/tables to const since they are read-only.
2001-11-04 13:42:27 +00:00
thorpej
4745c7f252
Update copyrights.
2001-09-10 22:45:46 +00:00
thorpej
6d0e813f6c
Use callouts for TCP timers, rather than traversing the list of
...
all open TCP connections in tcp_slowtimo() (which is called 2x
per second). It's fairly rare for TCP timers to actually fire,
so saving this list traversal is good, especially if you want
to scale to thousands of open connections.
2001-09-10 22:14:26 +00:00
thorpej
413e5cb878
Initialize TCP timer variables in a new function, tcp_timer_init().
2001-09-10 20:36:43 +00:00
thorpej
3d9c42775e
Add explicit initialization of TCP timer state. A noop right now.
2001-09-10 20:19:54 +00:00
thorpej
45e02f5ee8
Split tcp_timers() into multiple functions, one for each timer,
...
and call it directly from tcp_slowtimo() (via a table) rather
than going through tcp_userreq().
This will allow us to call TCP timers directly from callouts,
in a future revision.
2001-09-10 20:15:14 +00:00
thorpej
783db90019
Use a callout for the delayed ACK timer, and delete tcp_fasttimo().
...
Expose the delayed ACK timer as net.inet.tcp.delack_ticks.
2001-09-10 04:24:24 +00:00
mouse
b95116821c
Create tcp.keepidle, tcp.keepintvl, tcp.keepcnt, tcp.slowhz sysctls.
1998-09-10 10:46:03 +00:00
thorpej
dc49b0342e
Define all TCP timers in terms of PRT timers.
1998-05-07 01:30:46 +00:00
thorpej
34e34c985a
Use the monotonically increasing slow timer timestamp provided by
...
the protocol dispatch layer for TCP timers. This saves having to
modify a potentially large number of timer values (which were shorts,
and expanded to ... a lot of code on the Alpha).
1998-05-06 01:24:38 +00:00
perry
f73530ba55
add/cleanup multiple inclusion protection.
1998-02-10 01:26:19 +00:00
jtc
7c04233887
KERNEL -> _KERNEL
1995-03-26 20:23:52 +00:00
cgd
cf92afd66e
New RCS ID's, take two. they're more aesthecially pleasant, and use 'NetBSD'
1994-06-29 06:29:24 +00:00
mycroft
07b4f2ab54
Update to 4.4-Lite networking code, with a few local changes.
1994-05-13 06:02:48 +00:00
cgd
45a57e79ea
more rcsid additions and file header cleanups
1993-05-20 03:49:51 +00:00
mycroft
235bd1db44
Add consistent multiple-inclusion protection.
1993-04-19 03:45:34 +00:00
cgd
61f282557f
initial import of 386bsd-0.1 sources
1993-03-21 09:45:37 +00:00