This is the mail archive of the ecos-discuss@sources.redhat.com 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]

Re: dynamic creation of ethernet instances ?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]