Gregory Nutt
|
b52e4e5ecd
|
Move cancellation point definitions to their own header file.
|
2016-12-10 09:08:26 -06:00 |
|
Gregory Nutt
|
bc3ca25cc7
|
Cancellation points: Close up some logic to eliminte some race conditions.
|
2016-12-10 08:36:58 -06:00 |
|
Gregory Nutt
|
16be9b332e
|
More cancellation points
|
2016-12-09 15:17:58 -06:00 |
|
Gregory Nutt
|
7467329a98
|
Eliminate CONFIG_NO_NOINTS. Lots of files changed -> lots of testing needed.
|
2016-12-03 16:28:19 -06:00 |
|
Gregory Nutt
|
86b79b33cf
|
Reserver the name 'err' for other purposes
|
2016-06-11 14:40:07 -06:00 |
|
Gregory Nutt
|
39a37d6aa8
|
Separate out psock_listen() and psock_accept() for internal use by the OS
|
2016-04-14 08:39:48 -06:00 |
|
Gregory Nutt
|
2c95fef501
|
Remove some empty code section comments
|
2016-02-26 07:35:55 -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
|
0fc8d2fcc5
|
Unix domain: Add options to build in stream or datagram support separately
|
2015-01-31 07:58:51 -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
|
35a814abca
|
net/socket/accept.c: Ooops.. deleted one too many header files
|
2015-01-28 14:56:06 -06:00 |
|
Gregory Nutt
|
b76db036da
|
Unix domain: A few more bugfixes
|
2015-01-27 17:31:42 -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
|
2e8667d304
|
Networking: New domain field in socket structure is created by socket(), but missed cases where a socket is created via accept() or dup()
|
2015-01-22 07:50:31 -06:00 |
|
Gregory Nutt
|
6175e9eec5
|
Networking: Correct the value returned by accept() in the case where net_lockingwait() is called. It was returning -1 and losing the errno value. Noted by Rony Xln
|
2015-01-22 06:51:31 -06:00 |
|
Gregory Nutt
|
5d31687e75
|
Correct name of fields in struct sockaddr_in6: sin6_port and sin6_family, not sin_port and sin_family
|
2015-01-20 18:14:09 -06:00 |
|
Gregory Nutt
|
eb3c6e8390
|
Networking: Some fixes for compilation when both IPv4 and IPv6 are enabled
|
2015-01-18 09:23:22 -06:00 |
|
Gregory Nutt
|
820509eadc
|
Networking: Fix accept() so that it returns the correct IP address for the selected socket IP domain.
|
2015-01-17 09:27:05 -06:00 |
|
Gregory Nutt
|
2663538b0a
|
Networking: Replace all references to the macros net_ipaddr_copy, 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.
|
2015-01-16 13:01:08 -06:00 |
|
Gregory Nutt
|
bee89be4f4
|
Networking: Drivers can have both IPv4 and IPv6 addesses, but a socket can 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
|
2015-01-16 10:01:54 -06:00 |
|
Gregory Nutt
|
2d52d70d4c
|
NET: Move private definitions from include/nuttx/net/tcp to net/tcp/tcp.h
|
2014-07-06 12:34:27 -06:00 |
|
Gregory Nutt
|
60246e613b
|
NET: emoved all includes of uip.h; added includes of ip.h wherever needed. 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.
|
2014-07-04 19:13:08 -06:00 |
|
Gregory Nutt
|
a6b39d1879
|
NET: in-progress change... don't use
|
2014-07-04 16:38:51 -06:00 |
|
Gregory Nutt
|
c362f21815
|
NET: Rename uip_ipaddr* to net_ipaddr*
|
2014-06-29 13:11:08 -06:00 |
|
Gregory Nutt
|
76fa58ee00
|
Move all socket-related files from net/ to net/socket. Move net/net.h to net/socket/socket.h
|
2014-06-28 17:25:18 -06:00 |
|