public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Add config keys to Set/Clear promiscuous mode to ethernet device?
@ 2007-02-02  7:35 wang cui
  2007-02-02  7:53 ` Andrew Lunn
  0 siblings, 1 reply; 4+ messages in thread
From: wang cui @ 2007-02-02  7:35 UTC (permalink / raw)
  To: ecos-discuss

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=gb2312; format=flowed, Size: 424 bytes --]

I wander is there a standard way to change promiscuous mode of a ethernet 
device?

Thanks in advance.

_________________________________________________________________
ÓëÁª»úµÄÅóÓѽøÐн»Á÷£¬ÇëʹÓà MSN Messenger:  http://messenger.msn.com/cn  


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 4+ messages in thread
* RE: [ECOS] Add config keys to Set/Clear promiscuous mode to ether  net device?
@ 2007-02-02 17:11 Jay Foster
  2007-02-02 17:18 ` [ECOS] Add config keys to Set/Clear promiscuous mode to ethernet device? wang cui
  0 siblings, 1 reply; 4+ messages in thread
From: Jay Foster @ 2007-02-02 17:11 UTC (permalink / raw)
  To: 'Andrew Lunn', wang cui; +Cc: ecos-discuss

This may also be done generically from the ethernet driver's xxx_eth_start()
function.  There is a 'flags' argument passed to the start function, but
unfortunately, eCos makes no use of it.  However, if CYGPKG_NET is included,
the interface flags can be accessed using (sc->sc_arpcom.ac_if.if_flags).
These flags contain the flags IFF_PROMISC, IFF_MULTICAST, IFF_ALLMULTI,
IFF_BROADCAST, etc.

Jay

-----Original Message-----
From: Andrew Lunn [mailto:andrew@lunn.ch]
Sent: Thursday, February 01, 2007 11:53 PM
To: wang cui
Cc: ecos-discuss@ecos.sourceware.org
Subject: Re: [ECOS] Add config keys to Set/Clear promiscuous mode to
ethernet device?


On Fri, Feb 02, 2007 at 07:35:03AM +0000, wang cui wrote:
> I wander is there a standard way to change promiscuous mode of a ethernet 
> device?

Take a look at the i82559 driver. 

     Andrew

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-02-02 17:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-02  7:35 [ECOS] Add config keys to Set/Clear promiscuous mode to ethernet device? wang cui
2007-02-02  7:53 ` Andrew Lunn
2007-02-02 16:25   ` wang cui
2007-02-02 17:11 [ECOS] Add config keys to Set/Clear promiscuous mode to ether net device? Jay Foster
2007-02-02 17:18 ` [ECOS] Add config keys to Set/Clear promiscuous mode to ethernet device? wang cui

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).