Re: Help in inserting code in etherboot

Anselm Martin Hoffmeister <[email protected]> Tue, 13 Sep 2005 12:28:38 +0200
Newsgroups gmane.network.etherboot.devel
Message-ID <[email protected]>
Am Dienstag, den 13.09.2005, 16:44 +0800 schrieb Coach Basti:
> Good day,
> I am working on an LTSP project and I wanted to insert a code inside
> main.c of etherboo5.4.1.
> My code uses the following header files of GCC:
> sys/types.h, sys/sockets.h, netinet/in.h, arpa/inet.h, netdb.h,
> stdio.h, unistd.h
> but there are conflicts(i.e. redefinition of functions).
> I am hoping someone could help me solve my problem of including those
> header files mention above.

The probably better idea is to not use those header files at all...
Those defines you need from there which are not already inside the
etherboot header files could be copied over, after careful checking.
Remember: Etherboot does not give you linux kernel network functions,
just equivalents or restricted functions for UDP (TCP only for HTTP).

If you have any larger plans to implement changes, why not tell us? :-)

hth
Anselm



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf