From owner-cvs-all Sat Mar 24 0: 8:51 2001 Delivered-To: cvs-all@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 4D81537B71D; Sat, 24 Mar 2001 00:08:40 -0800 (PST) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id f2O88cW05308; Sat, 24 Mar 2001 00:08:38 -0800 (PST) Date: Sat, 24 Mar 2001 00:08:38 -0800 From: Alfred Perlstein To: Bruce Evans Cc: John Baldwin , Hajimu UMEMOTO , cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org Subject: Re: cvs commit: src/include/arpa inet.h src/sys/netinet in.h src Message-ID: <20010324000838.D9431@fw.wintelcom.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from bde@zeta.org.au on Sat, Mar 24, 2001 at 07:04:24PM +1100 X-all-your-base: are belong to us. Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Bruce Evans [010324 00:05] wrote: > On Fri, 23 Mar 2001, John Baldwin wrote: > > > On 23-Mar-01 Hajimu UMEMOTO wrote: > > > ... > > > Log: > > > IPv4 address is not unsigned int. This change introduces in_addr_t. > > > It seems i386 is evil and doesn't use in_addr_t or in_port_t in its > > machine/endian.h. This probably breaks ia64 as well. Will you move in_port_t > > into sys/types.h as well and then convert the i386 endian.h to use the right > > types? > > wollman once objected to using it there. I don't remember why, but > it may have been because these types are misspellings of uint32_t, > etc. ipv4 addresses have precisely 32 bits, so using an opaque type > for them can be considered bogus. Also, in_addr_t is a bogus name. > Only ipv4 internet address fit in it. I agree that in_addr_t is very bogus. Any chance on doing something like in_addr4_t or something that's correct? -- -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] Daemon News Magazine in your snail-mail! http://magazine.daemonnews.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message