cvs commit: src/sbin/ifconfig ifconfig.c src/sys/net if.c if.h

Peter Wemm peter at wemm.org
Thu Sep 2 11:36:45 PDT 2004


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 at wemm.org; peter at FreeBSD.org; peter at yahoo-inc.com
"All of this is for nothing if we don't go to the stars" - JMS/B5


More information about the cvs-src mailing list