Commit Graph

45 Commits

Author SHA1 Message Date
HubretXie 3c2bfa2349
【修复bug】修复sal判断internet连接的隐藏bug
1、当前判断网卡是否连接Internet是通过连接rtt-thread的服务器来判断的,
2、这个月开始好像服务器挂了,不响应请求
3、这里超时用的2000秒,导致sys workqueue被卡死在这里了
2019-11-26 09:38:16 +08:00
malongwei c531fdc7ae 去除sal shut_down后释放socket导致close失败的问题 2019-11-16 12:33:09 +08:00
tanglj86 5e16a09cfb fix rt_thread_mdelay parameter error bug; 2019-10-19 15:00:15 +08:00
tangyuxin 4219eb7fc3 [components][net][sal]修复多线程访问创建相同fd的问题 2019-09-03 16:16:10 +08:00
tangyuxin 16304f14a8 [components][net] 1.网卡可卸载 2.dhcpd 服务可停止 2019-08-11 11:53:28 +08:00
chenyong 232019e8d1 [net][sal] Fix not clean event issue after poll get the error event in lwIP.
Signed-off-by: chenyong <1521761801@qq.com>
2019-07-25 11:20:40 +08:00
chenyong 7d2ffe63e9 [net][sal][netdev] Add IPv6 option configuration and feature support in SAL and netdev
Signed-off-by: chenyong <1521761801@qq.com>
2019-06-24 17:46:18 +08:00
chenyong 4608e1164c [net][sal] Improve the sal_bind() function
Signed-off-by: chenyong <1521761801@qq.com>
2019-05-28 12:04:25 +08:00
chenyong 9abdebbec9 [net][sal] Fix fcntl() function not support F_GETFL/F_SETFL operations for socketfd.
Signed-off-by: chenyong <1521761801@qq.com>
2019-05-15 14:45:31 +08:00
chenyong 4de0533a51 [net][sal][netdev] Delete the link_up status judgment in the send/recv interface
Signed-off-by: chenyong <1521761801@qq.com>
2019-05-10 15:57:58 +08:00
Bernard Xiong 955d78cd14
Merge pull request #2658 from Lawlieta/develop_sal
[net][sal] Improve ioctl interface to support socketfd operations
2019-05-08 15:26:28 +08:00
chenyong 25ebcc9c33 [net][sal] Improve ioctl interface to support for socketfd operations
Signed-off-by: chenyong <1521761801@qq.com>
2019-05-08 10:48:17 +08:00
chenyong cbe67ae354 [net][sal] Add options and types for UDP multicast traffic handling
[net][sal] Add options for level IPPROTO_IP

