Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - How to specify the instance number to the networking stack?: Page 1 of 4 (4 Items)
   
How to specify the instance number to the networking stack?  
Dear forum,

Let's say I've written a new driver and, for reasons unknown, I want to attach it to the stack with an index of my 
choosing (let's say foo2). 

When I mount a driver, it always appears as foo0 if there's one driver, foo1 if there are two, etc. How can I force the 
index? I've tried setting the lan parameter of the nic_config structure but it didn't help.

I guess that's what the 'endpoint' parameter does in io_net; what's the io-pkt's way?

Thanks!