[PATCH] IFF_MONITOR support for Ethernet devices

Matthew Dillon dillon at apollo.backplane.com
Fri Dec 15 19:43:41 PST 2006


:    Matt, since you are on it. I also took a look at IFF_STATICARP,
:but given that the ARP table seems to be now per CPU I got stuck. I
:really needed the monitor mode feature *fast* and I didn't spend much
:time reading the rest of the source. I would like to give
:IFF_STATICARP a try as well so I'd like to know if there are
:particular details that I should keep in mind. Thanks.

    Well.  IFF_STATICARP would be easy to implement, probably just two or
    three lines of code (like FreeBSD, in approximately the same places),
    but... why would anyone want that?  I'm not sure it has a use.  One
    could do the same thing with a few IPFW rules and /usr/sbin/arp commands.

					-Matt
					Matthew Dillon 
					<dillon at backplane.com>





More information about the Kernel mailing list