Subject: Re: Not so fun discovery...
To: None <thorpej@zembu.com>
From: Anders Magnusson <ragge@ludd.luth.se>
List: tech-net
Date: 06/07/2000 19:43:47
> On Wed, Jun 07, 2000 at 10:31:12AM -0700, Matt Thomas wrote:
> 
>  > >i.e., I think all ports are now using MI code for IP checksums in most
>  > >cases.
>  > >
>  > >This should probably be fixed for 1.5 ...
>  > 
>  > The vax had its own in_cksum.c.  Don't tell me kame isn't using it.
> 
> It's not using it.  Sorry.
> 
Eh, a quick grep in netinet for in_cksum() shows a bunch of calls, but 
for in4_cksum() only two: in tcp_input.c and udp_usrreq.c, and the 
one in tcp_input.c is ifdef'd out. 
in_cksum.c is the machine dependent code:

/sys/arch/vax/compile/GENERIC >grep in_cksum Makefile
        autoconf.o in_cksum.o in4_cksum.o disksubr.o db_machdep.o \
        $S/arch/vax/vax/autoconf.c $S/arch/vax/vax/in_cksum.c \
in_cksum.o: $S/arch/vax/vax/in_cksum.c

so it looks so anyway...

-- Ragge