summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking/sys (follow)
Commit message (Collapse)AuthorAgeFilesLines
* cpukit: Remove libnetworkingVijay Kumar Banerjee2021-04-0719-3206/+0
| | | | Update #3850
* Remove make preinstallChris Johns2018-01-251-104/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A speciality of the RTEMS build system was the make preinstall step. It copied header files from arbitrary locations into the build tree. The header files were included via the -Bsome/build/tree/path GCC command line option. This has at least seven problems: * The make preinstall step itself needs time and disk space. * Errors in header files show up in the build tree copy. This makes it hard for editors to open the right file to fix the error. * There is no clear relationship between source and build tree header files. This makes an audit of the build process difficult. * The visibility of all header files in the build tree makes it difficult to enforce API barriers. For example it is discouraged to use BSP-specifics in the cpukit. * An introduction of a new build system is difficult. * Include paths specified by the -B option are system headers. This may suppress warnings. * The parallel build had sporadic failures on some hosts. This patch removes the make preinstall step. All installed header files are moved to dedicated include directories in the source tree. Let @RTEMS_CPU@ be the target architecture, e.g. arm, powerpc, sparc, etc. Let @RTEMS_BSP_FAMILIY@ be a BSP family base directory, e.g. erc32, imx, qoriq, etc. The new cpukit include directories are: * cpukit/include * cpukit/score/cpu/@RTEMS_CPU@/include * cpukit/libnetworking The new BSP include directories are: * bsps/include * bsps/@RTEMS_CPU@/include * bsps/@RTEMS_CPU@/@RTEMS_BSP_FAMILIY@/include There are build tree include directories for generated files. The include directory order favours the most general header file, e.g. it is not possible to override general header files via the include path order. The "bootstrap -p" option was removed. The new "bootstrap -H" option should be used to regenerate the "headers.am" files. Update #3254.
* network: Add missing forward declarationSebastian Huber2017-09-281-0/+1
|
* network: Move header filesSebastian Huber2017-06-075-1106/+0
| | | | | | Prevent accidental use of legacy network header files. Update #2833.
* network: Do not use MSIZESebastian Huber2017-06-072-5/+6
| | | | | | | Do not use the MSIZE for the legacy network stack. Instead use _SYS_MBUF_LEGACY_MSIZE. Update #2833.
* libnetworking: Import current <sys/socket.h>Christian Mauderer2016-06-281-73/+373
| | | | | Import the <sys/socket.h> from current FreeBSD. This allows to build some current software (e.g. libressl).
* libnetworking: Move RTEMS-specific socket wake-upSebastian Huber2016-06-281-15/+0
| | | | Close #2748.
* libnetworking: Hide SO_PRIVSTATEChristian Mauderer2016-06-281-1/+0
|
* libnetworking: Import <sys/_sockaddr_storage.h>Christian Mauderer2016-06-281-0/+54
| | | | | Import the <sys/_sockaddr_storage.h> from current FreeBSD. Necessary for <netinet/in.h> update.
* network: Ensure matching syscall prototypesSebastian Huber2016-04-221-4/+4
| | | | Ensure that kernel and user space system call protoypes are identical.
* libnetworking/sys/libkern.h: Disable non-POSIX prototype that is actually unusedJoel Sherrill2016-03-241-0/+2
|
* Chase Newlib sys/types.h / sys/select.h changesNick Withers2016-01-182-19/+5
|
* sys/socket.h: Include <sys/types.h> for ssize_tJoel Sherrill2015-02-121-1/+1
| | | | closes 2245
* sys/socket.h: Add include of <sys/_types.h> for ssize_tJoel Sherrill2015-01-231-0/+1
| | | | | | | | | This was needed to make it possible to only include <sys/socket.h> for the methods in this file in compliance with the POSIX specification. This was identified by the Open Group FACE Conformance Test Suite. Close 2245.
* libnetworking: Delete dead codeSebastian Huber2015-01-201-1/+0
| | | | The so_uid is always 0 in RTEMS.
* select.h, rtems_select.c, nds select: Add restrict keywordDaniel Ramirez2013-11-201-4/+4
|
* Move <memory.h> and <sys/uio.h> to non-networking directoryJoel Sherrill2013-01-231-99/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | These two header files were installed from libnetworking even when networking was disabled. This patch moves them to a non-networking location and updates uio.h to match the FreeBSD 8.x source being used for the USB stack and TCP/IP stack upgrade. - cpukit/include/memory.h Move from cpukit/libnetworking/memory.h. No changes - cpukit/include/sys/uio.h Move from cpukit/libnetworking/sys/uio.h. Replace with FreeBSD 8.x version. - cpukit/include/sys/_iovec.h New. FreeBSD 8.x file supporting <sys/uio.h>. - cpukit/Makefile.am Reflect movement of <memory.h> and <sys/uio.h>. - cpukit/preinstall.am Regenerate - cpukit/libnetworking/nfs/bootp_subr.c Eliminate use of uio_procp field no longer in FreeBSD structure. This field was set and never read so eliminating the set has no impact.
* Remove CVS Id Strings (manual edits after script)Joel Sherrill2012-05-111-2/+0
| | | | | | These modifications were required by hand after running the script. In some cases, the file names did not match patterns. In others, the format of the file did not match any common patterns.
* Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill2012-05-1119-43/+0
| | | | | | | | | | | | Script does what is expected and tries to do it as smartly as possible. + remove occurrences of two blank comment lines next to each other after Id string line removed. + remove entire comment blocks which only exited to contain CVS Ids + If the processing left a blank line at the top of a file, it was removed.
* 2011-05-18 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-05-181-5/+9
| | | | | * libnetworking/sys/signalvar.h: Cosmetics from FreeBSD. Comment out psignal().
* Make self-contained.Ralf Corsepius2011-05-121-0/+4
|
* Include <sys/cdefs.h> (Eliminate rtems/bsd/sys/cdefs.h).Ralf Corsepius2011-03-249-8/+12
|
* 2011-03-24 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-03-241-0/+16
| | | | | * libnetworking/sys/linker_set.h: Add local versions of __used and __CONCAT macros.
* Use <sys/queue.h> instead of <rtems/bsd/sys/queue.h.Ralf Corsepius2011-03-023-3/+3
|
* 2011-02-23 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-02-231-0/+4
| | | | * libnetworking/sys/signalvar.h: Comment out unused code.
* 2010-05-27 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2010-05-271-2/+2
| | | | | * libnetworking/sys/socketvar.h (struct sockbuf): Use void* instead of caddr_t.
* 2010-05-27 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2010-05-271-2/+2
| | | | | * libnetworking/sys/socket.h (struct sockwakeup): Use void* instead of caddr_t.
* 2010-04-14 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2010-04-141-1/+1
| | | | | * libnetworking/sys/mbuf.h: Use uintptr_t instead of u_long for 16bit target compliance.
* 2010-04-14 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2010-04-141-1/+1
| | | | | * libnetworking/sys/sysctl.h: Change sysctl_oid->arg2 into int32_t for 16bit target compliance.
* #include <sys/time.h>.Ralf Corsepius2010-04-021-0/+2
|
* 2009-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2009-12-061-1/+2
| | | | | * libnetworking/sys/uio.h: Include <sys/types.h>. Use ssize_t for uio_resid in struct uio (From FreeBSD).
* Partial update from FreeBSD.Ralf Corsepius2009-02-111-8/+11
|
* Remove PSEUDO_* (Unused, not in FreeBSD).Ralf Corsepius2009-02-111-28/+0
|
* Remove struct linker_set (Unused).Ralf Corsepius2009-02-111-6/+0
|
* 2009-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2009-02-111-41/+5
| | | | | | | * libnetworking/sys/kernel.h: Remove execsw_set, si_elem_t (Unused, not in FreeBSD). #include <sys/linker_set.h>. Add #ifdef _KERNEL guards (From FreeBSD).
* 2009-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2009-02-111-5/+0
| | | | | * libnetworking/sys/kernel.h: Remove hostnamelen, domainnamelen, lbolt, tickdelta, timedelta (Unused, not in FreeBSD).
* Remove struct file, soo_ioctl, soo_select, soo_stat, getsock (Unused).Ralf Corsepius2009-02-091-10/+0
|
* #include <stdint.h> instead of <rtems/stdint.h>.Ralf Corsepius2008-12-111-1/+1
|
* 2008-08-18 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-08-181-0/+3
| | | | | | | | | * libnetworking/lib/ftpfs.c, libnetworking/libc/inet_ntoa.c, libnetworking/libc/rcmd.c, libnetworking/nfs/bootp_subr.c, libnetworking/rtems/rtems_glue.c, libnetworking/rtems/rtems_malloc_mbuf.c, libnetworking/rtems/rtems_showicmpstat.c, libnetworking/sys/malloc.h: Fix some warnings.
* 2007-09-24 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2007-09-241-4/+3
| | | | | | | | | | PR 1262/filesystem * libcsupport/Makefile.am, libnetworking/libc/herror.c, libnetworking/libc/res_send.c, libnetworking/sys/uio.h, telnetd/Makefile.am, telnetd/README, telnetd/preinstall.am, telnetd/pty.c, telnetd/telnetd.c: Add support for readv() and writev() including documentation and test case. * libcsupport/src/readv.c, libcsupport/src/writev.c: New files.
* Include <rtems/bsd/sys/cdefs.h> instead of <sys/cdefs.h>.Ralf Corsepius2007-05-108-8/+8
|
* Remove (moved to include/rtems/bsd/sys/queue.h).Ralf Corsepius2007-05-101-602/+0
|
* Include <rtems/bsd/sys/queue.h> instead of <sys/queue.h>.Ralf Corsepius2007-05-103-3/+3
|
* Remove selrecord, selwakeup (Unused).Ralf Corsepius2007-03-291-7/+0
|
* Remove (Unused).Ralf Corsepius2007-03-281-189/+0
|
* Change int args to intptr_t because they are casted to pointers.Ralf Corsepius2007-03-281-4/+4
|
* Cosmetics from FreeBSD.Ralf Corsepius2007-03-251-1/+4
|
* 2007-03-19 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2007-03-191-59/+0
| | | | | * libnetworking/sys/buf.h: Remove unused/non-implemented bsd kernel symbols.
* Don't include machine/conf.h.Ralf Corsepius2007-03-191-32/+9
| | | | | Update copyright notice. Remove unused/non-implemented declarations.
* 2007-03-19 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2007-03-191-93/+4
| | | | | * libnetworking/sys/systm.h: Update copyright notice from FreeBSD. Remove many non-supported/unused declarations.