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: how to manage more IP-addresses


Christoph Csebits wrote:
> Is there a better solution than creating two
> build trees, after changing the IP-address in
> the right CDL file.

Yes, it's done the standard BSD way: ioctl(..., SIOCSIFADDR, ...) and
friends. Have a look at the OpenBSD netintro(4) manpage for more details
(unfortunately, the documentation that comes with eCos is not really
helpful in this case):

http://www.openbsd.org/cgi-bin/man.cgi?query=netintro&apropos=0&sektion=0&manpath=OpenBSD+Current&arch=i386&format=html

Martin


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