This website requires JavaScript.
Explore
Help
Register
Sign In
Mirrors_Framework
/
nuttx
Watch
1
Star
0
Fork
0
mirror of
https://github.com/apache/nuttx.git
synced
2026-09-13 07:29:46 +08:00
Code
Issues
Actions
8
Packages
Projects
Releases
Wiki
Activity
Files
8ec52df2cb07d57ec74097d3b888c2dfd13828f4
nuttx
/
net
/
socket
T
History
Gregory Nutt
e22deff1ab
TCP connect. Move the location where the socket is marked as connected in order to avoid a potential race condition
2015-05-31 12:24:24 -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
…
connect.c
TCP connect. Move the location where the socket is marked as connected in order to avoid a potential race condition
2015-05-31 12:24:24 -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
…
Kconfig
TCP networking: Hook the network monitor into the device event notification logic
2015-05-30 11:29:47 -06:00
listen.c
…
Make.defs
…
net_checksd.c
…
net_clone.c
…
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_dupsd2.c
…
net_dupsd.c
…
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
…
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
…
net_vfcntl.c
…
recv.c
…
recvfrom.c
Costmetic changes to networking logic
2015-05-31 10:29:53 -06:00
send.c
…
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
…
socket.h
TCP networking: Hook the network monitor into the device event notification logic
2015-05-30 11:29:47 -06:00