incubator-nuttx/net/socket
Gregory Nutt b493dde4cf TCP networking: In the TCP connection operation, it was trying to setup the network monitor BEFORE the socket was successfully connected. This, of course, has ALWAYS failed because the socket is not yet connected and the TCP state is not yet correct for a connected socket. However, because of other changes net_startmonitor(0 no returns a failure condition that causes worse problems when trying to connect. The fix is to move the logic that starts the network monitor to AFTER the socket has been successfully connected. 2015-05-31 11:35:28 -06:00
..
Kconfig TCP networking: Hook the network monitor into the device event notification logic 2015-05-30 11:29:47 -06:00
Make.defs Unix domain: Add options to build in stream or datagram support separately 2015-01-31 07:58:51 -06:00
accept.c 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
bind.c Unix domain: Add options to build in stream or datagram support separately 2015-01-31 07:58:51 -06:00
connect.c TCP networking: In the TCP connection operation, it was trying to setup the network monitor BEFORE the socket was successfully connected. This, of course, has ALWAYS failed because the socket is not yet connected and the TCP state is not yet correct for a connected socket. However, because of other changes net_startmonitor(0 no returns a failure condition that causes worse problems when trying to connect. The fix is to move the logic that starts the network monitor to AFTER the socket has been successfully connected. 2015-05-31 11:35:28 -06:00
getsockname.c Networking: The network device list was protected by a re-entrant semaphore. With the recent change to support network device callback, the network stack needs to access the network device list too. Some drivers, however, run the network stack from the interrupt level -- this is bad but a fact in the current state. Of course,those drivers are unable to take the semaphore and will assert. 2015-05-31 08:34:03 -06:00
getsockopt.c Suffer the consequences of moving struct timeval to its correct location 2015-02-15 15:18:35 -06:00
listen.c Networking: Add local Unix domain socket listen logic 2015-01-25 14:16:44 -06:00
net_checksd.c Cosmetic standardization of some naming in comments 2015-01-19 16:02:56 -06:00
net_clone.c 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
net_close.c TCP networking: Since the network monitor now allocates a callback structure, it is critical to make sure that the networking monitor is stopped when the socket is closed or any other loss of connection. What was innocuous before would now be a memory leak 2015-05-30 11:49:55 -06:00
net_dupsd.c socket: net_dupsd: Do not call sockfd_socket() twice. From Juha Niskanen 2015-03-12 08:11:08 -06:00
net_dupsd2.c Cosmetic standardization of some naming in comments 2015-01-19 16:02:56 -06:00
net_monitor.c TCP networking: Since the network monitor now allocates a callback structure, it is critical to make sure that the networking monitor is stopped when the socket is closed or any other loss of connection. What was innocuous before would now be a memory leak 2015-05-30 11:49:55 -06:00
net_poll.c 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
net_sendfile.c TCP networking: Add support for network driver events 2015-05-30 09:12:27 -06:00
net_sockets.c Add function headers to prototypes in net/socket/socket.h 2015-05-28 07:26:03 -06:00
net_timeo.c Cosmetic standardization of some naming in comments 2015-01-19 16:02:56 -06:00
net_vfcntl.c Unix domain: Add options to build in stream or datagram support separately 2015-01-31 07:58:51 -06:00
recv.c Cosmetic standardization of some naming in comments 2015-01-19 16:02:56 -06:00
recvfrom.c Costmetic changes to networking logic 2015-05-31 10:29:53 -06:00
send.c Unix domain: Add options to build in stream or datagram support separately 2015-01-31 07:58:51 -06:00
sendto.c UDP Networking: Misc fixes to get the last changes working + cleanup 2015-05-29 14:32:56 -06:00
setsockopt.c Networking: setsockopt() fails when setting timeouts to values less that an 100 msec. That is because the timeout is limited to stops of 1 decisecond and because the conversion of structure timeval was truncating the microsecond remainder. The utility net_timeval2dsec now accespts and option to determin how it handles the remainder: truncate, discarding the remainder, use the remainder to round to the closed decisecond value, or use any non-zero remainder to the next larger whole decisecond value. 2015-05-29 07:17:15 -06:00
socket.c Networking: Fix a compilation error recently introduced into the raw packet logic 2015-02-11 09:30:30 -06:00
socket.h TCP networking: Hook the network monitor into the device event notification logic 2015-05-30 11:29:47 -06:00