Commit Graph

78 Commits

Author SHA1 Message Date
David Lin 8beb439926
Update ethernetif.c 2020-06-10 23:27:25 +08:00
David Lin 5f6c3d7345
Update ethernetif.c
if LWIP_NETIF_HOSTNAME enable, the length is 'sizeof(struct netif)+ LWIP_HOSTNAME_LEN',
not only  equal to  'sizeof(struct netif)'.
2020-06-10 10:59:50 +08:00
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
liuxinaliang a0e62f665f [net][lwip] fix assert in the sys_arch_mbox_fetch function when close socket 2019-12-29 15:32:27 +08:00
liuxianliang f9ef8c7ed9 [net][lwip] modified hostname, support lwIP 1.4.1 ,lwIP 2.0.2 and lwIP 2.1.2
Signed-off-by: liuxianliang <liuxianliang@rt-thread.com>
2019-12-21 17:43:32 +08:00
liuxianliang a9cad2b95b [net][lwip] rename hostname, change "RT-Thread_xx" into "RTTHREAD_xx"
Signed-off-by: liuxianliang <liuxianliang@rt-thread.com>
2019-12-19 10:36:40 +08:00
liuxianliang 3557d8f8a1 [net][lwip] add personalized RT-Thread sign into lwip protocol stack as hostname.
Signed-off-by: liuxianliang <liuxianliang@rt-thread.com>
2019-12-18 14:20:55 +08:00
chenyong 0d8a216260 [network][netdev] Improve the default netdev operation and format code
Signed-off-by: chenyong <1521761801@qq.com>
2019-08-22 18:33:30 +08:00
chenyong d588940dac [network][lwip] Fix DNS server address set error when multiple network device.
Signed-off-by: chenyong <1521761801@qq.com>
2019-08-22 18:33:29 +08:00
tangyuxin 16304f14a8 [components][net] 1.网卡可卸载 2.dhcpd 服务可停止 2019-08-11 11:53:28 +08:00
chenyong 52d1c50efe [net][lwip] Fix set_if() compile error when enable dhcpd fucntion and close finsh.
[net][dhcpd]Fix dhcpd fucntion compile error in lwIP 2.1.0.
2019-07-04 16:17:52 +08:00
chenyong dcd8b8029b [net][netdev] Delete network commands interrupt disable processing
Signed-off-by: chenyong <1521761801@qq.com>
2019-07-03 10:49:19 +08:00
chenyong 48857d1e67 [net][netdev] Add FINSH_USING_MSH control for netdev network commands 2019-07-02 20:11:41 +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
nicedayzhu f5cb3ac760
[Bugfix]Update netdev info after registered
修复ifconfig命令无法正确显示IP,网关,掩码的问题
2019-05-29 13:37:16 +08:00
nicedayzhu c25f7cbfc7
bugfix
[net][netdev] Update netdev->ip_addr&gw&netmask after registered.
2019-05-29 11:12:05 +08:00
ericQiang ee6671f22b [bug fix]不使能LWIP的TCP功能时,编译出错。 2019-04-30 00:22:17 +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 126fa9b561 [net][netdev] Improve netdev DNS setting function 2019-04-23 15:08:10 +08:00
chenyong f169ceb184 [net][lwip] fix lwip netdev DNS address setup error
Signed-off-by: chenyong <1521761801@qq.com>
2019-04-22 11:28:45 +08:00
chenyong 946484760e [net][at][lwip] Modify AT component and lwIP components for netdev 2019-04-16 20:21:33 +08:00
Bernard Xiong 656d20362b
Merge pull request #2449 from qgyhd1234/checksum
[components][lwip]添加 LWIP 硬件校验和选项,修改 STM32 系列和 rt1052 系列以太网驱动,支持硬件校验和
2019-03-14 20:23:36 +08:00
zylx 9818ee2d29 [components][lwip]添加 LWIP 硬件校验和选项,修改 STM32 系列和 rt1052 系列以太网驱动,支持硬件校验和 2019-03-14 16:39:50 +08:00
liruncong e5522d6292 [components/net]增加const限定 2019-03-10 10:55:11 +08:00
EvalZero b676d7230d [lwIP] the errno definition of rt_libc.h is used by default. 2019-01-21 15:50:25 +08:00
Bernard Xiong 1f37de29c4 Fix the value width issue under 32/64 bit arch. 2018-12-13 14:54:26 +08:00
Bernard Xiong 8c1c6516b3 [Components] Change license to Apache License v2.0 2018-10-29 11:06:58 +08:00
Bernard Xiong b98a0ba804 [Kernel] Add ARMCC 6.x support. 2018-09-23 12:08:44 +08:00
Bernard Xiong 11479e53bd [lwIP] Fix the wait queue initialization issue. 2018-09-01 13:32:03 +08:00
chenyong 6d702e579f [net][sal] Remove DFS dependencies in the SAL 2018-08-27 19:50:37 +08:00
tangyuxin 06d2f9591c [lwip]修复开启SNMP选项编译会失败的问题 2018-07-24 16:17:10 +08:00
梁永祥 f489bfe522
Merge branch 'master' into lwip-debug 2018-07-19 21:06:57 +08:00
liang yongxiang 9868dffc2f [lwIP] add all lwIP Debugging Options 2018-07-18 14:57:00 +08:00
chenyong 8cda48a132 [net][sal] Add SAL (socket abstraction layer) framework 2018-07-18 13:34:13 +08:00
armink 730981ec42 [components] Update dfs and lwIP 2.0.2 re-initialization process. 2018-07-13 09:59:03 +08:00
aozima 000fe93b9f [lwip] add re-initial check. 2018-07-02 16:58:47 +08:00
aozima e190b166e2 [lwip] fixed compile error. 2018-05-25 22:30:15 +08:00
aozima 6daf88d7a4 [lwip] add list_udps. 2018-05-25 22:30:14 +08:00
aozima 18941a1e69 [lwip] update list_if: add BROADCAST. 2018-05-25 22:30:13 +08:00
armink 4793dc0d06 [Net][NetUtils] Fix networking utils Kconfig and SConscript. 2018-01-30 16:52:30 +08:00
bernard 6fe16bba3b [lwIP] Remove the unnecessary log in SConscript. 2017-12-29 22:32:23 +08:00
aozima d483f25f43 [LWIP] add IPV6 mld_mac_filter() for multicast filter. 2017-12-19 20:08:07 +08:00
aozima 37e5985540 [LWIP] delete errno.h, use RT-Thread implement. 2017-12-14 21:39:32 +08:00
aozima bc2de526db [LWIP] update SConscript: add /src/include/posix to include path when RT_USING_DFS_NET not enable. 2017-12-14 21:38:00 +08:00
Bernard Xiong 2f409c85f1 [Kernel] Use rt_object_get_information to get object chain 2017-12-12 07:36:37 +08:00
SummerGift 2de2d6e433 [lwip]:add MEMP_NUM_NETCONN option for lwip 2017-12-09 16:04:38 +08:00
aozima affd67a8d5 [LWIP] update LWIP 2.0.2: support IPV6. 2017-11-29 19:27:23 +08:00
aozima 4b4a3ab2b7 [LWIP] make sure lwip initialization order. 2017-11-28 16:00:04 +08:00
bernard 8013d5f768 [lwIP] add lock for init_done callback. 2017-11-15 11:18:56 +08:00