Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Aug 2002 11:50:59 -0700 (PDT)
From:      Julian Elischer <julian@elischer.org>
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:  <Pine.BSF.4.21.0208151150091.27476-100000@InterJet.elischer.org>
In-Reply-To: <3D5BF635.3764C796@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
you cannot break ABIs in 4.x
in 5.x it will probably be ok until (say) 5.1 or something.


On Thu, 15 Aug 2002, Maxim Sobolev wrote:

> Folks,
> 
> 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.
> 
> Comments and suggestions are greatly appreciated. Thanks!
> 
> -Maxim


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0208151150091.27476-100000>