This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: OpenBSD TCPIP Stack Manual Startup
- From: Andrew Lunn <andrew dot lunn at ascom dot ch>
- To: Mark Retallack <m dot retallack at btopenworld dot com>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Thu, 23 Jan 2003 09:18:29 +0100
- Subject: Re: [ECOS] OpenBSD TCPIP Stack Manual Startup
- References: <200301222004.05516.m.retallack@btopenworld.com>
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