summaryrefslogtreecommitdiff
path: root/nuttx/include
Commit message (Collapse)AuthorAgeFilesLines
* Networking: Clean up and consolidate some clunky stuff by adding new ↵Gregory Nutt2015-02-091-1/+26
| | | | net_timedwait() function
* Update ChangeLogGregory Nutt2015-02-081-3/+3
|
* SYSLOG: Add an option to use the syslog'ing device as the system ↵Gregory Nutt2015-02-081-0/+102
| | | | consolution. This option enables a low-level, write-only console device at /dev/console (similar to the low-level UART console device). From Pierre-noel Bouteville.
* Remove inclusion of some un-necessary header files.Gregory Nutt2015-02-061-13/+19
|
* IPv6: Separate function that converts prefix lengths to a netmaskGregory Nutt2015-02-061-15/+24
|
* Make some conditional compilation consistentGregory Nutt2015-02-051-1/+1
|
* Networking: Changes need to build ICMPv6 'router' configuration on STM32 ↵Gregory Nutt2015-02-052-2/+4
| | | | with network debug enabled
* IPv6: Add a netmaks for the local link addressGregory Nutt2015-02-051-4/+5
|
* Networking: Break out Ethernet definitions into a separate file; add IPv6 ↵Gregory Nutt2015-02-043-23/+141
| | | | multicast addresses as common globals, Ethernet drivers need to filter link-local, all nodes Ethernet address
* STM32: Add driver for STM32L162XX AES peripheral. Signed-off-by: Juha ↵Gregory Nutt2015-02-041-0/+4
| | | | Niskanen <juha.niskanen@haltian.com>
* Networking: Add support for sending ICMPv6 Router Solicitation and ↵Gregory Nutt2015-02-031-6/+110
| | | | receiving Router advertisement. This is a part of the ICMPv6 auto-configuration logic is still still not complete
* Add an ioctal() that can be used to perform ICMPv6 auto-configurationGregory Nutt2015-02-031-68/+69
|
* Convert the 64-bit usec limit to a 32-bit tick limitGregory Nutt2015-02-031-10/+15
|
* On my platform I have just 16-bit timer clocked at 32kHz. As result oneshot ↵Gregory Nutt2015-02-031-1/+18
| | | | timer max delay is 2s. The patch adds limit of maximum ticks in sched_timer_start (nuttx/sched/sched/sched_timerexpiration.c). From Macs N.
* drivers/ramdisk.c and include/nuttx/fs/ramdisk.h: Add logic to dispose of ↵Gregory Nutt2015-02-011-7/+16
| | | | the drvier and RAM buffer when the RAM disk has been unlinked and all open references to the RAM disk have been closed. Add new parameters to romdisk() to specify what should be done with the RAM/ROM buffer -- Should it be freed or not? Changed all calls to ramdisk() to use these new parameters.
* Remove execute privileges from some header filesGregory Nutt2015-02-016-0/+0
|
* Add an unlink method to block driver interface. Same motivataion as for the ↵Gregory Nutt2015-01-311-2/+3
| | | | same modification to the character driver interface
* VFS: Add an unlink method to the character driver interface. This is ↵Gregory Nutt2015-01-311-3/+4
| | | | important because if the character driver inode is unlinked and there are no open references to the driver, then the driver resources will be stranded. On the unlink call, the driver has the opportunity (1) check if there an any open references, and (2) if not free the driver resources
* Unix domain/FIFOs: Fix a race condition between FIFO buffer operations and ↵Gregory Nutt2015-01-301-0/+13
| | | | the opening and closing of FIFOs which necessary when the FIFOs are used to support Unix domain, datagram sockets. The default policy is the deallocate FIFO buffering when the last client closes the pipe. When when used for datagram communicatinos, packets left in the FIFO will be lost. Some like UDP read-ahead is needed: The buffered data in the FIFO needs to be retained until the reader gets a chance to re-open the FIFO. Added an ioctl (PIPEIOC_POLICY) to control the buffer policy. Default (0) is the legacy behavior; Unix domain datagram logic sets the alternative policy so that the packet data persists after the FIFO is closed.
* Merge remote-tracking branch 'origin/master' into afunixGregory Nutt2015-01-271-0/+26
|\ | | | | | | | | Conflicts: nuttx/ChangeLog
| * Networking: The are issues with the TCP write-ahead buffering if ↵Gregory Nutt2015-01-271-0/+26
| | | | | | | | | | | | CONFIG_NET_NOINTS is enabled: There is a possibility of deadlocks in certain timing conditions. I have not seen this with the Tiva driver that I have been users but other people claim to see the issue on other platforms. Certainly it is a logic error: The network should never wait for TCP read-ahead buffering space to be available. It should drop the packets immediately. This was fixed by duplicating most of the IOB interfaces: The versions that waited are still present (like iob_alloc()), but now there are non-waiting verisons of the same interfaces (like iob_tryalloc()). The TCP read-ahead logic now uses only these non-waiting interfaces.
* | Various fixes to get Unix domain sockets to build on the simulator without ↵Gregory Nutt2015-01-271-1/+9
|/ | | | Ethernet
* Add math library defines for nan functions. From Brennan Ashton.Gregory Nutt2015-01-261-0/+8
|
* Add math library support for trunc functions. From Brennan Ashton.Gregory Nutt2015-01-261-0/+8
|
* Add math library support for copysign. From Brennan AshtonGregory Nutt2015-01-261-0/+8
|
* Add error function to math library. From Brennan Ashton.Gregory Nutt2015-01-261-0/+11
|
* Add math library definition for isfinite. From Brennan Ashton.Gregory Nutt2015-01-261-5/+6
|
* Add support for inverse hyperbolic functions. From Brennan AshtonGregory Nutt2015-01-261-0/+24
|
* Add ioctls for Unix domain socketsGregory Nutt2015-01-242-0/+16
|
* Add sys/un.h header fileGregory Nutt2015-01-241-0/+81
|
* Fix another error in conditional compilation; plus some additional cosmetic ↵Gregory Nutt2015-01-241-1/+1
| | | | changes
* Networking: Clean up network status collection and presentation for IPv6Gregory Nutt2015-01-242-25/+44
|
* Some minor clean-up of IPv4/6 flagsGregory Nutt2015-01-241-6/+31
|
* Remove CONFIG_DEBUG_STACK. Adding CONFIG_STACK_COLORATION makes this ↵Gregory Nutt2015-01-241-1/+1
| | | | configuration option pointless
* Add CONFIG_STACK_COLORATION that does the same thing as CONFIG_DEBUG_STACK ↵Gregory Nutt2015-01-241-1/+1
| | | | but without enabling debug. From David Sidrane
* Math library: Adds support for the expm1 functions: ↵Gregory Nutt2015-01-231-1/+4
| | | | http://pubs.opengroup.org/onlinepubs/009695399/functions/expm1.html. From Brennan Ashton
* Networking: First cut at ICMPv6 ping logicGregory Nutt2015-01-231-0/+30
|
* Correct the MSS calculationGregory Nutt2015-01-221-2/+2
|
* Networking: Correct the value returned by accept() in the case where ↵Gregory Nutt2015-01-221-0/+8
| | | | net_lockingwait() is called. It was returning -1 and losing the errno value. Noted by Rony Xln
* Networking: Fix another error in an IPv6 macro. Again ampersand where there ↵Gregory Nutt2015-01-211-1/+1
| | | | should not be one
* Fix some errors in memcpy arguments. No ampersands on array arguments.Gregory Nutt2015-01-211-1/+1
|
* Correct name of fields in struct sockaddr_in6: sin6_port and sin6_family, ↵Gregory Nutt2015-01-201-2/+2
| | | | not sin_port and sin_family
* Networking: Add logic to search the Neighbor Table and update the ↵Gregory Nutt2015-01-202-8/+40
| | | | destination address in the output Ethernet header OR to send an ICMPv6 Neighbor Solicitation if there is no entry in the Neighbor table for the IPv6 address
* Networking: Update ICMPv6 logic to RFCsGregory Nutt2015-01-201-13/+47
|
* Networking: Fix to ICMPv6 logic: Needs to set source and destination ↵Gregory Nutt2015-01-191-1/+1
| | | | address in the Ethernet header
* Networking: Update ICMPv6 message numbersGregory Nutt2015-01-191-36/+34
|
* Fix a few more dangling IPv6 issues found by code inspectionGregory Nutt2015-01-182-2/+2
|
* Networking: Final detangle off IPv4 and IPv6 TCP/UDP send logic. The ↵Gregory Nutt2015-01-183-114/+2
| | | | Networking subsystem now compiles with IPv6 enabled
* Networking: Straighten up use if IPv6/IPv4 in TCP connection logicGregory Nutt2015-01-171-5/+5
|
* Networking: Save the IP domain in the connection structureGregory Nutt2015-01-171-1/+1
|