Signed-off-by: chenyong <1521761801@qq.com>
2019-05-07 17:24:11 +08:00
chenyong 7424e44e20 [net][netdev] Add default netdev automatic change features configuration
Signed-off-by: chenyong <1521761801@qq.com>
2019-05-05 20:35:01 +08:00
chenyong 9752dd7889 [net][sal] Delete the judgment of the default network interface device when socket is created
Signed-off-by: chenyong <1521761801@qq.com>
2019-05-05 14:50:29 +08:00
HubretXie fd05ad76d6
Update sal_socket.c
格式化代码
2019-04-28 15:26:52 +08:00
HubretXie f7e5f4cd50
Update sal_socket.c
创建sock时,默认网卡联网时才优先使用
2019-04-28 15:21:19 +08:00
chenyong c9bea68240 [net][lwip] Fix open the netdev and the lwip component, ping command export error issue
Signed-off-by: chenyong <1521761801@qq.com>
2019-04-28 00:53:58 +08:00
chenyong 2721e7189a [net][netdev] Fix netdev link_down status, socket create failed issue
Signed-off-by: chenyong <1521761801@qq.com>
2019-04-27 17:24:58 +08:00
chenyong 6f732ebb7f [net][sal] fix sockfd initialize error problem
Signed-off-by: chenyong <1521761801@qq.com>
2019-04-24 00:11:04 +08:00
EvalZero 3ada52e353 [components][net]synchronize delayed work changes. 2019-04-22 11:50:39 +08:00
chenyong 9df6313537 [net][sal] fix delay_work timer not detach problem
Signed-off-by: chenyong <1521761801@qq.com>
2019-04-17 18:42:10 +08:00
chenyong 3d6e0ea374 [net][netdev]add network interface device components, SAL component adaptation netdev change 2019-04-16 18:24:55 +08:00
armink fa4d4ab7cf Update all of debug log definition to DBG_TAG and DBG_LVL. 2019-04-12 10:18:57 +08:00
Bernard Xiong ce2cbb42ec
Merge pull request #2388 from armink/fix_rtdbg
Remove the DBG_COLOR and DBG_ENABLE definition.
2019-03-07 17:03:23 +08:00
armink 0d7ba79219 Remove the DBG_COLOR and DBG_ENABLE definition. 2019-03-06 17:54:30 +08:00
chenyong 0d9b7d60db [net][sal_socket] improve closesocke/shutdown error handling
Signed-off-by: chenyong <1521761801@qq.com>
2019-03-05 19:25:05 +08:00
chenyong beaff7c09d [net][sal] Add SAL components TLS features support
Signed-off-by: chenyong <1521761801@qq.com>
2018-11-15 14:48:20 +08:00
MurphyZhao 2d18b4ad08 [components][net] 移除 SAL 中 LWIP_NETCONN_FULLDUPLEX 的判断
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2018-11-02 18:27:04 +08:00
MurphyZhao c3cc7a29c8 [components][dfs] 移除冗余代码
[components][net] 修复 Kconfig
[components][net][sal] 还原对 SAL 框架的修改,在 proto_ops 结构体实例赋值位置修改

Signed-off-by: MurphyZhao <d2014zjt@163.com>
2018-11-02 10:26:37 +08:00
MurphyZhao 58a6b51236 [components][dfs] AND [components][net][sal] 适配 LWIP210
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2018-11-01 18:21:41 +08:00
armink 8cae067452 [component][sal] Add some #ifdef on source code. 2018-10-16 10:31:06 +08:00
Bernard Xiong e320de70b6 [license] Change the license of SAL to Apache. 2018-10-15 01:23:33 +08:00
chenyong d154c3e936 [net][sal] Add WIZnet chips TCP/IP address family support
Signed-off-by: chenyong <1521761801@qq.com>
2018-10-11 13:47:13 +08:00
HubretXie e14330daf9
Update sal_socket.c 2018-09-12 10:26:46 +08:00
HubretXie 8a9646b613
Update sal_socket.c
修复关闭socket时的Bug
2018-09-11 22:26:17 +08:00
chenyong 1571ef5acf [net][sal] Fix close/shutdown memory leak issue. 2018-09-04 11:02:48 +08:00
chenyong 39f3f93ec1 [net][sal] Fix accept create new socket failed issue. 2018-09-01 19:42:33 +08:00
chenyong 6d702e579f [net][sal] Remove DFS dependencies in the SAL 2018-08-27 19:50:37 +08:00
chenyong fc73538153 [net][sal/at] Add components C++ support 2018-08-27 09:56:41 +08:00
chenyong 192b177518 [at][sal] Add query and unregistered protocol family functions 2018-08-25 16:01:31 +08:00
chenyong 05c3af1ee1 [net][sal] Add shutdown type options. 2018-08-06 15:06:29 +08:00
chenyong c2add5cb4e [net][at] Add AT Socket select LIBC configure. 2018-08-02 17:55:01 +08:00
chenyong dabf8efce4 [net][sal] add socket set multicast group support and format code. 2018-08-02 16:57:23 +08:00
chenyong 8cda48a132 [net][sal] Add SAL (socket abstraction layer) framework 2018-07-18 13:34:13 +08:00