From owner-freebsd-net@FreeBSD.ORG Sat Aug 6 11:44:09 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5BCED16A41F for ; Sat, 6 Aug 2005 11:44:09 +0000 (GMT) (envelope-from gbergling@0xfce3.net) Received: from generic.0xfce3.net (generic.0xfce3.net [62.75.158.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 06ABD43D88 for ; Sat, 6 Aug 2005 11:44:08 +0000 (GMT) (envelope-from gbergling@0xfce3.net) Received: from port-212-202-34-189.dynamic.qsc.de ([212.202.34.189] helo=[192.168.1.7]) by vs158227.vserver.de with esmtpa (Exim 4.50) id 1E1N5u-00050i-7P for freebsd-net@freebsd.org; Sat, 06 Aug 2005 13:44:02 +0200 Message-ID: <42F4A261.9060207@0xfce3.net> Date: Sat, 06 Aug 2005 13:43:29 +0200 From: Gordon Bergling User-Agent: Mozilla Thunderbird 1.0.6 (Macintosh/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-net@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [RFC] Port of DfBSDs new IP Checksum Code X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Aug 2005 11:44:09 -0000 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 . 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