svn commit: r238228 - in stable/9/sys: amd64/include arm/include i386/include ia64/include mips/include powerpc/include sparc64/include

Bjoern A. Zeeb bz at FreeBSD.org
Sun Jul 8 10:59:21 UTC 2012


On 8. Jul 2012, at 10:46 , Bjoern A. Zeeb wrote:

> Author: bz
> Date: Sun Jul  8 10:46:55 2012
> New Revision: 238228
> URL: http://svn.freebsd.org/changeset/base/238228
> 
> Log:
>  MFC r235941:
> 
>     in_cksum.h required ip.h to be included for struct ip.  To be
>     able to use some general checksum functions like in_addword()
>     in a non-IPv4 context, limit the (also exported to user space)
>     IPv4 specific functions to the times, when the ip.h header is
>     present and IPVERSION is defined (to 4).
> 
>  Approved by:	re
> 
> Modified:
>  stable/9/sys/amd64/include/in_cksum.h
>  stable/9/sys/arm/include/in_cksum.h
>  stable/9/sys/i386/include/in_cksum.h
>  stable/9/sys/ia64/include/in_cksum.h
>  stable/9/sys/mips/include/in_cksum.h
>  stable/9/sys/powerpc/include/in_cksum.h
>  stable/9/sys/sparc64/include/in_cksum.h


There still is cleanup to follow in HEAD as discussed with bde (general
cleanup on these files) but for the time being it was not possible
to address it anymore.

/bz

-- 
Bjoern A. Zeeb                                 You have to have visions!
   It does not matter how good you are. It matters what good you do!



More information about the svn-src-stable-9 mailing list