Gregory Nutt
|
b5c005d5a4
|
Merge remote-tracking branch 'origin/master' into multinic
Conflicts:
nuttx/ChangeLog
|
2015-05-28 19:30:48 -06:00 |
|
Gregory Nutt
|
d319b7c6f0
|
Networking: PKT logic now uses the device event list
|
2015-05-28 12:40:05 -06:00 |
|
Gregory Nutt
|
01d176af76
|
net_startmonitor.c always returned zero. In the case where a socket has already been closed, it correctly handled the disconnetion event but still returned OK. Returning OK causes the callers of net_startmonitor to assume that the connection was okay, undoing the good things that net_startmonitor did and causing the socket to be marked as connected. This behavior was noted by Pelle Windestam.
|
2015-05-28 08:23:51 -06:00 |
|
Gregory Nutt
|
0e2b6929b4
|
Add function headers to prototypes in net/socket/socket.h
|
2015-05-28 07:26:03 -06:00 |
|
Gregory Nutt
|
b94321cfb4
|
Extend device specific callbacks to ICMPv6 and ARP. Fix some IPv6 compilation errors that have crept in
|
2015-05-27 11:39:44 -06:00 |
|
Gregory Nutt
|
00011d4766
|
Another newly missing semicolon after a debug assertion. Noted by Librae
|
2015-04-29 15:56:08 -06:00 |
|
Gregory Nutt
|
621eae86b1
|
Networking: If IPV6 is not enabled, an warning occurs for an unused variable, which is currently used inside the IPV6 block, but declared outside. From ObitalFox.
|
2015-04-27 11:28:28 -06:00 |
|
Gregory Nutt
|
3ba9dda227
|
socket: net_dupsd: Do not call sockfd_socket() twice. From Juha Niskanen
|
2015-03-12 08:11:08 -06:00 |
|
Gregory Nutt
|
db741dd695
|
Move some useful internal logic from recvfrom.c and udp_callback.c and put them in ip.h where they can be used more generally
|
2015-02-17 07:37:44 -06:00 |
|
Gregory Nutt
|
eb8f5e548f
|
Purely cosmetic changes resulting from last review IPv6 UDP change
|
2015-02-16 15:23:02 -06:00 |
|
Gregory Nutt
|
3f5ff4b210
|
IPv4 mapping to IPv6 implementation. Just for UDP. From Macs Neklyudov
|
2015-02-16 14:33:58 -06:00 |
|
Gregory Nutt
|
d6704a1cd7
|
Suffer the consequences of moving struct timeval to its correct location
|
2015-02-15 15:18:35 -06:00 |
|
Gregory Nutt
|
005643de2c
|
Networking: Fix a compilation error recently introduced into the raw packet logic
|
2015-02-11 09:30:30 -06:00 |
|
Gregory Nutt
|
b756df982d
|
net/: Lots of build problems introduced into multiple NIC support. Many 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.
|
2015-02-09 18:15:34 -06:00 |
|
Gregory Nutt
|
a07a764d42
|
ICMPv6: Adds basic logic to support verification that we have the IPv6 address in the Neighbor Table. This feature is important because otherwise the first packet sent to a remote peer will fail (it will be replaced with a Neighbor Solicitation).
|
2015-02-02 13:44:31 -06:00 |
|
Gregory Nutt
|
0fc8d2fcc5
|
Unix domain: Add options to build in stream or datagram support separately
|
2015-01-31 07:58:51 -06:00 |
|
Gregory Nutt
|
6b8da59df6
|
Networking: Add fcntl support for Unix domain sockets and UDP sockets with read-ahead enabled
|
2015-01-30 14:41:09 -06:00 |
|
Gregory Nutt
|
62b706fa68
|
If a Unix domain socket is non-blocking, then the underlying FIFO should also be opened non-blocking
|
2015-01-30 12:43:37 -06:00 |
|
Gregory Nutt
|
f357ba6c80
|
Fix error just introduces into recvfrom. From Macs N.
|
2015-01-30 08:22:44 -06:00 |
|
Gregory Nutt
|
5736cf10af
|
Networking: Separate TCP poll logic out of net/sockets/net_poll.c and move it into the new net/tcp/tcp_netpoll.c.
|
2015-01-30 07:25:01 -06:00 |
|
Gregory Nutt
|
de91d34a19
|
Networking: Separate out UDP poll logic from socket/net_poll.c into a new udp/udp_netpoll.c; Create a skeleton local/local_netpoll.c for future poll support on Unix domain sockets.
|
2015-01-30 07:09:25 -06:00 |
|
Gregory Nutt
|
6eda06888a
|
Eliminate a warning
|
2015-01-30 06:39:23 -06:00 |
|
Gregory Nutt
|
ccc72edc0b
|
Networking: Add UDP read-ahead support and support for poll/select on UDP sockets. From Macs N.
|
2015-01-30 06:08:26 -06:00 |
|
Gregory Nutt
|
7e7d228cd7
|
Update a comment
|
2015-01-30 05:40:28 -06:00 |
|
Gregory Nutt
|
7f95e4fb2c
|
Networking: Fix a major TCP bug introduced with commit e71c09ce9777ff732cb60bd07fb43d85522f79d6. Some connection logic was reorder -- setting the socket got moved BEFORE the point where the check was made if the socket was already connected. The resulting behavior was odd: Telnet would connect, but then when you exit and reconnect, it would fail to connect. But then if try again, it would connect okay. So the symptom was connect-fail-connect-fail-...
|
2015-01-29 16:30:47 -06:00 |
|
Gregory Nutt
|
8b9958b7ba
|
Fix two compilation errors that occur when Unix domain occurs an IPv6 are enabled
|
2015-01-29 12:31:29 -06:00 |
|
Gregory Nutt
|
0deca5b039
|
Unix domain: Various fixes to get apps/examplex/udgram working
|
2015-01-29 11:05:04 -06:00 |
|
Gregory Nutt
|
9abd8e2e64
|
Fix typo in conditional compilation
|
2015-01-29 10:08:16 -06:00 |
|
Gregory Nutt
|
f6bec26e53
|
Elminate some warnings with TCP and UDP are disabled
|
2015-01-29 09:33:45 -06:00 |
|
Gregory Nutt
|
1c8ddae655
|
Fix a typo in comments
|
2015-01-28 17:51:59 -06:00 |
|
Gregory Nutt
|
72ac79e7a1
|
Minor fixes after initial tests with apps/examples/udgram
|
2015-01-28 15:27:54 -06:00 |
|
Gregory Nutt
|
dfa642601a
|
Merge remote-tracking branch 'origin/master' into afunix
|
2015-01-28 14:58:49 -06:00 |
|
Gregory Nutt
|
35a814abca
|
net/socket/accept.c: Ooops.. deleted one too many header files
|
2015-01-28 14:56:06 -06:00 |
|
Gregory Nutt
|
2c7123197c
|
Networking: Move UDP-specifc parts of sendto() out of socket/sendto.c and into udp/udp_sendto.c. Hook in Unix domain sokcet sendto() logic (still just a stub for the moment)
|
2015-01-28 13:41:24 -06:00 |
|
Gregory Nutt
|
e4e863e752
|
Merge remote-tracking branch 'origin/master' into afunix
|
2015-01-28 12:14:00 -06:00 |
|
Gregory Nutt
|
5c2aad64cd
|
Networking: Missed header file inclusion
|
2015-01-28 12:09:00 -06:00 |
|
Gregory Nutt
|
9c2af5317f
|
Merge remote-tracking branch 'origin/master' into afunix
|
2015-01-28 12:03:43 -06:00 |
|
Gregory Nutt
|
371a9fd84c
|
Networking: Fix another deadlock condition. tcp_write_buffer_alloc() calls sem_wait() with network locked. That worked if CONFIG_NET_NOINTS was not defined because interrupts are automatically restored when the wait happens. But with CONFIG_NET_NOINTS=y, the wait blocks with the network locked -- bad style and also can lead to a deadlock condition
|
2015-01-28 11:56:11 -06:00 |
|
Gregory Nutt
|
6a1bfc9594
|
Unix domain: Fix a typo and some missing conditional compilation
|
2015-01-28 11:48:23 -06:00 |
|
Gregory Nutt
|
cba78c7349
|
Unix domain: More fixes. With these changes, apps/examples/ustream works
|
2015-01-28 08:39:48 -06:00 |
|
Gregory Nutt
|
b76db036da
|
Unix domain: A few more bugfixes
|
2015-01-27 17:31:42 -06:00 |
|
Gregory Nutt
|
ca2102febb
|
Unix domain: A few fixes from early integration
|
2015-01-27 16:39:30 -06:00 |
|
Gregory Nutt
|
c250c97186
|
Unix domain: More fixed to build without Ethernet or Slip
|
2015-01-27 14:26:10 -06:00 |
|
Gregory Nutt
|
8f517ad0c1
|
recvfrom(): Missing else in conditional logic of recvfrom()
|
2015-01-27 14:14:53 -06:00 |
|
Gregory Nutt
|
c49c7bc447
|
Merge remote-tracking branch 'origin/master' into afunix
|
2015-01-27 14:12:41 -06:00 |
|
Gregory Nutt
|
cbf0608513
|
Various fixes to get Unix domain sockets to build on the simulator without Ethernet
|
2015-01-27 14:11:46 -06:00 |
|
Gregory Nutt
|
a88b824f96
|
Networking: Hook in send and revcfrom Unix domain socket logic; still needs hooks for sendto logic
|
2015-01-26 18:47:48 -06:00 |
|
Gregory Nutt
|
f756545eb0
|
Networking: Add local Unix domain socket accept logic
|
2015-01-25 16:27:25 -06:00 |
|
Gregory Nutt
|
90e59217c6
|
Networking: Move TCP specific logic out of net/socket/accept.c to net/tcp/tcp_accept.c; add hooks for local, Unix doamin sockets
|
2015-01-25 15:46:05 -06:00 |
|
Gregory Nutt
|
59f9a1a286
|
Networking: Add local Unix domain socket listen logic
|
2015-01-25 14:16:44 -06:00 |
|