Question on IFF_PPROMISC (and IFF_PROMISC)

Gregory Nou gregorynou at altern.org
Wed Jan 25 17:17:11 PST 2006


Hi,

I found a (somewhat old) post from gnn@ on this topic there :
http://unix.derkeiler.com/Mailing-Lists/FreeBSD/net/2004-09/0289.html

I also think that it would be a good idea to do it (at least, it would 
be easier to understand, because IFF_PPROMISC is not that explicit). If 
nobody has already done it, I'll work on this.

There is another point on which I would appreciate to know your opinion:
referring to if.c[1269], I understand that if IFF_PPROMISC is set in 
ifp->if_flags, IFF_PROMISC should be set to (or we are in a transient
situation).
It appears that if_ethersubr.c[652] is working in this case. Isn't it a 
mistake ?

Thanks a lot !
-- 
Gregory

PS : Gleb, Jon, thanks for your answers on vlan. It helped a lot :)


More information about the freebsd-net mailing list