summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-05-02network: Import latest <arpa/ftp.h> from FreeBSDSebastian Huber2-110/+0
Update #3419.
2018-05-02ftpfs: Always build FTP clientSebastian Huber3-161/+7
Move FTP client filesystem to separate library libftpfs.a. Update #3419.
2018-05-02tftpfs: Always build TFTP clientSebastian Huber4-50/+23
Move TFTP client filesystem to separate library libtftpfs.a. Conditionally use legacy network stack features, e.g. BOOTP support. Update #3419.
2018-04-04build: Remove EXTRA_DISTSebastian Huber1-5/+0
A "make dist" is not supported. So, it makes no sense to have pure "make dist" related stuff in the Makefile.am.
2018-03-09network: Optionally install network headersSebastian Huber20-0/+2684
Install the network headers only if --enable-networking is specified. Update #3254.
2018-02-07network: Fix integer typesSebastian Huber2-2/+2
2018-02-07syslog: Use self-contained recursive mutexSebastian Huber1-24/+6
Update #2843.
2018-02-07tftpfs: Use self-contained mutexSebastian Huber1-23/+9
Update #2843.
2018-02-02network: Use self-contained recursive mutexSebastian Huber1-96/+14
Update #2843.
2018-01-25Remove make preinstallChris Johns4-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.
2017-12-07Remove obsolete network header filesSebastian Huber14-3468/+0
Update #3254.
2017-10-24score: Move thread queue timeout handlingSebastian Huber1-1/+1
Update #3117. Update #3182.
2017-09-28network: Add missing forward declarationSebastian Huber1-0/+1
2017-09-15libio: LIBIO_GET_IOP() LIBIO_GET_IOP_WITH_ACCESS()Sebastian Huber1-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.
2017-09-15libio: Add rtems_libio_iop_is_writeable()Sebastian Huber1-2/+2
Update #3132.
2017-09-15libio: Add rtems_libio_iop_is_readable()Sebastian Huber1-1/+1
Update #3132.
2017-09-15libio: Add rtems_libio_iop_is_no_delay()Sebastian Huber1-1/+1
Update #3132.
2017-09-15libio: Add rtems_libio_iop_flags()Sebastian Huber1-1/+1
Update #3132.
2017-09-15libio: Add rtems_libio_iop_flags_initialize()Sebastian Huber1-1/+1
Update #3132.
2017-09-15libio: Add iop set/clear flagsSebastian Huber1-1/+1
Update #3132.
2017-09-14libio: Avoid direct use of rtems_libio_iopsSebastian Huber1-1/+1
Update #3132.
2017-08-25network: Include missing header fileSebastian Huber1-0/+1
2017-07-14posix/mmap: Add support for file handler and MAP_ANONKevin Kirspel3-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
2017-06-12network: Remove FreeBSD specific hackSebastian Huber5-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.
2017-06-08network: Fix DHCP client protocolStavros Passas3-6/+36
Close #2877.
2017-06-07network: Header file compatiblitySebastian Huber11-21/+39
Move legacy network stack implementation specifics to <rtems/rtems_bsdnet_internal.h>. Include missing header files. Add interface flags compatibility. Update #2833.
2017-06-07network: Use inet_ntoa_r()Sebastian Huber7-21/+29
Update #2833.
2017-06-07network: Update <arpa/inet.h>Sebastian Huber6-102/+189
Update #2833.
2017-06-07network: Move header filesSebastian Huber14-24/+24
Prevent accidental use of legacy network header files. Update #2833.
2017-06-07network: Move RTEMS specificsSebastian Huber3-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.
2017-06-07network: Include <sys/uio.h> explicitlySebastian Huber3-0/+3
Do not rely on indirect includes via other header files. Update #2833.
2017-06-07Include missing <sys/param.h>Sebastian Huber1-0/+1
Some kernel-space header expect that <sys/param.h> is present. Update #2833.
2017-06-07Do not include <sys/ioctl.h> in kernel-spaceSebastian Huber14-14/+15
Update #2833.
2017-06-07Test for POSIX headers from Newlib 20170522Sebastian Huber2-62/+66
Update #2833.
2017-06-07network: Do not use MSIZESebastian Huber4-12/+13
Do not use the MSIZE for the legacy network stack. Instead use _SYS_MBUF_LEGACY_MSIZE. Update #2833.
2017-06-07network: Include missing <inttypes.h>Sebastian Huber2-0/+2
Update #2833.
2017-03-22termios: Synchronize with latest FreeBSD headersKevin Kirspel1-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.
2017-01-13configure: Remove __RTEMS_HAVE_DECL_SIGALTSTACK__Sebastian Huber1-7/+0
2016-11-08Provide kernel space header filesSebastian Huber3-0/+6
These kernel space header files must be provided for Newlib 172e2050d95b41861db858dd9bc43a3fb4a28987.
2016-09-27score: Unify CORE mutex seize/surrenderSebastian Huber1-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.
2016-09-08score: Introduce Thread_queue_Lock_contextSebastian Huber1-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.
2016-07-25cpukit: Add and use Watchdog_Discipline.Gedare Bloom1-1/+1
Clock disciplines may be WATCHDOG_RELATIVE, WATCHDOG_ABSOLUTE, or WATCHDOG_NO_TIMEOUT. A discipline of WATCHDOG_RELATIVE with a timeout of WATCHDOG_NO_TIMEOUT is equivalent to a discipline of WATCHDOG_NO_TIMEOUT. updates #2732
2016-07-01net: Fix byte order issue for getnameinfo()Sebastian Huber1-4/+2
2016-06-28libnetworking: Import current <sys/socket.h>Christian Mauderer1-73/+373
Import the <sys/socket.h> from current FreeBSD. This allows to build some current software (e.g. libressl).
2016-06-28libnetworking: Move RTEMS-specific socket wake-upSebastian Huber3-15/+18
Close #2748.
2016-06-28libnetworking: Hide SO_PRIVSTATEChristian Mauderer2-1/+7
2016-06-28libnetworking: Add <machine/_align.h>Christian Mauderer3-1/+29
This is necessary for new <sys/socket.h>.
2016-06-28libnetworking: Import current <arpa/inet.h>Christian Mauderer9-38/+73
Import the <arpa/inet.h> from current FreeBSD. Necessary due to changes in <netinet/in.h>. Remove BSD hack from <arpa/inet.h>. Clean up problems with htonl(). These functions are defined in <arpa/inet.h>. This lead to some problems because they are defined in <rtems/endian.h> too. Add NTOHL, ... to <rtems/rtems_bsdnet_internal.h>.
2016-06-28libnetworking: Import current <netinet/in.h>Christian Mauderer18-135/+443
Import the <netinet/in.h> from current FreeBSD. This allows to build some current software (e.g. libressl). Add legacy support like * prototype for in_cksum(), * IPPORT_USERRESERVED, * deprecated IPCTL_RT* defines, * ip_fw_chk_t and ip_fw_ctl_t, * ip_nat_... (IP NAT hooks), and * IP_NAT option for get/setsockopt() to new <rtems/rtems_netinet_in.h>.
2016-06-28libnetworking: Import current <netinet6/in6.h>Christian Mauderer3-0/+760
Import the <netinet6/in6.h> from current FreeBSD. This allows to build some current software (e.g. libressl).