[RFC] Port of DfBSDs new IP Checksum Code
Gordon Bergling
gbergling at 0xfce3.net
Sat Aug 6 11:44:09 GMT 2005
Hi folks,
I have ported the new IP Checksum Code from DragonflyBSD to FreeBSD.
I have a patch available at
http://generic.0xfce3.net/freebsd/ipchecksum/20050805-ipchecksum.patch
This patch is against HEAD (also applies to RELENG_6).
There are a minor things where I would like to receive feedback before I'll
send-pr it.
- sys/conf/files.*
I comment the old in_cksum.c file out.
Should them be deleted?
- contrib/ipfilter/netinet/ip_compat.h
here is a "extern" definition of in_cksum()
I have comment it out. It compiles right away, but I am not sure that
I have done the right thing. comments? ;)
Please not that is only the kernel part for now. I know there are some
programs in userland which require <machine/in_cksum.h>.
On of those programs is natd. At this time I grep through /usr/src to find
any programs which include the old in_cksum.h.
These things are most time s/machine/sys/ so it should be hard to do.
I'll provide a patch in a few hours for this.
Any feedback would greatly be appreciated.
best regards,
Gordon
More information about the freebsd-net
mailing list