Re: Global (non _KERNEL) place for sockaddr_union?

From: Brooks Davis (brooks_at_one-eyed-alien.net)
Date: 09/21/04

  • Next message: Hajimu UMEMOTO: "Re: Global (non _KERNEL) place for sockaddr_union?"
    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
    
    



  • Next message: Hajimu UMEMOTO: "Re: Global (non _KERNEL) place for sockaddr_union?"

    Relevant Pages

    • Re: Global (non _KERNEL) place for sockaddr_union?
      ... > 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 real problem may be that KAME mistakenly gave sockaddr_union a ... A custom union that does exactly what pf needs may be the ...
      (freebsd-hackers)
    • Re: Global (non _KERNEL) place for sockaddr_union?
      ... > 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 real problem may be that KAME mistakenly gave sockaddr_union a ... A custom union that does exactly what pf needs may be the ...
      (freebsd-net)
    • Re: Global (non _KERNEL) place for sockaddr_union?
      ... brooks> The real problem may be that KAME mistakenly gave sockaddr_union a ... brooks> general name when it isn't and such a type would be hell to actually ... Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, ...
      (freebsd-arch)
    • Re: Global (non _KERNEL) place for sockaddr_union?
      ... brooks> The real problem may be that KAME mistakenly gave sockaddr_union a ... brooks> general name when it isn't and such a type would be hell to actually ... Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, ...
      (freebsd-hackers)
    • Re: Global (non _KERNEL) place for sockaddr_union?
      ... brooks> The real problem may be that KAME mistakenly gave sockaddr_union a ... brooks> general name when it isn't and such a type would be hell to actually ... Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, ...
      (freebsd-net)