summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove strlcat(), strlcpy(), strsep(), readdir_r()Sebastian Huber2018-10-221-88/+0
| | | | | | These functions are provided by Newlib since 2002. Update #3409.
* build: Include header.am in cpukit/Makefile.amSebastian Huber2018-10-102-138/+110
| | | | | Include all cpukit/*/header.am files in cpukit/Makefile.am. This gets rid of all subtree Makefile.am and the sudirs hack.
* build: Merge libnetworking/Makefile.amSebastian Huber2018-10-101-138/+0
|
* Use rtems_task_exit()Sebastian Huber2018-10-022-2/+2
| | | | | Update #3530. Update #3533.
* network: Use kernel/user space header filesSebastian Huber2018-09-10118-144/+425
| | | | | | | | | | Add and use <machine/rtems-bsd-kernel-space.h> and <machine/rtems-bsd-user-space.h> similar to the libbsd to avoid command line defines and defines scattered throught the code base. Simplify cpukit/libnetworking/Makefile.am. Update #3375.
* network: Remove man page installationSebastian Huber2018-09-101-7/+0
| | | | | | The man page installation is broken since 2004-01-11 (commit 8c31a89fdf9bc3351d837df6ec26045bc9d5f021). Nobody complained about this, so just remove some dead code from the Makefile.am.
* network: Remove unused filesSebastian Huber2018-09-108-1016/+0
|
* Move <poll.h> to set of default header filesSebastian Huber2018-09-102-7/+0
| | | | | The <poll.h> is a POSIX header file and just includes <sys/poll.h> which contains the real content.
* Add FreeBSD kernel space header filesSebastian Huber2018-08-273-0/+129
| | | | | | | | Move the kernel space content of some Newlib provided header files to RTEMS and libbsd. This allows to use the Newlib provided header files with different FreeBSD baselines. Update #3472.
* network: Import latest <arpa/ftp.h> from FreeBSDSebastian Huber2018-05-022-110/+0
| | | | Update #3419.
* ftpfs: Always build FTP clientSebastian Huber2018-05-023-161/+7
| | | | | | Move FTP client filesystem to separate library libftpfs.a. Update #3419.
* tftpfs: Always build TFTP clientSebastian Huber2018-05-024-50/+23
| | | | | | | Move TFTP client filesystem to separate library libtftpfs.a. Conditionally use legacy network stack features, e.g. BOOTP support. Update #3419.
* build: Remove EXTRA_DISTSebastian Huber2018-04-041-5/+0
| | | | | A "make dist" is not supported. So, it makes no sense to have pure "make dist" related stuff in the Makefile.am.
* network: Optionally install network headersSebastian Huber2018-03-0920-0/+2684
| | | | | | Install the network headers only if --enable-networking is specified. Update #3254.
* network: Fix integer typesSebastian Huber2018-02-072-2/+2
|
* syslog: Use self-contained recursive mutexSebastian Huber2018-02-071-24/+6
| | | | Update #2843.
* tftpfs: Use self-contained mutexSebastian Huber2018-02-071-23/+9
| | | | Update #2843.
* network: Use self-contained recursive mutexSebastian Huber2018-02-021-96/+14
| | | | Update #2843.
* Remove make preinstallChris Johns2018-01-254-651/+132
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Remove obsolete network header filesSebastian Huber2017-12-0714-3468/+0
| | | | Update #3254.
* score: Move thread queue timeout handlingSebastian Huber2017-10-241-1/+1
| | | | | Update #3117. Update #3182.
* network: Add missing forward declarationSebastian Huber2017-09-281-0/+1
|
* libio: LIBIO_GET_IOP() LIBIO_GET_IOP_WITH_ACCESS()Sebastian Huber2017-09-151-2/+1
| | | | | | | | | Replace rtems_libio_check_fd(), rtems_libio_iop(), rtems_libio_check_open() and rtems_libio_check_permissions() combinations with new LIBIO_GET_IOP() and LIBIO_GET_IOP_WITH_ACCESS() macros. Update #3132.
* libio: Add rtems_libio_iop_is_writeable()Sebastian Huber2017-09-151-2/+2
| | | | Update #3132.
* libio: Add rtems_libio_iop_is_readable()Sebastian Huber2017-09-151-1/+1
| | | | Update #3132.
* libio: Add rtems_libio_iop_is_no_delay()Sebastian Huber2017-09-151-1/+1
| | | | Update #3132.
* libio: Add rtems_libio_iop_flags()Sebastian Huber2017-09-151-1/+1
| | | | Update #3132.
* libio: Add rtems_libio_iop_flags_initialize()Sebastian Huber2017-09-151-1/+1
| | | | Update #3132.
* libio: Add iop set/clear flagsSebastian Huber2017-09-151-1/+1
| | | | Update #3132.
* libio: Avoid direct use of rtems_libio_iopsSebastian Huber2017-09-141-1/+1
| | | | Update #3132.
* network: Include missing header fileSebastian Huber2017-08-251-0/+1
|
* posix/mmap: Add support for file handler and MAP_ANONKevin Kirspel2017-07-143-0/+4
| | | | | | | | | | | Added a mmap file handler to struct _rtems_filesystem_file_handlers_r. Updated each file handler object to support the default mmap handler. Updated mmap() to call the mmap handler for MAP_SHARED. Added a mmap file handler for shm Added support for MAP_ANON in mmap(). Updates #2859
* network: Remove FreeBSD specific hackSebastian Huber2017-06-125-21/+8
| | | | | | | | | For whatever reason FreeBSD renames several functions provided by <arpa/inet.h> and uses weak references to provide the standard function names. This causes problems on targets lacking proper support for weak references. We do not need this function renaming on RTEMS.lk:x Update #2833.
* network: Fix DHCP client protocolStavros Passas2017-06-083-6/+36
| | | | Close #2877.
* network: Header file compatiblitySebastian Huber2017-06-0711-21/+39
| | | | | | | | Move legacy network stack implementation specifics to <rtems/rtems_bsdnet_internal.h>. Include missing header files. Add interface flags compatibility. Update #2833.
* network: Use inet_ntoa_r()Sebastian Huber2017-06-077-21/+29
| | | | Update #2833.
* network: Update <arpa/inet.h>Sebastian Huber2017-06-076-102/+189
| | | | Update #2833.
* network: Move header filesSebastian Huber2017-06-0714-24/+24
| | | | | | Prevent accidental use of legacy network header files. Update #2833.
* network: Move RTEMS specificsSebastian Huber2017-06-073-7/+32
| | | | | | | | | Move RTEMS specifics to <rtems/rtems_bsdnet.h>. Introduce rtems_tap_ifreq. The interface tap support is RTEMS-specific and only available in the legacy network stack. Update #2833.
* network: Include <sys/uio.h> explicitlySebastian Huber2017-06-073-0/+3
| | | | | | Do not rely on indirect includes via other header files. Update #2833.
* Include missing <sys/param.h>Sebastian Huber2017-06-071-0/+1
| | | | | | Some kernel-space header expect that <sys/param.h> is present. Update #2833.
* Do not include <sys/ioctl.h> in kernel-spaceSebastian Huber2017-06-0714-14/+15
| | | | Update #2833.
* Test for POSIX headers from Newlib 20170522Sebastian Huber2017-06-072-62/+66
| | | | Update #2833.
* network: Do not use MSIZESebastian Huber2017-06-074-12/+13
| | | | | | | Do not use the MSIZE for the legacy network stack. Instead use _SYS_MBUF_LEGACY_MSIZE. Update #2833.
* network: Include missing <inttypes.h>Sebastian Huber2017-06-072-0/+2
| | | | Update #2833.
* termios: Synchronize with latest FreeBSD headersKevin Kirspel2017-03-221-7/+8
| | | | | | | | | | | Adding modified FreeBSD headers to synchronize RTEMS termios with FreeBSD. Modify termios to support dedicated input and output baud for termios structure. Updated BSPs to use dedicated input and output baud in termios structure. Updated tools to use dedicated input and output baud in termios structure. Updated termios testsuites to use dedicated input and output baud in termios structure. Close #2897.
* configure: Remove __RTEMS_HAVE_DECL_SIGALTSTACK__Sebastian Huber2017-01-131-7/+0
|
* Provide kernel space header filesSebastian Huber2016-11-083-0/+6
| | | | | These kernel space header files must be provided for Newlib 172e2050d95b41861db858dd9bc43a3fb4a28987.
* score: Unify CORE mutex seize/surrenderSebastian Huber2016-09-271-0/+2
| | | | | | Use the Thread_Control::resource_count for the no protocol mutexes. Merge the no protocol and priority inherit CORE mutex seize/surrender operations.
* score: Introduce Thread_queue_Lock_contextSebastian Huber2016-09-081-2/+2
| | | | | | Introduce Thread_queue_Lock_context to contain the context necessary for thread queue lock and thread wait lock acquire/release operations to reduce the Thread_Control size.