heas
d6e174eefd
Adjust csum_data usage; mask off the high 16 bits.
2005-02-18 01:10:44 +00:00
heas
0f8efdd552
My last change for pseudo-header checksums was flawed. The pseudo-header
...
checksum is always in the L4 header by the time we get to this point. It
was occasionally not there due to a bug in tcp_respond, which has since
been fixed.
So, instead just stash the length of the L3 header in the high 16 bits of
csum_data.
2005-02-18 00:52:56 +00:00
heas
9d624b89de
Add handling for hardware TCP/UDP checksums.
2005-02-18 00:40:32 +00:00
heas
7056d7dd2a
Handle interface IFF_DEBUG flags sooner in hme_ioctl and cache a copy of
...
sc_ethercom.ec_capenable such that we can properly adjust the max frame size
when vlan tagging is enabled/disabled.
2005-02-18 00:22:11 +00:00
peter
e5d29518c6
Remove one repeated word. From Martin Végiard.
2005-02-18 00:21:37 +00:00
peter
dc3b7c44eb
Fix a typo, recieve -> receive. From Martin Végiard.
2005-02-18 00:17:13 +00:00
christos
1a940a96f9
remove extraneous `*' that caused a core-dump.
2005-02-17 21:22:25 +00:00
christos
3f899b0a98
do some manual CSE.
2005-02-17 19:58:21 +00:00
tron
f82977b51c
Fix lint warning caused by last change.
2005-02-17 19:15:38 +00:00
xtraeme
ef1154956f
Kill __P(), use ANSI function declarations; WARNS=3.
2005-02-17 17:41:34 +00:00
xtraeme
6dca62f25b
Kill __P(), use ANSI function declarations, constify; WARNS=3.
2005-02-17 17:35:47 +00:00
xtraeme
ee89c9ff79
Kill __P(), use ANSI function declarations.
2005-02-17 17:31:28 +00:00
xtraeme
1db2ef90e1
Kill __P(), use ANSI function declarations, constify; WARNS=3.
2005-02-17 17:29:58 +00:00
xtraeme
abda23981e
Kill __P(), use ANSI function declarations, constify; WARNS=3.
2005-02-17 17:17:25 +00:00
xtraeme
6dd2a8ed92
Kill __P(), use ANSI function declarations; WARNS=3.
2005-02-17 17:12:42 +00:00
xtraeme
971b39df9c
Kill __P(), use ANSI function declarations.
2005-02-17 16:53:45 +00:00
xtraeme
d33a7206d5
Kill __P(), use ANSI function declarations.
2005-02-17 16:29:26 +00:00
xtraeme
06bca8b1ce
Kill __P().
2005-02-17 16:07:53 +00:00
xtraeme
0b39b8da10
Kill __P(), use ANSI function declarations.
2005-02-17 15:17:44 +00:00
tsutsui
13238da8a4
Account ifp->if_opackets and ifp->if_collisions.
2005-02-17 15:16:26 +00:00
xtraeme
f224c38b66
Kill __P(), use ANSI function declarations.
2005-02-17 15:00:33 +00:00
tsutsui
6b5872e584
Add __attribute__((__packed__)) to structure declarations of DMA descriptors.
...
Checked on 712/60. (hmm, I wonder how does it work before...)
2005-02-17 14:56:37 +00:00
tsutsui
9411ae0318
and add options COMPAT_20.
2005-02-17 14:44:50 +00:00
tsutsui
04c0426781
Add options COMPAT_16.
2005-02-17 14:44:06 +00:00
tsutsui
061b204c56
user_backtrace() is used if DEBUG or USERTRACE is defined, but not DIAGNOSTIC.
2005-02-17 14:19:49 +00:00
tsutsui
7989b67eb5
Add __attribute__((__packed__)) to DMA descriptor declarations.
2005-02-17 11:32:42 +00:00
tsutsui
c1510a551c
Allow MD attachments to override CTEST4 register value.
2005-02-17 11:30:58 +00:00
tsutsui
a68fa671e6
Remove unneeded includes.
2005-02-17 11:23:36 +00:00
he
932c2bb115
In the __lint__ version of __builtin_va_arg(), apply the cast the
...
user specified. Fixes build problem.
2005-02-17 08:35:24 +00:00
taca
3b1c86cc41
ISC DHCP 3.0.2 has released.
...
ISC DHCP 3.0.2 is now available. This release fixes a number of bugs
present in the previous (3.0.1) release of ISC DHCP, most notably a
few failover bugs, a protocol violation, and a significant repair to
the selection and allocation of expired/abandoned leases. As this is a
maintenance release, no new features have been added.
2005-02-17 05:28:48 +00:00
enami
aa6d8c7778
Jump to just before the copy instead of after it. Saves 8 byte on i386.
2005-02-17 04:30:23 +00:00
enami
d02f179fc6
Simplify, KNF and plug leaks. Compile test only.
2005-02-17 04:16:09 +00:00
christos
a05a0bbcb8
Deal with possibly uninitialized variable, and tidy up a bit.
2005-02-17 04:14:31 +00:00
christos
9606238d80
There were more broken things aside from the __'s missing.
2005-02-17 03:12:36 +00:00
briggs
a6246199bb
Supply _kvm_kvatop() and _kvm_pa2off() for OEA-type CPUs. This does
...
not yet support other PPC CPU types.
Contributed by Wasabi Systems Inc.
2005-02-17 02:31:27 +00:00
christos
0a15d30196
Don't forget the trailing __'s in NetBSD Version. Should fix PR/29407.
2005-02-17 02:26:51 +00:00
briggs
367930c274
Add (back) spr.h
2005-02-17 02:24:47 +00:00
briggs
f47f1e617d
Add spr.h
2005-02-17 02:24:00 +00:00
briggs
6451b0332b
Update to a kcore_hdr_t that is useful for OEA-style CPUs. Adding
...
support for Book-E and other CPUs will require updating this structure
appropriately.
Contributed by Wasabi Systems, Inc.
2005-02-17 02:21:28 +00:00
christos
81a2ba5600
Simplify and KNF. Instead of keeping track if the pointer was allocated,
...
keep a copy of the pointer itself and only re-use it if the current
environment is equal to the saved pointer. Idea from OpenBSD. Avoids
problem of re-allocing a non-allocated pointer if a program resets the
environment after it has been grown.
2005-02-17 02:17:43 +00:00
briggs
9ca4305a3b
Add spr.h.
2005-02-17 02:14:52 +00:00
briggs
7e9ffb8e19
Install spr.h
2005-02-17 02:14:23 +00:00
simonb
6c20b6dd04
Fix formatting problems with previous change.
2005-02-17 00:53:45 +00:00
reinoud
cc0a2a8fbb
Add the KERNEL-only flag FKIOCTL (like its named in Solaris) to be passed
...
as extra flag to VOP_IOCTL() calls to indicate that addresses/data blocks
specified in the ioctl paramter like an address to a datablock to be filled
is for kernel use and not for userland.
The few ioctl calls that have this kind of variable-length parameter
passing can then decide if they ought to use copyout() or to use memcpy()
depending on this FKIOCTL flag.
Name and patch discussed on tech-kern.
2005-02-16 23:34:05 +00:00
yamt
e931d47c16
update status of yamt-km.
2005-02-16 22:13:31 +00:00
chs
d67b9b2ff2
undo the part of rev. 1.93 that turned the past-EOF check into an assertion.
...
read() can't request pages past EOF, but mmap() can. apparently I had
disengaged the brain when I said that was ok.
2005-02-16 15:25:33 +00:00
christos
63fca13660
PR/29203, PR/29204: Max Okumoto: KNF changes to make [no functional changes]
2005-02-16 15:11:52 +00:00
briggs
da725d663a
Initialize snd_high as part of tcp_sendseqinit().
...
From Kentaro A. Kurahone.
2005-02-16 15:00:47 +00:00
briggs
a825f3e77c
Initialize t_partialacks in the tcpcb template.
...
From Kentaro A. Kurahone.
2005-02-16 14:59:40 +00:00
jwise
4cf2ccf6dc
Wording fix. Comment still not entirely clear.
2005-02-16 14:47:46 +00:00