Gregory Nutt
|
f421723fbd
|
Fix some errors in debug assertions
|
2015-01-30 13:29:56 -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
|
e8a74527a0
|
Fix mimatched #if/#endif
|
2015-01-30 12:28:29 -06:00 |
|
Gregory Nutt
|
e86d00913e
|
Unix domain/FIFOs: Fix a race condition between FIFO buffer operations and the opening and closing of FIFOs which necessary when the FIFOs are used to support Unix domain, datagram sockets. The default policy is the deallocate FIFO buffering when the last client closes the pipe. When when used for datagram communicatinos, packets left in the FIFO will be lost. Some like UDP read-ahead is needed: The buffered data in the FIFO needs to be retained until the reader gets a chance to re-open the FIFO. Added an ioctl (PIPEIOC_POLICY) to control the buffer policy. Default (0) is the legacy behavior; Unix domain datagram logic sets the alternative policy so that the packet data persists after the FIFO is closed.
|
2015-01-30 11:14:24 -06:00 |
|
Gregory Nutt
|
2a39105b3f
|
Unix domain: Add logic to release references to the half duplex FIFO after sendto and recvfrom
|
2015-01-30 09:28:55 -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
|
0deca5b039
|
Unix domain: Various fixes to get apps/examplex/udgram working
|
2015-01-29 11:05:04 -06:00 |
|
Gregory Nutt
|
e5f820a2cd
|
Unix domain: Add sendto logic for SOCK_DRAM protocoal
|
2015-01-29 10:40:10 -06:00 |
|
Gregory Nutt
|
ffb16f658f
|
Unix domain: Add initial cut at redvfrom() for Unix domain datagram sockets
|
2015-01-29 07:47:09 -06:00 |
|
Gregory Nutt
|
dfa642601a
|
Merge remote-tracking branch 'origin/master' into afunix
|
2015-01-28 14:58:49 -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
|
508f8aefa6
|
Unix domain socket support is no longer EXPERIMENTAL
|
2015-01-28 13:22:53 -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
|
8f29039f42
|
Unix sockets: Fleshes out the recvfrom() logic
|
2015-01-27 11:51:24 -06:00 |
|
Gregory Nutt
|
120efa4717
|
Local sockets: Add basic packet send logic
|
2015-01-27 08:05:09 -06:00 |
|
Gregory Nutt
|
1f7b40ce15
|
Local sockets: Remove some ill-conceived logic
|
2015-01-27 07:03:20 -06:00 |
|
Gregory Nutt
|
2201c9b449
|
Add stub files for sending and receiving on FIFOs
|
2015-01-26 17:28:36 -06:00 |
|
Gregory Nutt
|
1828badd1d
|
Networking: Add FIFO management logic needed to support Unix domain sockets
|
2015-01-26 13:30:27 -06:00 |
|
Gregory Nutt
|
a25f6cb7fd
|
Replace an un-necessary goto
|
2015-01-25 17:53:01 -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 |
|
Gregory Nutt
|
c3f2023089
|
Networking: Add local Unix domain socket connection logic
|
2015-01-25 12:37:40 -06:00 |
|
Gregory Nutt
|
ffc02f30b0
|
Networking: Add logic for binding Unix domain sockets
|
2015-01-25 08:33:39 -06:00 |
|
Gregory Nutt
|
3b64518049
|
Networking: A litle more Unix domain socket logic
|
2015-01-25 07:36:16 -06:00 |
|
Gregory Nutt
|
666ee755da
|
Hook local socket functions into socket creation and close logic
|
2015-01-24 15:19:50 -06:00 |
|
Gregory Nutt
|
81a3daca6d
|
Add basic build structure for Unix domain sockets
|
2015-01-24 14:03:32 -06:00 |
|