mycroft
07b4f2ab54
Update to 4.4-Lite networking code, with a few local changes.
1994-05-13 06:02:48 +00:00
cgd
e0db92993a
change timeout/untimeout/wakeup/sleep/tsleep args to void *
1994-04-29 23:15:51 +00:00
mycroft
87b39add50
As I described this on comp.protocols.tcp-ip:
...
I've found a problem with the TCP delayed ack algorithm. If the writer's
buffer becomes full before sending an entire window, the writer will stop
and the ack will be delayed and the transmission will be stalled pending
a timeout on (and transmission of) the delayed ack.
As an experiment, I've applied the following patch to my (NetBSD) kernel,
and it alleviates the problem.
The worst case for this change is that the writer sets the PSH bit on
every outgoing packet, in which case delayed ack is effectively disabled.
This is not an issue of correctness, however, and since most vendors use
the PSH bit a bit more intelligently, it doesn't seem like a serious
problem.
1994-04-25 19:16:53 +00:00
mycroft
efa2794f99
Dummy arpintr() for now.
1994-04-18 23:25:57 +00:00
glass
a3b042140f
revised nfs diskless support. uses bootp+rpc to gather parameters
1994-04-18 06:18:05 +00:00
mycroft
55a96d2a3f
Acks with no data should have the highest sequence number sent.
1994-04-12 18:09:47 +00:00
mycroft
08230400b7
Patch from James Carlson to fix TCP stalls.
1994-04-12 18:07:46 +00:00
glass
ceb45a1b88
add missing explicit type declaration for func argument
1994-03-14 07:49:44 +00:00
mycroft
94b2718bd1
PARANOID --> DIAGNOSTIC for inexpensive tests.
1994-02-14 21:43:33 +00:00
mycroft
252495f006
Format police.
1994-02-10 18:46:04 +00:00
mycroft
bf98a55f37
Deprecate af.h.
1994-02-10 17:25:03 +00:00
hpeyerl
d7038296be
Multicast is no longer optional.
1994-02-02 05:58:50 +00:00
brezak
8243f1bb37
Fix some cases of NOT dealing with m_pkthdr's. This code is still suspect though, at least this fixes some panics.
1994-01-29 11:57:45 +00:00
deraadt
ad4dc0ab15
need a stub 'struct socket;' for a prototype
1994-01-28 13:46:02 +00:00
cgd
78e6a7e18d
renumber the IP setsockopt options back to the Reno/Net2 versions,
...
moving the multicast options after them
From: Mike Karels <karels@BSDI.COM>
(grr.)
1994-01-26 01:26:37 +00:00
deraadt
ba2361b102
ether_output() & ether_input() take ether_type as a net-short.
...
AF_UNSPEC does not swap byte order of ether_type.
NOTE: this requires driver changes
1994-01-23 23:42:50 +00:00
brezak
e568c13be8
Fix arguments to ip_getmoptions.
1994-01-19 21:36:56 +00:00
brezak
17ea2355b4
Fix some prototype detected warnings/errors.
1994-01-18 03:26:53 +00:00
brezak
38253dddb8
Patch for ip-multicast bugs from mccanne@ee.lbl.gov (Steven McCanne)
1994-01-18 02:36:53 +00:00
mycroft
627b841797
Change the counters to be all the same type -- u_long.
1994-01-10 23:27:39 +00:00
mycroft
e287c3d10e
Fix function name.
1994-01-10 23:20:07 +00:00
mycroft
b79490fcca
Should compile now with or without `options MULTICAST'.
1994-01-10 20:14:14 +00:00
mycroft
699565c826
Don't prototype this until it's safe.
1994-01-10 00:31:11 +00:00
mycroft
222ebaf50e
Prototype the rest.
1994-01-09 01:06:02 +00:00
mycroft
321b0c6090
More prototypes.
1994-01-08 23:50:41 +00:00
mycroft
12c88c1841
Remove some extra prototypes.
1994-01-08 23:26:40 +00:00
mycroft
26b5333c74
Slight rearrangement.
1994-01-08 23:19:48 +00:00
mycroft
0ff93a444b
Prototypes.
1994-01-08 23:17:18 +00:00
mycroft
e43117185e
Prototypes.
1994-01-08 23:07:16 +00:00
mycroft
4fe12e6e88
Fix some inconsistent spacing; spaces at the end of lines, etc.
1994-01-08 21:21:28 +00:00
cgd
9834dab564
kill COMPAT_OLDSOCKOPT
1994-01-07 22:16:11 +00:00
ws
0a8a197a17
Apparently noone ever tested the COMPAT_OLDSOCKOPT flag...
1994-01-06 23:00:22 +00:00
deraadt
49c0e9bead
"struct ether_addr" for ethers(3) functions.
1993-12-30 04:17:40 +00:00
mycroft
95b048b53a
Canonicalize all #includes.
1993-12-18 00:40:47 +00:00
hpeyerl
5097691559
>From cmaeda@cs.washington.edu; part of the multicast patches derived
...
from the Multicast patches for BSDI.
(I am a "big dopey bear" for having forgotten this. Thanx Havard.)
1993-12-13 15:10:40 +00:00
hpeyerl
ded89d12bc
>From cmaeda@cs.washington.edu; part of the multicast patches derived
...
from the Multicast patches for BSDI.
Thanx to Brad Parker for making me realize i'd forgotten to commit
this patch..(color me dopey)
1993-12-12 20:43:06 +00:00
hpeyerl
f0cbd5ece5
more Multicast stuff.
...
>From Chris Maeda, cmaeda@cs.washington.edu
These patches are derived from the IP Multicast patches for BSDI.
1993-12-08 23:48:05 +00:00
hpeyerl
9589a22f73
More multicast stuff.
...
>From Chris Maeda, cmaeda@cs.washington.edu
These patches are derived from the IP Multicast patches for BSDI.
1993-12-08 23:46:31 +00:00
cgd
39bb0b1bc8
oops; fix that last...
1993-12-06 07:14:45 +00:00
cgd
443babf5ac
the ugliest compatibility hack i think i've ever seen...
...
define COMPAT_OLDSOCKOPT to get new kernels to work with the
old args to [sg]sockopt. this is going to go away "soon".
note that this option only has effect if MULTICAST is not defined.
1993-12-06 06:46:28 +00:00
hpeyerl
4bfc470a3c
multicast patches
...
>From Chris Maeda, cmaeda@cs.washington.edu
These patches are derived from the IP Multicast patches for BSDI.
1993-12-06 05:46:37 +00:00
hpeyerl
aa7f3b23a8
multicast support.
...
>From Chris Maeda, cmaeda@cs.washington.edu
These patches are derived from the IP Multicast patches for BSDI.
1993-12-06 04:50:19 +00:00
cgd
ec3f94cfcd
fix from david greenman, davidg@freefall.cdrom.com:
...
fixed bug where large amounts of unidirectional UDP traffic would fill
the interface output queue and further udp packets would be fragmented
and only partially sent - keeping the output queue full and jamming the
network, but not actually getting any real work done (because you can't
send just 'part' of a udp packet - if you fragment it, you must send
the whole thing). The fix involves adding a check to make sure that the
output queue has sufficient space for all of the fragments.
1993-11-05 23:06:26 +00:00
cassidy
40c0c0a558
Add definition for reverse address resolution protocol.
1993-09-05 00:52:15 +00:00
andrew
0e6cb953ea
ANSIfications - removed all implicit function return types and argument
...
definitions. Ensured that all files include "systm.h" to gain access to
general prototypes. Casts where necessary.
1993-06-27 06:01:27 +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
deraadt
bda8918483
The latest patch was hosed. There is some program that I used which
...
left extra crud at the end of the file. I blame ftpd for not doing an
ftruncate().
1993-06-11 09:12:21 +00:00
deraadt
98d05222e5
patch from Yuval Yarom, sent to me by <andrew@werple.apana.org.au>
...
they say: When doing an implicit bind in_pcbbind will assign used ports
if the port is bound on specific interface, and not on INADDR_ANY.
Effects of the bug range from connection drops to machine hangs.
1993-06-10 05:17:53 +00:00
deraadt
6fe3b028cd
patch from Yuval Yarom, sent to me by <andrew@werple.apana.org.au>
...
The check that the destination of a forwarded ip packet is not on
the loopback net is wrong, and will always fail. The following patch
fixes the problem.
[allows "route add $hostname localhost" to be added to /etc/netstart to
keep things for $hostname away from the ethernet driver]
1993-06-10 05:16:46 +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