Date: Tue, 21 Sep 2004 09:14:20 -0700 From: Brooks Davis <brooks@one-eyed-alien.net> To: Max Laier <max@love2party.net>, freebsd-arch@freebsd.org, freebsd-hackers@freebsd.org, freebsd-standards@freebsd.org, freebsd-net@freebsd.org Subject: Re: Global (non _KERNEL) place for sockaddr_union? Message-ID: <20040921161420.GA17290@odin.ac.hmc.edu> In-Reply-To: <20040921100220.GC842@empiric.icir.org> References: <200409200250.49518.max@love2party.net> <20040921100220.GC842@empiric.icir.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--k+w/mQv8wyuph6w0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 ther= e any=20 > > fromal standarts that might define it already? (Couldn't find anything)= Is=20 > > there anything else that I must consider? >=20 > I think Brooks' recommendation is sound and should probably be followed > as it's fairly close to my original recommendation to you in private. >=20 > 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 --=20 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 --k+w/mQv8wyuph6w0 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFBUFNcXY6L6fI4GtQRAmqKAKDCDS6aW5tOLvwi5OE7cOny3qj6xgCfRBDr 0QaUauCEGn2Ij3DHL0SBPwg= =5V32 -----END PGP SIGNATURE----- --k+w/mQv8wyuph6w0--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040921161420.GA17290>