Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Dec 2001 16:17:35 -0600
From:      Jonathan Lemon <jlemon@flugsvamp.com>
To:        Luigi Rizzo <rizzo@aciri.org>
Cc:        Jonathan Lemon <jlemon@FreeBSD.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/net if_var.h
Message-ID:  <20011214161735.Y377@prism.flugsvamp.com>
In-Reply-To: <20011214140547.A53193@iguana.aciri.org>
References:  <200112141938.fBEJcao39840@freefall.freebsd.org> <20011214140547.A53193@iguana.aciri.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Dec 14, 2001 at 02:05:47PM -0800, Luigi Rizzo wrote:
> On Fri, Dec 14, 2001 at 11:38:36AM -0800, Jonathan Lemon wrote:
> > jlemon      2001/12/14 11:38:36 PST
> > 
> >   Modified files:        (Branch: RELENG_4)
> >     sys/net              if_var.h 
> >   Log:
> >   MFC: r1.37; add entries for network device capabilitis.
> >   
> >   This is done in a different form; instead of adding new entries to
> >   'struct ifnet', we coopt several unused fields in the structure instead,
> >   in order to preserve binary compatability with previous releases.
> 
> I don't understand this.
> 
> Since you haven't put a #define for if_done and if_poll_recv, any
> code that might have used them is going to break, so you might as
> well have just replaced the old fields with the new ones.
> 
> Am I wrong ?

No; but I did it this way to insure that the structure size didn't
change on any of the architectures that we run on.  
-- 
Jonathan

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




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