cgd
dd614d8474
parenthesize macro arg usage
1995-05-16 05:26:36 +00:00
cgd
0bfc08ac63
oops; forgot a '{'
1995-05-15 02:09:58 +00:00
cgd
05af191f3b
spacing fixups and KNF. #define ether address size, so it's not
...
hardcoded as '6' all over.
1995-05-15 01:30:44 +00:00
cgd
cd172a4d08
KNF
1995-05-15 01:25:21 +00:00
cgd
b4cd363b69
simplify ip_output() out-of-memory condition slightly, and style nits.
1995-05-15 01:24:53 +00:00
cgd
e7164bb2fd
"routine" precedence has a value of 0.
1995-05-15 01:22:44 +00:00
cgd
2c1e3c655f
drop (and record) malformed IP fragments. Fixes pr 1030 (differently).
1995-05-14 08:23:00 +00:00
cgd
c03b53c2e8
spacing cleaup. also, minor type mixup fixups.
1995-04-17 05:32:52 +00:00
chopps
999aa2cc32
update arc_input() proto to match reality.
1995-04-14 17:09:39 +00:00
cgd
1e2fe7fa41
oops; missed the chance to fix a cast, that then becamse a compiler warning.
1995-04-13 20:09:23 +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
cgd
b5b72d26ea
be a bit more careful and explicit with types. (basically a large no-op.)
1995-04-13 06:25:36 +00:00
mycroft
8b77f9cd5f
Remove some explicit references to loif.
1995-04-11 04:30:47 +00:00
mycroft
2f30839b62
Remove now unneeded #ifdef. Prototype new function.
1995-04-10 00:06:54 +00:00
mycroft
99cd177c88
Add a common function to initialize ARP-related variables. `Insired'
...
by Garrett Wollman.
1995-04-07 22:26:04 +00:00
briggs
6efcd1b6d4
KERNEL -> _KERNEL
1995-03-29 21:57:43 +00:00
jtc
7c04233887
KERNEL -> _KERNEL
1995-03-26 20:23:52 +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
glass
af55380e5a
remove references to arptnew. fix spelling error
1995-03-06 19:06:05 +00:00
glass
14e57cebfa
Fix for two bad tests in the raw IP socket input code. Only affected
...
raw sockets that were bound to a local address and/or connected to a
foreign address. Fix from Dan McDonald <danmcd@itd.nrl.navy.mil>
1995-03-02 09:33:40 +00:00
chopps
7908b4858d
add prototypes
1995-03-02 09:14:38 +00:00
glass
48b5b94c4f
fix some typos. from frank@fwi.uva.nl (Frank van der Linden)
1995-02-27 09:10:24 +00:00
glass
f634dc196b
preliminary arcnet support. uses lame but RFC address resolution
1995-02-23 07:19:49 +00:00
mycroft
153c5e083f
Fix a condition where we sometimes sent a FIN too early. Also, a small
...
optimization.
1995-01-23 20:18:35 +00:00
mycroft
4d0a512f67
Fix mbuf leak in rip_ctloutput().
1995-01-12 06:23:45 +00:00
mycroft
22ab689dfe
Fix off by one error in in_socktrim(), reported by Karn Fox.
1994-11-03 14:57:35 +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
deraadt
d6bfeb6b71
failure to bind to a reserved port should return EACCES not EPERM.
1994-09-29 02:31:35 +00:00
mycroft
f21c4cc68a
Fix byte-order bug in printf() statement.
1994-07-27 12:36:09 +00:00
cgd
e4cafbc7da
kill conflicting externs
1994-07-24 02:41:27 +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
chopps
9f0089f3ce
config.new hack for if_ether.c for lack of an `and' in the grammer
...
and protect some ether specific code in in.c
1994-06-21 03:54:27 +00:00
brezak
669769d3e0
Update to version 2 mrouting; from pre-4.4lite NetBSD + 4.4 mods
1994-06-09 16:01:53 +00:00
brezak
de3a00ee3d
Patch to fix ip cksum errors. From mccanne@ee.lbl.gov (Steven McCanne).
1994-06-09 15:59:47 +00:00
mycroft
f130f244e7
Remove a spurious splx().
1994-06-04 08:29:51 +00:00
mycroft
57de85fb31
Modify the loopback checks to deal with multiple interfaces.
1994-06-04 08:13:23 +00:00
gwr
2b888e2990
Back out some of my changes which Keith Sklower convinced me are
...
unnecessary. Leaving in just the essentials of the fix.
1994-06-04 03:15:09 +00:00
gwr
b02ab73537
Avoid accidentaly creating permanent entries at time==0
...
Routes created with RTM_ADD (i.e. manually added) are
permanent so leave their expiration time set to zero.
1994-06-03 02:54:26 +00:00
cgd
21c67feb12
i forgot a four letter word...
1994-05-14 06:25:32 +00:00
cgd
fa080c8fad
multiple inclusion protection, for the rpc headers
1994-05-14 05:46:35 +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
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