Re: Global (non _KERNEL) place for sockaddr_union?
From: Brooks Davis (brooks_at_one-eyed-alien.net)
Date: 09/21/04
- Previous message: Eivind Eklund: "Re: [HEADSUP] naming of tty devices."
- In reply to: Bruce M Simpson: "Re: Global (non _KERNEL) place for sockaddr_union?"
- Next in thread: Hajimu UMEMOTO: "Re: Global (non _KERNEL) place for sockaddr_union?"
- Reply: Hajimu UMEMOTO: "Re: Global (non _KERNEL) place for sockaddr_union?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 21 Sep 2004 09:14:20 -0700 To: Max Laier <max@love2party.net>, freebsd-arch@freebsd.org, freebsd-hackers@freebsd.org, freebsd-standards@freebsd.org, freebsd-net@freebsd.org
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
best approach.
-- Brooks
-- 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
- application/pgp-signature attachment: stored
- Previous message: Eivind Eklund: "Re: [HEADSUP] naming of tty devices."
- In reply to: Bruce M Simpson: "Re: Global (non _KERNEL) place for sockaddr_union?"
- Next in thread: Hajimu UMEMOTO: "Re: Global (non _KERNEL) place for sockaddr_union?"
- Reply: Hajimu UMEMOTO: "Re: Global (non _KERNEL) place for sockaddr_union?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|