Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Aug 2002 11:48:33 -0700
From:      Brooks Davis <brooks@one-eyed-alien.net>
To:        Maxim Sobolev <sobomax@FreeBSD.ORG>
Cc:        hackers@FreeBSD.ORG, net@FreeBSD.ORG
Subject:   Re: Increasing size of if_flags field in the ifnet structure [patch for review]
Message-ID:  <20020815114830.A21334@Odin.AC.HMC.Edu>
In-Reply-To: <3D5BF635.3764C796@FreeBSD.org>; from sobomax@FreeBSD.ORG on Thu, Aug 15, 2002 at 09:43:01PM %2B0300
References:  <3D5BF635.3764C796@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--ikeVEW9yuYc//A+q
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Aug 15, 2002 at 09:43:01PM +0300, Maxim Sobolev wrote:
>=20
> When implementing ability to switch interface into promisc mode using
> ifconfig(8) I've stumbled into the problem with already exhausted
> space in the `short if_flags' field in the ifnet structure. I need to
> allocate one new flag, while we already have 16 IFF_* flags, and even
> one additional flag which is implemented using currently free
> if_ipending field of the said structure. Attached patch is aimed at
> increasing size of if_flags to 32 bits, as well as to clean-up
> if_ipending abuse. Granted, it will break backward ABI compatibility,
> but IMO it is not a big problem.

Sounds reasionable to me.  We're going to break the API and ABI shortly
for if_xname conversion anyway.

-- 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

--ikeVEW9yuYc//A+q
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9W/d9XY6L6fI4GtQRAr3vAKCUSyK4GTaJ6GgWK9kQA3MEkr4vDwCgvaSc
Js83NCI5VNTe5la9WqMTMFY=
=Xecb
-----END PGP SIGNATURE-----

--ikeVEW9yuYc//A+q--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




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