Global (non _KERNEL) place for sockaddr_union?
brooks at one-eyed-alien.net
Tue Sep 21 09:12:10 PDT 2004
On Tue, Sep 21, 2004 at 03:02:20AM -0700, Bruce M Simpson wrote:
> On Mon, Sep 20, 2004 at 02:50:40AM +0200, Max Laier wrote:
> > My question now is, what would be a good place to define this? Are there any
> > fromal standarts that might define it already? (Couldn't find anything) Is
> > there anything else that I must consider?
> I think Brooks' recommendation is sound and should probably be followed
> as it's fairly close to my original recommendation to you in private.
> The problem is that the definition of the union depends on what you wish
> to use it for, and which address families are visible to the application
> or kernel module which is using the definition.
The real problem may be that KAME mistakenly gave sockaddr_union a
general name when it isn't and such a type would be hell to actually
work with. A custom union that does exactly what pf needs may be the
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20040921/110bd62c/attachment.bin
More information about the freebsd-hackers