[patch] taking M_PROMISC from netbsd

2006-06-05 Thread Gregory Nou
Hi, I've (tried) to import M_PROMISC from netbsd, as suggested in project Dingo. There is not much difference from manuel bouyer's patch (see http://mail-index.netbsd.org/tech-net/2003/03/19/0001.html and http://mail-index.netbsd.org/source-changes/2003/03/25/0020.html) I've made the patch again

ping vs ping6 on localhost

2005-10-13 Thread Gregory Nou
Hi, I was making some small tests on ipv6 (before bigger ones, of course :)), and got some astonishing results: when doing a ping6 -c 20 ::1 => --- ::1 ping6 statistics --- 20 packets transmitted, 20 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.100/0.265/1.655/0.367 m

M_PROMISC and dingo

2006-01-10 Thread Gregory Nou
Hi, I came through project Dingo, and began some documentation work on the M_PROMISC item. If I don't misunderstand what I read, M_PROMISC is used to allow promiscuous mode work on VLANs, especially when there is multicast. (And of course, it has nothing to do with the Solaris' one: http://

Question on VLAN

2006-01-23 Thread Gregory Nou
Hi, What is the difference between if (m->m_flags & M_VLANTAG) and if (ether_type == ETHERTYPE_VLAN) ? I suppose that m->m_flags are set using ether_type at one point. Still, I was not able to find a location in the source where it would happen. The fact is, I do not understand the difference

Question on IFF_PPROMISC (and IFF_PROMISC)

2006-01-25 Thread Gregory Nou
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 alre