Date: Thu, 2 Sep 2004 08:25:46 -0700 From: Brooks Davis <brooks@one-eyed-alien.net> To: Peter Jeremy <PeterJeremy@optushome.com.au> Cc: cvs-all@freebsd.org Subject: Re: cvs commit: src/sbin/ifconfig ifconfig.c src/sys/net if.c if.h Message-ID: <20040902152546.GA3801@odin.ac.hmc.edu> In-Reply-To: <20040902092916.GA61915@cirb503493.alcatel.com.au> References: <200409011822.i81IMERb017602@repoman.freebsd.org> <73F8DDC079929FAA3D43CA2E@caspian.scsiguy.com> <20040902092916.GA61915@cirb503493.alcatel.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
--HcAYCG3uE/tztfnV Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Sep 02, 2004 at 07:29:16PM +1000, Peter Jeremy wrote: > On Wed, 2004-Sep-01 14:44:45 -0600, Justin T. Gibbs wrote: > >You could squeeze out 256 bytes if you treat 0 as meaning 256 - just like > >the SCSI protocol. >=20 > It's too late now but you could support 1020 bytes by counting 4-byte > words instead of bytes. This doesn't lose anything because the struct > will always be padded to a multiple of 4 or 8 bytes. Yah, I that occured to me as well, but too late to do anything about it. I suppose we could redefine the unused values (odd numbers and multiples of 2 by not 4) to do that, but I think I'll leave that pressure in place to encourage someone to redo the routing socket API. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --HcAYCG3uE/tztfnV Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFBNzt2XY6L6fI4GtQRAtB3AJ0QpoV/GIy52FlYSw2jqdeNOeFp3wCfcI/7 qRfwrCS5nRLGJDzcL1FOPM8= =nSt6 -----END PGP SIGNATURE----- --HcAYCG3uE/tztfnV--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040902152546.GA3801>