This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
From: Jay Foster <jay@systech.com>ethernet device?
To: 'Andrew Lunn' <andrew@lunn.ch>, wang cui <iucgnaw@msn.com>
CC: ecos-discuss@ecos.sourceware.org
Subject: RE: [ECOS] Add config keys to Set/Clear promiscuous mode to
Date: Fri, 2 Feb 2007 09:04:46 -0800xxx_eth_start()
This may also be done generically from the ethernet driver's
function. There is a 'flags' argument passed to the start function, butincluded,
unfortunately, eCos makes no use of it. However, if CYGPKG_NET is
ethernetthe 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
> 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
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |