summaryrefslogtreecommitdiff
path: root/nuttx/include
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* include/net/if.h: Add a bit to the device flags to indicate if the device ↵Gregory Nutt2015-01-171-8/+35
| | | | | | packet buffer holds an IPv4 or an IPv6 domain packet. Set/clear the flag along with the correct offset to the application payload data as each packet is received. net/socket, net/tcp, net/udp: Add logic to select the domain of the outputgoing packet before sending any UDP or TCP packet. This sets the bit to indicate the IPv4 or IPv6 domain and the correct offset to the output going payload data.
* Networking: Remove field d_sndata from the device structure. It is the ↵Gregory Nutt2015-01-171-8/+2
| | | | same as d_appdata and unnecessary
* Networking: UDP and TCP MSS depends on the IP header size (as well as the ↵Gregory Nutt2015-01-163-20/+98
| | | | link layer header size) and cannot be represented with a single value.
* Networking: Replace all references to the macros net_ipaddr_copy, ↵Gregory Nutt2015-01-161-41/+32
| | | | net_ipaddr_hdrcopy, net_ipaddr_cmp, net_ipaddr_hdrcmp, and net_ipaddr_maskcmp with the appropriate IPv4 or IPv6 version of the macro (such as net_ipv4addr_copy). The goal is to support both IPv4 and IPv6 simultaneously. This requires that the macros be distinct and not conditionally defined to one on or the other.
* Networking: Replace all references to net_ipaddr_t with either in_addr_t on ↵Gregory Nutt2015-01-162-11/+5
| | | | net_ipv6addr_t. The goal is to support both IPv4 and IPv6 simultaneously. This requires that the two types be distinct and not conditionally typedef'ed to net_ipaddr_t.
* Networking: Drivers can have both IPv4 and IPv6 addesses, but a socket can ↵Gregory Nutt2015-01-161-1/+47
| | | | only only one or the other; The socket connnection structures need to include a union of IPv4 and IPv6 addresses for the local address binding and for the remote address connections
* Networking: More detangling of IPv6 logic. Next steps will be more ↵Gregory Nutt2015-01-161-1/+2
| | | | invasive and will get moved to a branch
* Clean a few more IPv6 compilation issues; Add implementation of ↵Gregory Nutt2015-01-153-7/+8
| | | | net_ipv6_maskcmp()
* Networking: Seperate tcp_input() and udp_input() into seprate functions ↵Gregory Nutt2015-01-153-13/+53
| | | | tcp_ipv4_input(), tcp_ipv6_input(), udp_ipv4_input(), and upd_ipv6_input() than can deal will the data offsets caused by the differing sizes of the IP header.
* Networking: More IPv6 detanglementGregory Nutt2015-01-151-8/+16
|
* Networking: Misck IPv6 detanglementGregory Nutt2015-01-157-118/+167
|
* - Rename devif_input() ipv4_input()Gregory Nutt2015-01-152-32/+37
| | | | | | - Copy net/devif/devif_input.c to ipv6_input.c. Remove all IPv4-specific logic. - Rename net/devif/devif_input.c to ipv4_input.c. Remove all IPv6-specific logic - Split IPv4 header structure out as net_ipv4hdr_s from net_iphdr_s
* Networking: A few more IPv6-related fixesGregory Nutt2015-01-141-10/+16
|
* Networking: (1) Copied all ICMP sources files to net/icmpv6 with proper ↵Gregory Nutt2015-01-148-73/+276
| | | | renaming and removal of IPv4 logic, (2) remove IPv6 logic from files in net/icmp, (3) copied include/nuttx/icmp.h to icmpv6.h and removed IPv4 specific logic, (4) removed all IPv6 logic from icmp.h, (5) IP_HDRLEN became IPv4_HDRLEN and IPv6_HDRLEN, (6) ip_chksum() became ipv4_chksum() and ipv6_chksum(), and (7) added partial support for ICMPv6 statistics.
* Networking: Add support for IPv6 ioctlsGregory Nutt2015-01-142-114/+95
|
* USB host drivers: Change all parmeters named class to usbclass to avoid C++ ↵Gregory Nutt2015-01-111-13/+14
| | | | conflicts
* STM32 SDIO: CONFIG_MMCSD_SDIOWAIT_WRCOMPLETE should not be available unless ↵Gregory Nutt2015-01-081-9/+6
| | | | CONFIG_MMCSD_SDIO=y
* MMCSD SDIO: Add support for a new SDWAIT_WRCOMPLETE condition. The ↵Gregory Nutt2015-01-081-1/+21
| | | | | | | | | | previous logic used a busy-wait loop to pool the card R1 start to determine when the card was ready for the next transfer. That busy-wait can be quite long -- hundreds of milliseconds. And alternative is to look the the SD D0 pin which will change state when the card is no longer busy. This logic implements a change the avoids the busy-wait poll by reconfiguring the SD D0 pin as a GPIO interrupt, then waiting for the card to becom ready without taking up CPU cycles. This change is conditioned on CONFIG_MMCSD_SDIOWATI_WRCOMPLETE and is currenlty only implemented for the STM32 SDIO driver. From David Sidrane
* Update ChangeLogGregory Nutt2015-01-061-7/+7
|
* There were some changes which broke my NuttX-Build. With these two patches ↵Gregory Nutt2015-01-011-0/+4
| | | | it builds again. From Manuel Stühn
* Fix warning caused by missing comment closing */. From David Sidrane.Gregory Nutt2014-12-301-1/+1
|
* Added forward reference to eliminate warnings. From David Sidrane.Gregory Nutt2014-12-301-0/+1
|
* Fixes warning about block_operations not being defined. From David Sidrane.Gregory Nutt2014-12-301-0/+2
|
* STM32 Serial: PX4 HW workarround for flaky STM32 RTS. From David SidraneGregory Nutt2014-12-271-2/+28
|
* Serial Upper Half: Add watermarks to RX flow control logicGregory Nutt2014-12-271-4/+7
|
* More RAMTRON related fixes from David SidraneGregory Nutt2014-12-262-5/+19
|
* Most superstitous updates to the RAMTROM driver make it more compatibile ↵Gregory Nutt2014-12-262-1/+3
| | | | with the version used by PX4. From David Sidrane
* STM32 LTDC: Move ltdc.h from include/nuttx/video to arch/arm/include/stm32; ↵Gregory Nutt2014-12-191-563/+0
| | | | Trivial updates after general review
* ili9341: update interface control definitionsGregory Nutt2014-12-191-0/+11
| | | | Signed-off-by: Marco Krahl <ocram.lhark@gmail.com>
* stm32: Add interface description for ltdc controller. This defines the ↵Gregory Nutt2014-12-191-0/+563
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | interface to perform hardware accelerated layer operation by the ltdc controller. The following methods must be supported by the implementation: - gevideoinfo - getplaneinfo - getlid - setclut - getclut - setcolor - getcolor - setcolorkey - getcolorkey - setalpha - getalpha - setblendmode - getblendmode - setarea - getarea - update And if DMA2D is supported: - blit - blend The method up_ltdcgetlayer provides access to a reference of a specific ltdc layer. Signed-off-by: Marco Krahl <ocram.lhark@gmail.com>
* Freedom KL25Z: Update the CC3000 support to use the current CC300 ↵Gregory Nutt2014-12-181-8/+8
| | | | interfaces. From Alan Carvalho de Assis
* strncpy will not copy the terminating \0 into the destination if the source ↵Gregory Nutt2014-12-171-1/+1
| | | | is larger than the size of the destination. Ensure that the last byte is always zero and let strncpy only copy CONFIG_TASK_NAME_SIZE bytes. The issue of unterminated names can be observed in ps when creating a pthread while CONFIG_TASK_NAME_SIZE is set to 8.
* Update the ADXL345 interface following the current interface schemeGregory Nutt2014-12-162-11/+4
|
* Minor clean-up associated with the ADX345 driverGregory Nutt2014-12-161-56/+17
|
* Unify sensor debug. ADX driver was using input debug; LM75 and QENCODE that ↵Gregory Nutt2014-12-161-1/+25
| | | | their own custom debug. Now all use CONFIG_DEBUG_SENSOR, sndbg()
* Add ADXL345 accelerometer driver. From Alan Carvalho de AssisGregory Nutt2014-12-162-1/+441
|
* Fix cosmetic typo in header file idempotence. Note by LazloGregory Nutt2014-12-101-3/+3
|