Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Sep 2004 11:36:44 -0700
From:      Peter Wemm <peter@wemm.org>
To:        Brooks Davis <brooks@one-eyed-alien.net>
Cc:        cvs-src@freebsd.org
Subject:   Re: cvs commit: src/sbin/ifconfig ifconfig.c src/sys/net if.c if.h
Message-ID:  <200409021136.44582.peter@wemm.org>
In-Reply-To: <20040902152546.GA3801@odin.ac.hmc.edu>
References:  <200409011822.i81IMERb017602@repoman.freebsd.org> <20040902092916.GA61915@cirb503493.alcatel.com.au> <20040902152546.GA3801@odin.ac.hmc.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 02 September 2004 08:25 am, Brooks Davis wrote:
> 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.
> >
> > 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.

BTW, in case nobody noticed.. nothing sets the routing socket abi 
version number, and nothing checks it.  No versions are even defined.  
Well.. version 0 is implicit I guess. :-)

-- 
Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com
"All of this is for nothing if we don't go to the stars" - JMS/B5



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