Peter Engstrom
|
Re: RE: devnp-e1000.so promiscuous mode?
|
Peter Engstrom
08/27/2009 10:17 AM
post36777
|
Re: RE: devnp-e1000.so promiscuous mode?
Hi,
in e1000/init.c:i82544_init() I can see that i82544_enable() is called which sets the promiscuous bits in the rctl
register. However, these settings seem to be undone by the following i82544_filter() call.
Regards,
Peter
|
|
|
Sean Boudreau(deleted)
|
Re: RE: devnp-e1000.so promiscuous mode?
|
Sean Boudreau(deleted)
08/27/2009 11:31 AM
post36799
|
Re: RE: devnp-e1000.so promiscuous mode?
On Thu, Aug 27, 2009 at 09:25:00AM -0400, Peter Engstrom wrote:
> Hi,
>
> but I remember Sean once said that it wasn't possible to set IFF_PROMISC using ifconfig since it's part of
IFF_CANTCHANGE. Has that changed? If so could you provide an example how it's done?
In io-pkt the stack sets promiscuous mode in response
to certain conditions: setting up a bridge, the BPF
BIOCPROMISC ioctl... The latter might be what you
want.
-seanb
|
|
|