From owner-freebsd-net Sun Nov 11 0: 0:39 2001 Delivered-To: freebsd-net@freebsd.org Received: from InterJet.elischer.org (c421509-a.pinol1.sfba.home.com [24.7.86.9]) by hub.freebsd.org (Postfix) with ESMTP id BD88C37B41B for ; Sun, 11 Nov 2001 00:00:35 -0800 (PST) Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id XAA87927; Sat, 10 Nov 2001 23:44:12 -0800 (PST) Date: Sat, 10 Nov 2001 23:44:10 -0800 (PST) From: Julian Elischer To: Pekka Nikander Cc: Andre Oppermann , freebsd-net , Marco Molteni Subject: Re: A minimal IEEE 802.1x aka EAPOL implementation available In-Reply-To: <3BECCBCF.60903@nomadiclab.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sat, 10 Nov 2001, Pekka Nikander wrote: > > > That's one of the tricky parts with the current architecture. > I have to somehow tag the packets going to the userland with > both the interface and MAC address. The code is planned to > do that, but I still don't know what's the cleanest way of > passing this info to the userland. meta doesn't seem to be > a possibility since it cannot be passed to the userland side; > I'm reluctant of putting this info on the mbuf proper since > it would result in quite ugly code. Suggestions? > metadata can theoretically be sent to the userland side of things using the 'recvmsg()' system call if we defined the correct way of passing the control information back and forth. I have not done this yet because I didn't have a good example of how it should be useful but this example you show is such a case. > > > > Probably it should even be recognized by the TrustedBSD components, > > talk to for that. > > > I didn't get this one. What are TrustedBSD components, and why > I should talk about that? > > --Pekka Nikander > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-net" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message