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

Brooks Davis brooks at
Thu Sep 2 08:25:15 PDT 2004

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.

-- Brooks

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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url :

More information about the cvs-src mailing list