kleink
8fb48a5db9
Eliminate a superflouus `if' statement: when detaching the TCP protocol from
...
a socket, just calling tcp_disconnect() on the tcpcb will do the right thing.
From Thorsten Frueauf <frueauf@ira.uka.de> and W. Richard Stevens in PR/3738
resp. TCP/IP Illustrated, Vol. 2.
1997-06-12 18:41:14 +00:00
mycroft
f399db63a4
Make sure the control mbufs are freed in all cases.
1996-05-23 17:03:27 +00:00
mycroft
e930766cdc
Minor changes.
1996-05-23 16:13:19 +00:00
mycroft
49d52c9b1c
Pass a proc pointer down to the usrreq and pcbbind functions for PRU_ATTACH, PRU_BIND and
...
PRU_CONTROL. The usrreq interface really needs to be split up, but this will have to wait.
Remove SS_PRIV completely.
1996-05-22 13:54:55 +00:00
christos
14d9cd33af
netinet prototypes
1996-02-13 23:40:59 +00:00
mycroft
ac01b2f206
Add a comment describing the previous.
1996-01-31 05:42:37 +00:00
mycroft
a4e1bceb84
If we close from FIN_WAIT_2 state, make sure we don't leave the socket
...
around forever if we don't get a final FIN. From Arne Juul, PR 1659.
1996-01-31 05:37:29 +00:00
thorpej
7884abf9e5
Implement tcp_sysctl(). Add a sysctl option to enable/disable RFC1323
...
extensions to TCP. From John Kohl <jtk@kolvir.blrc.ma.us>.
1995-09-30 07:02:00 +00:00
mycroft
5482957905
splnet --> splsoftnet
1995-08-12 23:59:09 +00:00
mycroft
6897f39ae9
Various cleanup, including:
...
* Convert several data structures to use queue.h.
* Split in_pcbnotify() into two parts; one for notifying a specific PCB, and
one for notifying all PCBs for a particular foreign address.
1995-06-12 00:46:47 +00:00
cgd
80929f8527
be a bit more careful and explicit with types. (basically a large no-op.)
1995-04-13 06:35:38 +00:00
glass
e553431826
Default linger time was 120 clock ticks instead of the intended
...
2 minutes.
[Bug pointed out by Wright/Stevens in TCP/IP Illustrated Vol II]
1995-03-21 07:48:14 +00:00
mycroft
63bb09e6da
Don't return received data to the user until the initial handshake is complete.
...
Also use TCPS_HAVEESTABLISHED() in a few other places.
1994-10-14 16:01:48 +00:00
mycroft
b94d5a36e7
Increase the default window size to 16k.
1994-10-13 14:26:15 +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
mycroft
627b841797
Change the counters to be all the same type -- u_long.
1994-01-10 23:27:39 +00:00
mycroft
12c88c1841
Remove some extra prototypes.
1994-01-08 23:26:40 +00:00
mycroft
e43117185e
Prototypes.
1994-01-08 23:07:16 +00:00
mycroft
95b048b53a
Canonicalize all #includes.
1993-12-18 00:40:47 +00:00
cgd
e5d4c777bd
bump sendspace and recvspace up to 8k each; rod says
...
these should be safe values...
1993-06-15 02:25:26 +00:00
cgd
fe1802950b
add include of select.h if necessary for protos, or delete if extraneous
1993-05-22 11:40:42 +00:00
cgd
8d6c77881c
make kernel select interface be one-stop shopping & clean it all up.
1993-05-18 18:18:40 +00:00
cgd
61f282557f
initial import of 386bsd-0.1 sources
1993-03-21 09:45:37 +00:00