Commit Graph

13 Commits

Author SHA1 Message Date
Bernard Xiong a1a56ce1d1 [Kernel] Add flag in wait queue and fix wakeup issue. 2018-06-26 11:19:38 +08:00
MurphyZhao f31235c824 [components/dfs] Fix inconsistent structure of lwip_sock structure, adaptation lwip202 version
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2018-06-15 15:34:14 +08:00
Bernard Xiong 661338d279
Merge pull request #1473 from Bluebear233/patch-1
[DFS] Update net_sockets.c
2018-05-31 13:33:42 +08:00
Bluebear233 ec81f44ff9
Update net_sockets.c
修复创建socket失败仍然返回有效的fd
2018-05-27 21:37:08 +08:00
armink 488a0fd360 [fs][net] Add lwIP version check on setsockopt(). 2018-05-27 21:36:00 +08:00
Bernard Xiong fe66f24c69 [DFS] Add lastdata for poll of netsocket 2018-03-09 08:34:43 +08:00
MurphyZhao 938fa1170d [dfs] add IN6_IS_ADDR_MULTICAST support
in components/dfs/filesystems/net/netinet/in.h, add IN6_IS_ADDR_MULTICAST support
2018-01-17 15:50:34 +08:00
aozima a2d1f21b43 [LWIP] fixed closesocket issues: socket has been closed, delete it from file system fd. 2017-12-14 16:52:46 +08:00
Bernard Xiong 9bd094197e [libc] Add HAVE_SYS_SELECT_H/HAVE_SYS_SOCKET_H options. 2017-11-05 14:36:48 +08:00
bernard 8a38307e2c [libc] Add RT_USING_POSIX macro.
1. Add macro check in rtdebug.h;
2. Use RT_USING_POSIX for poll/select, stdin etc.
3. Split dfs_posix.h to dfs_posix.h, dfs_poll.h and dfs_select.h;
2017-10-17 22:27:06 +08:00
bernard 0f5a68a55e [dfs] add poll/select
1. Add poll/select APIs;
2. Add wait queue implementation;
3. Remove DFS_STATUS_* code and use errno;
4. Add pipe API;
5. Use a standalone fops in DFS;
2017-10-15 22:44:53 +08:00
Bernard Xiong 7c38c59f62 [DFS] fix the name mistake in socket function. 2016-05-10 09:32:50 +08:00
Bernard Xiong 64feef0dde [LIBC] mv pthreads/libdl to libc and rename dfs_lwip to dfs_net 2016-05-10 09:22:01 +08:00