Move POSIX network headers like <sys/socket.h> etc. to Newlib?

Sebastian Huber sebastian.huber at embedded-brains.de
Thu Apr 7 06:45:35 UTC 2016


Hello,

what about moving the POSIX network headers

arpa/inet.h
netdb.h
net/if.h
netinet/in.h
netinet/tcp.h
syslog.h
sys/socket.h
sys/uio.h
sys/un.h

to Newlib?

This has the following benefits.

1. It ensures compatibility between the standard and libbsd network 
stack at user API level.

2. These files may be used by lwIP to provide the standard API.

3. It allows 3rd party code depending only on the POSIX network headers 
to build without RTEMS, e.g. GCC Ada and Go languages, libressl library 
etc. Allows build of libraries per multilib.

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.



More information about the devel mailing list