summaryrefslogtreecommitdiff
path: root/nuttx/net/socket/recvfrom.c
Commit message (Collapse)AuthorAgeFilesLines
* Move some useful internal logic from recvfrom.c and udp_callback.c and put ↵Gregory Nutt2015-02-171-8/+11
| | | | them in ip.h where they can be used more generally
* Purely cosmetic changes resulting from last review IPv6 UDP changeGregory Nutt2015-02-161-4/+6
|
* IPv4 mapping to IPv6 implementation. Just for UDP. From Macs NeklyudovGregory Nutt2015-02-161-4/+28
|
* net/: Lots of build problems introduced into multiple NIC support. Many ↵Gregory Nutt2015-02-091-2/+2
| | | | places where conditional logic based on CONFIG_NETDEV_MULTINIC is confused with CONFIG_NET_MULTILINK. Lots of code changed with IPv6 that was never compiled with MULTINIC enabled. Still some problem with parameter passing.
* Unix domain: Add options to build in stream or datagram support separatelyGregory Nutt2015-01-311-10/+10
|
* Fix error just introduces into recvfrom. From Macs N.Gregory Nutt2015-01-301-2/+2
|
* Eliminate a warningGregory Nutt2015-01-301-2/+5
|
* Networking: Add UDP read-ahead support and support for poll/select on UDP ↵Gregory Nutt2015-01-301-12/+141
| | | | sockets. From Macs N.
* Fix a typo in commentsGregory Nutt2015-01-281-4/+4
|
* Minor fixes after initial tests with apps/examples/udgramGregory Nutt2015-01-281-1/+1
|
* Unix domain: More fixed to build without Ethernet or SlipGregory Nutt2015-01-271-11/+25
|
* Merge remote-tracking branch 'origin/master' into afunixGregory Nutt2015-01-271-4/+5
|\
| * recvfrom(): Missing else in conditional logic of recvfrom()Gregory Nutt2015-01-271-4/+5
| |
* | Networking: Hook in send and revcfrom Unix domain socket logic; still needs ↵Gregory Nutt2015-01-261-21/+64
|/ | | | hooks for sendto logic
* Networking: New domain field in socket structure is created by socket(), ↵Gregory Nutt2015-01-221-1/+1
| | | | but missed cases where a socket is created via accept() or dup()
* Correct name of fields in struct sockaddr_in6: sin6_port and sin6_family, ↵Gregory Nutt2015-01-201-4/+4
| | | | not sin_port and sin_family
* Cosmetic standardization of some naming in commentsGregory Nutt2015-01-191-1/+1
|
* Networking: Some fixes for compilation when both IPv4 and IPv6 are enabledGregory Nutt2015-01-181-57/+49
|
* Networking: Final detangle off IPv4 and IPv6 TCP/UDP send logic. The ↵Gregory Nutt2015-01-181-32/+85
| | | | Networking subsystem now compiles with IPv6 enabled
* Networking: Fix some errors detected by Travis in configuration that have ↵Gregory Nutt2015-01-171-0/+2
| | | | TCP on and UDP off and vice versa
* Networking: Fix accept() so that it returns the correct IP address for the ↵Gregory Nutt2015-01-171-5/+5
| | | | selected socket IP domain.
* net/socket and net/tcp: When we are ready to receive data or when we have ↵Gregory Nutt2015-01-171-11/+80
| | | | outgoing data ready to be sent, we need to the notify the appropriate device driver of this condition. The notifying socket will be configured as either PF_INET or PF_INET6 and must look up the correct driver using the correct IP domain.
* Networking: Replace all references to the macros net_ipaddr_copy, ↵Gregory Nutt2015-01-161-6/+6
| | | | 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-161-4/+4
| | | | 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-4/+4
| | | | 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 IPv6 detanglementGregory Nutt2015-01-151-2/+7
|
* Add logic to netdev_findbyaddr() to return the correct network device for ↵Gregory Nutt2014-11-231-1/+11
| | | | the case where a broadcast address is used. This change caused trivial ripples through other files because additional parameters are required for netdev_findbyaddr() when CONFIG_NET_MULTINIC
* Network: All logic will now handle varialbe length link layer protocol ↵Gregory Nutt2014-11-151-3/+3
| | | | headers within incoming packets. This permits use of multiple network interfaces with differing data links. For example, ETHERNET + SLIP
* Remove CONFIG_DISABLE_CLOCKGregory Nutt2014-08-071-9/+9
|
* Add inclusion of assert.h to so files that use DEBUGASSERTGregory Nutt2014-07-211-0/+1
|
* NET: Important fix to the read-ahead buffer queue managment: Consumed bytes ↵Gregory Nutt2014-07-071-3/+4
| | | | were being trimmed from the head of the queue, but the queue head itself was not being updated. From Rony XLN
* NET: Rename network interrupt event flags more appropriately: TCP_, UDP_, ↵Gregory Nutt2014-07-061-20/+24
| | | | ICMP_, or PKT_ vs UIP_
* NET: Most of the contents of include/nuttx/net/pkt.h moved to net/pkt/pkt.hGregory Nutt2014-07-051-2/+0
|
* NET: Standardize naming of all protocal header lengthsGregory Nutt2014-07-051-2/+2
|
* NET: emoved all includes of uip.h; added includes of ip.h wherever needed. ↵Gregory Nutt2014-07-041-0/+2
| | | | Tried to fix problems of the now missing sneak inclusions because uip.h was removed. There are probably a few of these that were missed.
* NET: in-progress change... don't useGregory Nutt2014-07-041-1/+3
|
* NET: More renamingGregory Nutt2014-07-041-2/+2
|
* NET: Rename uiphdr_ipaddr_copy to net_ipaddr_hdrcopy, uip_ip4addr_conv to ↵Gregory Nutt2014-06-291-2/+4
| | | | net_ip4addr_conv32, and uip_ethaddr_cmp to eth_addr_cmp
* NET: Rename uip_ipaddr* to net_ipaddr*Gregory Nutt2014-06-291-4/+4
|
* NET: Rename uip_callback_s to devif_callback_sGregory Nutt2014-06-291-10/+10
|
* Rename many functions in net/devif from uip_* to devif_*Gregory Nutt2014-06-281-6/+6
|
* Rename net/uip to net/devif. Rename uip/uip.h to devif/devif.hGregory Nutt2014-06-281-1/+1
|
* Move all socket-related files from net/ to net/socket. Move net/net.h to ↵Gregory Nutt2014-06-281-0/+1620
net/socket/socket.h