Bruce Evans
ff98689d2d
Fixed recent staticizations. Some protypes for static functions were
...
left in headers and not staticized.
1995-11-16 09:51:22 +00:00
Poul-Henning Kamp
0312fbe97d
New style sysctl & staticize alot of stuff.
1995-11-14 20:34:56 +00:00
Garrett Wollman
6dfab5b1e1
Merge 4.4-Lite-2: always check the UDP checksum if it is present, even
...
if we are not generating checksums. (Save a test in the input path.)
1995-09-22 19:56:26 +00:00
Andras Olah
7eb7a449c4
Add a sanity check for the UDP length field in order to prevent
...
malformed UDP packets to panic the kernel.
Reviewed by: davidg, wollman
Obtained from: dab@berserkly.cray.com (David A. Borman) via end2end list
1995-08-17 22:09:14 +00:00
Rodney W. Grimes
9b2e535452
Remove trailing whitespace.
1995-05-30 08:16:23 +00:00
David Greenman
94a5d9b6a1
Replaced some bcopy()'s with memcpy()'s so that gcc while inline/optimize.
1995-05-09 13:35:48 +00:00
David Greenman
0d7b7d3ea7
Changed in_pcblookuphash() to not automatically call in_pcblookup() if
...
the lookup fails. Updated callers to deal with this. Call in_pcblookuphash
instead of in_pcblookup() in in_pcbconnect; this improves performance of
UDP output by about 17% in the standard case.
1995-05-03 07:16:53 +00:00
David Greenman
15bd2b4385
Implemented PCB hashing. Includes new functions in_pcbinshash, in_pcbrehash,
...
and in_pcblookuphash.
1995-04-09 01:29:31 +00:00
Bruce Evans
b5e8ce9f12
Add and move declarations to fix all of the warnings from `gcc -Wimplicit'
...
(except in netccitt, netiso and netns) and most of the warnings from
`gcc -Wnested-externs'. Fix all the bugs found. There were no serious
ones.
1995-03-16 18:17:34 +00:00
Garrett Wollman
1c09f77422
spl back down in unusual out-of-memory condition in udp_output().
...
Obtained from: Stevens, vol. 2, exercise 23.4 (solution p. 1083)
1995-02-16 01:47:36 +00:00
Garrett Wollman
9bb8795d71
Don't add back in the IP header length to ip_len; icmp_error will do it
...
for us.
Obtained from: Stevens, vol. 2, p. 774
1995-02-16 01:25:06 +00:00
Garrett Wollman
f2ea20e676
Add lots of useful MIB variables and a few not-so-useful ones for
...
completeness.
1995-02-16 00:27:47 +00:00
Poul-Henning Kamp
623ae52e4e
GCC cleanup.
...
Reviewed by:
Submitted by:
Obtained from:
1994-10-02 17:48:58 +00:00
David Greenman
3c4dd3568f
Added $Id$
1994-08-02 07:55:43 +00:00
Rodney W. Grimes
26f9a76710
The big 4.4BSD Lite to FreeBSD 2.0.0 (Development) patch.
...
Reviewed by: Rodney W. Grimes
Submitted by: John Dyson and David Greenman
1994-05-25 09:21:21 +00:00
Rodney W. Grimes
df8bae1de4
BSD 4.4 Lite Kernel Sources
1994-05-24 10:09:53 +00:00