zhangyuan7
|
81a3ec250e
net/local: Fixed deadlock issue by replacing nxsem_wait() with net_lockedwait() so that we do not wait with the network locked.
|
5 years ago |
Gregory Nutt
|
f6b00e1966
tools/nxstyle.c: Fix logic error that prevent detecion of '/' and '/=' as operators. net/: Minor updates resulting from testing tools/nxstyle.
|
5 years ago |
Gregory Nutt
|
b54ffe858a
Standardization of some function headers.
|
6 years ago |
Dmitriy Linikov
|
a8c58607e9
Merged in hardlulz/modem-3.0-nuttx/fix-sem-EINTR (pull request #603)
|
6 years ago |
Gregory Nutt
|
21041af8a7
This commit modifies the Unix domain local socket design. Local sockets are built on top of pipes. The Local socket implementation maintained file descriptors to interrupt with the pipes. File descriptors have the bad property that they are valid only while running on the thread within the task that created the local socket.
|
7 years ago |
Gregory Nutt
|
6a13faf702
net/local: Need to include nuttx/semaphore.h to eliminate some new warnings.
|
7 years ago |
Gregory Nutt
|
9568600ab1
Squashed commit of the following:
|
7 years ago |
Gregory Nutt
|
42a0796615
Squashed commit of the following:
|
7 years ago |
Jussi Kivilinna
|
52becb7811
net/local: fix accept for local stream sockets
|
7 years ago |
Gregory Nutt
|
0c840ed22f
Socket interface: Added listen() and accept() interfaces.
|
7 years ago |
Gregory Nutt
|
d5207efb5a
Be consistent... Use Name: consistent in function headers vs Function:
|
7 years ago |
Gregory Nutt
|
a1469a3e95
Add CONFIG_DEBUG_ERROR. Change names of *dbg() * *err()
|
8 years ago |
Gregory Nutt
|
6209c51206
net/: More clean-up of spacing/alignment issues
|
9 years ago |
Gregory Nutt
|
fca919f3d2
Networking: Fix some compilation issues noted with network is build with CONFIG_BUILD_KERNEL
|
9 years ago |
Gregory Nutt
|
0f5c35260b
Local sockets: Local stream sockets had problem of double releasing pipes (both server and client attempt release), which causes wrong pipe pair being closed in multi-client case. Solve by adding per connection instance ID to pipe names. From Jussi Kivilinna (2015-05-12).
|
9 years ago |
Gregory Nutt
|
3c1af2feed
Local sockets: Add poll support for Unix stream sockets. From Jussi Kivilinna.
|
9 years ago |
Gregory Nutt
|
0fc8d2fcc5
Unix domain: Add options to build in stream or datagram support separately
|
9 years ago |
Gregory Nutt
|
62b706fa68
If a Unix domain socket is non-blocking, then the underlying FIFO should also be opened non-blocking
|
9 years ago |
Gregory Nutt
|
ca2102febb
Unix domain: A few fixes from early integration
|
9 years ago |
Gregory Nutt
|
8f29039f42
Unix sockets: Fleshes out the recvfrom() logic
|
9 years ago |
Gregory Nutt
|
1f7b40ce15
Local sockets: Remove some ill-conceived logic
|
9 years ago |
Gregory Nutt
|
2201c9b449
Add stub files for sending and receiving on FIFOs
|
9 years ago |
Gregory Nutt
|
1828badd1d
Networking: Add FIFO management logic needed to support Unix domain sockets
|
9 years ago |
Gregory Nutt
|
a25f6cb7fd
Replace an un-necessary goto
|
9 years ago |
Gregory Nutt
|
f756545eb0
Networking: Add local Unix domain socket accept logic
|
9 years ago |