From owner-freebsd-hackers@FreeBSD.ORG Tue Jan 9 02:59:20 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0F6AD16A407 for ; Tue, 9 Jan 2007 02:59:20 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outL.internet-mail-service.net (outL.internet-mail-service.net [216.240.47.235]) by mx1.freebsd.org (Postfix) with ESMTP id DC82513C458 for ; Tue, 9 Jan 2007 02:59:19 +0000 (UTC) (envelope-from julian@elischer.org) Received: from shell.idiom.com (HELO idiom.com) (216.240.47.20) by out.internet-mail-service.net (qpsmtpd/0.32) with ESMTP; Mon, 08 Jan 2007 18:40:49 -0800 Received: from [10.251.23.190] (nat.ironport.com [63.251.108.100]) by idiom.com (8.12.11/8.12.11) with ESMTP id l092xG2K038454; Mon, 8 Jan 2007 18:59:18 -0800 (PST) (envelope-from julian@elischer.org) Message-ID: <45A30500.4040705@elischer.org> Date: Mon, 08 Jan 2007 18:59:12 -0800 From: Julian Elischer User-Agent: Thunderbird 1.5.0.9 (Macintosh/20061207) MIME-Version: 1.0 To: Lowell Gilbert References: <20070108203211.GF41066@nerds.org.uk> <45A2BEEE.5010202@elischer.org> <44hcv188y9.fsf@be-well.ilk.org> In-Reply-To: <44hcv188y9.fsf@be-well.ilk.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org Subject: Re: TCP Checksums in mbufs X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Jan 2007 02:59:20 -0000 Lowell Gilbert wrote: > > > Actually, it is as easy as that. And it's exactly the way this kind > of case is usually handled. almost.. you need to account for the fact that our computers are 2-s compliment machines and the checksum is a 1-s compliment checksum > >> I think it's given in one of the RFCs but I think it may also >> be used in the tcpmss port, or possibly the mss fixup code in ppp. >> I know I've used it somewhere but forget where :-) > > RFC 1071, but that doesn't include the code. Just the one-sentence > explanation of what to do. [And several more sentences of > explanation...] > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"