From owner-freebsd-hackers Tue Aug 21 8: 7: 9 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from gw.nectar.com (gw.nectar.com [208.42.49.153]) by hub.freebsd.org (Postfix) with ESMTP id D535537B403 for ; Tue, 21 Aug 2001 08:07:01 -0700 (PDT) (envelope-from nectar@nectar.com) Received: from madman.nectar.com (madman.nectar.com [10.0.1.111]) by gw.nectar.com (Postfix) with ESMTP id 345CF4C4 for ; Tue, 21 Aug 2001 10:07:01 -0500 (CDT) Received: (from nectar@localhost) by madman.nectar.com (8.11.3/8.11.3) id f7LF71926666 for hackers@freebsd.org; Tue, 21 Aug 2001 10:07:01 -0500 (CDT) (envelope-from nectar) Date: Tue, 21 Aug 2001 10:07:00 -0500 From: "Jacques A. Vidrine" To: hackers@freebsd.org Subject: Re: inet6 address host <-> network order Message-ID: <20010821100700.B25444@madman.nectar.com> References: <20010821093749.A25444@madman.nectar.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010821093749.A25444@madman.nectar.com>; from n@nectar.com on Tue, Aug 21, 2001 at 09:37:49AM -0500 X-Url: http://www.nectar.com/ Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Aug 21, 2001 at 09:37:49AM -0500, Jacques A. Vidrine wrote: > What's the most portable way of converting an IPv6 address from host > to network order? Nothing like following up your own post. RFC 2553 indicates that the IPv6 address is stored in the `struct in6_addr' in network byte order, so there shouldn't be any need to swap bytes. Cheers, -- Jacques Vidrine / n@nectar.com / jvidrine@verio.net / nectar@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message