Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Aug 2001 10:07:00 -0500
From:      "Jacques A. Vidrine" <n@nectar.com>
To:        hackers@freebsd.org
Subject:   Re: inet6 address host <-> network order
Message-ID:  <20010821100700.B25444@madman.nectar.com>
In-Reply-To: <20010821093749.A25444@madman.nectar.com>; from n@nectar.com on Tue, Aug 21, 2001 at 09:37:49AM -0500
References:  <20010821093749.A25444@madman.nectar.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010821100700.B25444>