Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Sep 2004 19:29:16 +1000
From:      Peter Jeremy <PeterJeremy@optushome.com.au>
To:        Brooks Davis <brooks@freebsd.org>
Cc:        cvs-all@freebsd.org
Subject:   Re: cvs commit: src/sbin/ifconfig ifconfig.c src/sys/net if.c if.h
Message-ID:  <20040902092916.GA61915@cirb503493.alcatel.com.au>
In-Reply-To: <73F8DDC079929FAA3D43CA2E@caspian.scsiguy.com>
References:  <200409011822.i81IMERb017602@repoman.freebsd.org> <73F8DDC079929FAA3D43CA2E@caspian.scsiguy.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

-- 
Peter Jeremy



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