From owner-freebsd-net Tue Mar 12 7:40:49 2002 Delivered-To: freebsd-net@freebsd.org Received: from web.cs.ndsu.nodak.edu (web.cs.ndsu.NoDak.edu [134.129.125.7]) by hub.freebsd.org (Postfix) with ESMTP id 9C96837B662 for ; Tue, 12 Mar 2002 07:40:14 -0800 (PST) Received: (from tinguely@localhost) by web.cs.ndsu.nodak.edu (8.11.4/8.11.4) id g2CFcYA03380; Tue, 12 Mar 2002 09:38:34 -0600 (CST) (envelope-from tinguely) Date: Tue, 12 Mar 2002 09:38:34 -0600 (CST) From: mark tinguely Message-Id: <200203121538.g2CFcYA03380@web.cs.ndsu.nodak.edu> To: alpha_byte@centras.lt, ryan@sasknow.com Subject: Re: help with tcp checksum Cc: freebsd-net@FreeBSD.ORG In-Reply-To: <003901c1c911$b5f90f30$a61b3bd4@alpha> 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 just a PS reminder that you need to put the IP/ports in network byte order. appropriate htonl() and htons() must be used if the the values are not already in network byte order. You may get away with not doing this on a Sparc (or Alpha?) because of their endian is network byte order. --mark tinguely. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message