From owner-freebsd-net Tue Apr 9 19: 1:23 2002 Delivered-To: freebsd-net@freebsd.org Received: from glatton.cnchost.com (glatton.cnchost.com [207.155.248.47]) by hub.freebsd.org (Postfix) with ESMTP id DF64737B400 for ; Tue, 9 Apr 2002 19:01:19 -0700 (PDT) Received: from bitblocks.com (adsl-209-204-185-216.sonic.net [209.204.185.216]) by glatton.cnchost.com id WAA21112; Tue, 9 Apr 2002 22:01:18 -0400 (EDT) [ConcentricHost SMTP Relay 1.14] Message-ID: <200204100201.WAA21112@glatton.cnchost.com> To: Julian Elischer Cc: net@freebsd.org Subject: Re: IP checksup update In-reply-to: Your message of "Tue, 09 Apr 2002 17:28:07 PDT." Date: Tue, 09 Apr 2002 19:01:17 -0700 From: Bakul Shah Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > > > (c) -= (u_int16_t) *((u_int16_t *) (np)); \ > ^^ hmm should that be "+=" ? I believe your original code is correct. See the paragraph right before section 6 on Page 4, rfc1624. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message