This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: dynamic creation of ethernet instances ?
- From: "Gary D. Thomas" <gary dot thomas at mind dot be>
- To: philippe dot moutarlier at attbi dot com
- Cc: eCos Discussion <ecos-discuss at sources dot redhat dot com>
- Date: 19 Feb 2003 18:39:49 -0700
- Subject: Re: [ECOS] dynamic creation of ethernet instances ?
- References: <200302191921.35397.Philippe.Moutarlier@attbi.com>
On Wed, 2003-02-19 at 17:21, Philippe Moutarlier wrote:
>
> In a certain application we need to ba able to generate dynamically an
> arbitrary (well, limited by memory , of course) number of "logical" ethernet
> interfaces.
> Multiple logical interfaces might be tied to 1 physical interface, but it
> would be important that the upper layer sees each logical interface as
> a "real" ethernet. Multiple VLANs would be an example of this.
>
> Anyway to do this ? It seems to break the compile time macro behavior ...
>
Why? All that's necessary is to call 'eth_drv_init()' with
the appropriate data. You can create interfaces all day if
you want.
--
.--------------------------------------------------------.
| Mind: Embedded Linux and eCos Development |
|--------------------------------------------------------|
| Gary Thomas email: gary dot thomas at mind dot be |
| Mind ( http://mind.be ) tel: +1 (970) 229-1963 |
| gpg: http://www.chez-thomas.org/gary/gpg_key.asc |
'--------------------------------------------------------'
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss