longtengmcu
|
d75f03e4b0
|
1、解决do_pollfd函数中处理底层网络设备返回错误-1的情况,返回-1时select函数也要返回-1 …
2、网卡设备调用关闭dhcp时,底层要调用dhcp_stop函数来关闭dhcp功能,打开时再调用dhcp_start,否则再次打开dhcp时无法获取ip地址或者出现在使用静态ip地址会在dhcp租约到期时自动再获取ip地址。
3、sal_socket.c程序中的sal_accept函数增加判断网卡up,down的功能
4、修改注释信息
|
2020-05-21 22:05:38 +08:00 |
longtengmcu
|
63950c9259
|
1、解决do_pollfd函数中处理底层网络设备返回错误-1的情况,返回-1时select函数也要返回-1
2、网卡设备调用关闭dhcp时,底层要调用dhcp_stop函数来关闭dhcp功能,打开时再调用dhcp_start,否则再次打开dhcp时无法获取ip地址或者出现在使用静态ip地址会在dhcp租约到期时自动再获取ip地址。
3、sal_socket.c程序中的sal_accept函数增加判断网卡up,down的功能
|
2020-05-17 15:51:35 +08:00 |
luhuadong
|
88a02d7bd8
|
fixed some typos
|
2020-05-09 10:33:36 +08:00 |
Keyun-Johan
|
5ea637903d
|
Update sal_socket.c
OK
|
2020-04-13 17:42:37 +08:00 |
Keyun-Johan
|
63e855d78a
|
socket_new()成功后,后续函数不成功返回-1,没有删除socket
|
2020-04-12 19:22:19 +08:00 |
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
|
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
|
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 |
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 |
armink
|
0d7ba79219
|
Remove the DBG_COLOR and DBG_ENABLE definition.
|
2019-03-06 17:54:30 +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 |
Bernard Xiong
|
e320de70b6
|
[license] Change the license of SAL to Apache.
|
2018-10-15 01:23:33 +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
|
8cda48a132
|
[net][sal] Add SAL (socket abstraction layer) framework
|
2018-07-18 13:34:13 +08:00 |