[2155] in linux-net channel archive

home help back first fref pref prev next nref lref last post

Re: question

daemon@ATHENA.MIT.EDU (Bjorn Ekwall)
Tue Mar 19 17:36:39 1996

From: bj0rn@blox.se (Bjorn Ekwall)
To: tdyas@eden.rutgers.edu (Tom Dyas)
Date: 	Tue, 19 Mar 1996 23:07:56 +0100 (MET)
Cc: linux-net@vger.rutgers.edu
In-Reply-To: <CMM-RU.1.5.827273044.tdyas@er6.rutgers.edu> from "Tom Dyas" at Mar 19, 96 05:04:04 pm

Tom Dyas <tdyas@eden.rutgers.edu> wrote:
> 
> Minor question about the net module stuff regarding the protocol
> private protinfo in the socket state structure. Currently, we
> conditionally compile the differnet portions of the protinfo union
> based on the configuration macros. However, with net modules, we are
> faced with two possibilities:
> 
> 1) Forget conditional compilation and just delcare all possible union
> members. It might take up a little more space if there is a protocol
> with a big private structure but not much more since it is a union and
> the space overlaps.

Definitely!  This would also make the module symbol versioning
much more useful, since the version strings ("a_symbol_Ra0b1c2d3")
would then be the same regardless of the configuration.


Bjorn  <bj0rn@blox.se>


home help back first fref pref prev next nref lref last post