summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking (follow)
Commit message (Collapse)AuthorAgeFilesLines
* libnetworking: Fix the sethostname decl to match newlib.Chris Johns2014-10-313-3/+3
|
* ppp: PR1943: Avoid NULL pointer accessSebastian Huber2014-10-081-8/+2
| | | | | | | Waiting for mbufs at this level is a bad solution. It would be better to try to allocate a new mbuf chain before we hand over the current mbuf chain to the upper layer. In case the allocation fails we should drop the current packet and use its mbuf chain for a new packet.
* ppp: Add ppp_unit()Sebastian Huber2014-10-081-15/+21
| | | | This makes porting to the new network stack easier.
* ppp: Nothing to transmit hint for Termios driverSebastian Huber2014-10-071-1/+10
|
* termios: Partially hide rtems_termios_ttySebastian Huber2014-10-072-3/+4
| | | | | | | Move interrupt lock to device context and expose only this structure to the read, write and set attributes device handler. This makes these device handler independent of the general Termios infrastructure suitable for direct use in printk() support.
* pppd: Fix warningsSebastian Huber2014-09-301-1/+11
|
* libnetworking: Update due to Termios changesSebastian Huber2014-09-302-3/+3
|
* Add configuration to detect toolset has sigaltstack() prototypeJoel Sherrill2014-08-201-4/+6
|
* Change all references of rtems.com to rtems.org.Chris Johns2014-03-217-7/+7
|
* libnetworking: TypoSebastian Huber2014-03-061-1/+1
|
* Don't use unsafe buffer operationsNick Withers2014-01-201-18/+12
| | | | | | Don't use unsafe buffer operations, averting (stack) buffer overflow when the syslog message length (including Facility and Level encoding) would exceed 199 characters
* NTP: Sync time correctly when receiving broadcast updatesJim Panetta2014-01-091-3/+4
| | | | | | | | | | | | | | | 1) The value of rtems_bsdnet_ntpserver_count is equal to 0 when no server is set, so the check for (rtems_bsdnet_ntpserver_count < 0) in rtems_bsdnet_get_ntp() is wrong. The check should be "<= 0". 2) Binding the listening socket port to 0 does not work. Packets appear on the interface, but the recvfrom in tryServer() never returns. Changing this to the well known NTP socket 123 allows the packets to be seen. 3) In tryServer(), an explicit check for NTP version 3 packets is made. If the NTP server is version 4, this check fails even though the packets seem to be the right shape.
* Filesystem: Use default kqfilter and poll handlerSebastian Huber2013-12-203-0/+8
|
* Filesystem: Add readv/writev handlersSebastian Huber2013-12-203-14/+22
| | | | | | | | | The readv() and writev() support was implemented in terms of multiple calls to the read and write handlers. This imposes a problem on device files which use an IO vector as single request entity. For example a low-level network device (e.g. BPF(4)) may use an IO vector to create one frame from multiple protocol layers each with its own IO vector entry.
* PR2161: Set the source port to SYSLOG in the syslog socket.Chris Johns2013-12-101-1/+1
|
* select.h, rtems_select.c, nds select: Add restrict keywordDaniel Ramirez2013-11-202-5/+6
|
* PR766: Delete __RTEMS_VIOLATE_KERNEL_VISIBILITY__Sebastian Huber2013-08-082-8/+0
|
* score: Merge tod implementation into one fileSebastian Huber2013-07-262-5/+5
| | | | | Delete TOD_MICROSECONDS_PER_SECOND, TOD_MICROSECONDS_TO_TICKS() and TOD_MILLISECONDS_TO_TICKS().
* network: SMP support for network semaphoreSebastian Huber2013-07-221-0/+6
|
* network: Include missing header fileSebastian Huber2013-07-221-0/+2
|
* score: Avoid direct usage of _Thread_ExecutingSebastian Huber2013-07-181-2/+5
| | | | | | Pass the executing thread as a function parameter. Obtain the executing thread inside a thread dispatch critical section to avoid problems on SMP.
* score: Create mutex implementation headerSebastian Huber2013-07-181-0/+1
| | | | | | Move implementation specific parts of coremutex.h and coremutex.inl into new header file coremuteximpl.h. The coremutex.h contains now only the application visible API.
* rtems: Create semaphore implementation headerSebastian Huber2013-07-181-0/+1
| | | | | | Move implementation specific parts of sem.h and sem.inl into new header file semimpl.h. The sem.h contains now only the application visible API.
* sparc in_cksum: Use __sparc__ which is available in -ansi modeJoel Sherrill2013-06-202-2/+2
|
* Added in_cksum_sparc.h to optimize IP checksum calculations for SPARC.Jiri Gaisler2013-06-192-0/+312
|
* nios2: Add optimized IP checksum supportJeffrey O. Hill2013-03-113-0/+365
|
* ftpfs: Fix SIZE command handlingSebastian Huber2013-01-281-76/+98
| | | | | | | It is invalid to issue a SIZE command once a data transfer is in progress. For reads we issue the SIZE command before the RETR command and get a snapshot of the file size. For writes the file size is initialized to zero and incremented for each write chunk.
* Move <memory.h> and <sys/uio.h> to non-networking directoryJoel Sherrill2013-01-233-106/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* cpukit: Use Consistent Beginning of Doxygen Group NotationJoel Sherrill2013-01-101-2/+1
| | | | | This is the result of a sed script which converts all uses of @{ into a consistent form.
* Header File Doxygen Enhancement Task #1Alex Ivanov2012-12-281-2/+2
|
* libnetworking: Make functions publicSebastian Huber2012-12-182-2/+4
| | | | | Make functions rtems_bsdnet_semaphore_obtain_recursive() and rtems_bsdnet_semaphore_release_recursive() public.
* ftpfs: Fix NULL pointer accessSebastian Huber2012-11-221-7/+11
|
* ftpfs: Use SIZE commandSebastian Huber2012-11-211-1/+98
|
* ftpfs: Open control connection during path evalSebastian Huber2012-11-211-162/+151
|
* ftpfs: FormatSebastian Huber2012-11-211-29/+30
|
* libnetworking: Use rtems_clock_get_uptime_secondsSebastian Huber2012-11-212-16/+5
| | | | | | | | This reduces the start-up time of the network stack. With a 1ms tick the ticks since boot value overflows after approximately 50 days. This problem is avoided with the rtems_clock_get_uptime_seconds() function.
* libnetworking: Use rtems_clock_get_uptime_timevalSebastian Huber2012-11-212-14/+5
|
* libnetworking: Disconnect after mbuf shortageSebastian Huber2012-11-051-1/+4
| | | | | The missing disconnect left the socket in an unusable state. Each send request resulted in an EISCONN error.
* libnetworking: Avoid deadlock during starvationSebastian Huber2012-11-021-7/+36
|
* libnetworking: Use system eventsSebastian Huber2012-11-023-11/+19
| | | | | | | Add reserved system events RTEMS_EVENT_SYSTEM_NETWORK_SBWAIT and RTEMS_EVENT_SYSTEM_NETWORK_SOSLEEP. Add and use rtems_bsdnet_event_send().
* libnetworking: Silence set but not used warningsSebastian Huber2012-07-171-1/+1
|
* network/bootp: PR2031: Add and use header fileSebastien Bourdeauducq2012-06-066-38/+51
|
* network/dhcp: PR1841: Fix DNS processing in DHCPSebastien Bourdeauducq2012-05-221-3/+45
|
* Filesystem: Change pathconf_limits_and_optionsSebastian Huber2012-05-151-4/+0
| | | | | | The pathconf_limits_and_options field of rtems_filesystem_mount_table_entry_t is now a const pointer to reduce the read-write memory demands of file system instances.
* Filesystem: Move operations to mount table entrySebastian Huber2012-05-153-3/+2
| | | | | | | | | | | The scope of the file system operations is the file system instance. The scope of the file system node handlers is the file location. The benefit of moving the operations to the mount table entry is a size reduction of the file location (rtems_filesystem_location_info_t). The code size is slightly increased due to additional load instructions. Restructure rtems_filesystem_mount_table_entry_t to improve cache efficiency.
* Filesystem: Use ioctl_command_tSebastian Huber2012-05-151-6/+1
|
* Remove CVS Id Strings (manual edits after script)Joel Sherrill2012-05-1121-35/+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-11179-467/+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.
* Revert: Remove CVS IdsJoel Sherrill2012-05-071-0/+4
| | | | | See http://www.rtems.org/pipermail/rtems-devel/2012-May/001006.html for details.
* Remove CVS-Ids.Ralf Corsépius2012-05-041-4/+0
|