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 <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED]
> with "unsubscribe freebsd-net" in the body of the message
> 


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message

Reply via email to