Re: [PATCH] IFF_MONITOR support for Ethernet devices

From:

Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>

Date:

Fri, 15 Dec 2006 19:34:52 -0800 (PST)

: 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@backplane.com>