Draft for moving network headers from RTEMS to newlib

Christian Mauderer christian.mauderer at embedded-brains.de
Mon Apr 25 15:06:34 UTC 2016


Hello,

currently we try to remove the network specific POSIX headers from
RTEMS. Instead, we add current headers from FreeBSD to newlib. This will
simplify the build process of some libraries that depend on the network
(like LibreSSL). Further it will be another step into the direction of
extracting the old RTEMS network stack and build it as an independent
package.

This patch-set is a first draft for the changes that would be necessary
on the RTEMS side. It still needs some cleanup. On the newlib side, we
would have to add the headers.

Some of the patches move defines or prototypes from the old network
headers into RTEMS specific rtems/rtems_XXX.h files. For example patch
11 moves three of the IPCTL_RTxxx that have been deprecated and removed
in the current FreeBSD netinet/in.h file into a RTEMS specific
rtems/rtems_netinet_in.h.

Do you think it would make more sense to collect these RTEMS-specific
extensions all into rtems_bsdnet.h instead of adding one file per
replaced header?

Kind Regards

Christian Mauderer


-- 
--------------------------------------------
embedded brains GmbH
Christian Mauderer
Dornierstr. 4
D-82178 Puchheim
Germany
email: christian.mauderer at embedded-brains.de
Phone: +49-89-18 94 741 - 18
Fax:   +49-89-18 94 741 - 08
PGP: Public key available on request.

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


More information about the devel mailing list