[ECOS] OpenBSD TCPIP Stack Manual Startup

Andrew Lunn andrew.lunn@ascom.ch
Thu Jan 23 08:28:00 GMT 2003


On Wed, Jan 22, 2003 at 08:04:00PM +0000, Mark Retallack wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> 
> I need to be able to bring the network up and down more than once using the 
> OpenBSD network stack and different static ip addresses. I have set the 
> "initialisation options for 'eth0'" to initialise 'eth0' manually in the ecc 
> file. Does anyone have any example code that calls the ioctl function to 
> bring the network connection up and down with different ip addresses? 

Have a look at packages/net/common/current/src/network_support.c:init_net().

     Andrew

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



More information about the Ecos-discuss mailing list