Commit Graph

60 Commits

Author SHA1 Message Date
Man, Jianting (Meco) e96e3e07f5
[lwip] integrate lwip porting layer (#5606)
* [lwip] integrate lwip porting layer

* Lwip 通用文件梳理 (#2)

* [modify] extract the common files for different version about lwip.

* [update] the initialization logic of lwIP.

* 整理源码结构

* ethernetif 头文件 ""改为<>

* 整理代码

* add macro definition "RT_USING_DEVICE_IPC".

* [update] mandatory selected "RT_USING_DEVICE_IPC".

* [modify] compile error for lost "lwip/init.h"

Co-authored-by: xiangxistu <52819708+xiangxistu@users.noreply.github.com>
Co-authored-by: liuxianliang <liuxianliang@rt-thread.com>
2022-02-23 23:56:43 +08:00
Man, Jianting (Meco) 6895da5307
[net] adjust folder structure (#5587)
* [net] adjust folder structure
- 将lwip相关的文件夹,移入lwip文件夹
- Kconfig 分散到at netdev lwip sal文件夹中,使用menuconfig代替menu
2022-02-20 00:07:45 +08:00
Bernard Xiong 53c18358b4 [lwIP] remove lwip-1.4.0 2016-05-10 09:48:05 +08:00
weety 707a657744 [FTP server]
1.Fixed PASV mode issue;
2.Implement RNFR and RNTO command;
3.Change some command code according RFC959;
4.Add command for msh shell;
5.Implement "noop" command.
2015-05-14 22:41:31 +08:00
aozima 7a0e9c3fc7 format code Astyle. 2014-06-14 21:55:51 +08:00
aozima 9ab59cf1e0 used parameter: size. 2014-06-14 21:54:59 +08:00
aozima f296c582a5 fixed bug: close socket when ping() exit. 2014-06-14 21:49:46 +08:00
Bernard Xiong 98c8a23e94 Add component initialization. 2013-06-23 07:48:42 +08:00
Bernard Xiong 86fc696957 add the first porting for lwip 1.4.1 2013-03-25 04:40:09 -04:00
aozima 43228aeb9c fixed list_tcps bug: ipaddr_ntoa isn't reentrant. 2013-02-28 18:22:52 +08:00
Ming, Bai b4de7cce57 Re-normalizing the repo 2013-01-08 22:40:58 +08:00
wuyangyong dd5742c9bc fix spelling error.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2581 bbd45198-f89e-11dd-88c7-29a3b14d5316
2013-01-01 12:25:32 +00:00
dzzxzz@gmail.com 555ccc5fa9 fixed a compiling error in lm3s9b9x bsp while using gcc
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2517 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-24 06:39:21 +00:00
wuyangyong 7363cd15b9 clean IP when use DHCP.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2472 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-09 07:25:28 +00:00
bernard.xiong@gmail.com 6d78189f1b Add RT_LWIP_ALIGN_SIZE setting for lwIP; Export BSD socket symbol to Application Module.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2470 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-08 04:14:00 +00:00
dzzxzz@gmail.com 451cb0281c fixed a compiling warning
warning:  #177-D: variable "i" was declared but never referenced

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2469 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-08 03:46:46 +00:00
dzzxzz@gmail.com f39686ebf8 fixed the compiling error while defined RT_USING_PPP
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2467 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-08 02:55:31 +00:00
bernard.xiong@gmail.com 93b0d3e4ee The network interface can be initialized after lwIP initialization.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2400 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-12 02:07:10 +00:00
bernard.xiong@gmail.com 5d710e8862 Add MSC compiler in lwIP.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2383 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-01 07:20:41 +00:00
bernard.xiong@gmail.com ee4da4b03e Add DHCP flag when LWIP_DHCP was defined.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2230 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-07-24 00:23:50 +00:00
dzzxzz@gmail.com 4b0e272644 delete the re-defined rt_list_entry(node, type, member) and format the code in devfs.c
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2211 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-07-10 00:42:39 +00:00
bernard.xiong@gmail.com 5969fffcd7 Added RT_LWIP_PBUF_POOL_BUFSIZE to handle PBUF_POOL_BUFSIZE definition in user configuration file.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2072 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-15 13:04:12 +00:00
bernard.xiong@gmail.com ee439e74c3 fixed the compiling error when using IGMP protocol.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2056 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-14 12:01:49 +00:00
dzzxzz@gmail.com 3ae6d255e0 compiling LWIP 1.4.0 with IAR need these two header files
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2049 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-14 11:09:34 +00:00
bernard.xiong@gmail.com 12b5decaa9 keep more compatible with RT-Thread driver.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2039 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-13 15:11:02 +00:00
luohui2320@gmail.com 95bcaa08d5 fix lwip compiling error
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2024 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-08 10:48:48 +00:00
bernard.xiong@gmail.com 95c9e7de02 rename lwip-1.4.0 to lwip.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2012 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-01 07:11:58 +00:00
bernard.xiong@gmail.com 06eb08e497 remove lwip.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2011 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-01 07:10:43 +00:00
bernard.xiong@gmail.com e1e1f13d61 uses lwip 1.4.0 in default.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2009 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-01 07:02:06 +00:00
fengzi.rtt 087da42d96 fix a bug about IGMP in ethernetif.c
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1984 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-03-01 11:08:27 +00:00
bernard.xiong@gmail.com d4ebec7cce fix compiling issue when enable newlib.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1933 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-01-31 12:20:07 +00:00
wuyangyong adb734ec50 update list_if() and set_if()
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1834 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-11 13:22:26 +00:00
wuyangyong dc540968c4 update list_if() and set_if()
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1833 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-11 11:36:36 +00:00
bernard.xiong@gmail.com 2fe93c9224 fixed lwip accept issue, if this connection has been deleted; added list_tcps function in finsh shell.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1693 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-04 08:29:14 +00:00
bernard.xiong@gmail.com 472cc9334a add errno implementation in RT-Thread.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1682 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-08-28 15:57:10 +00:00
mbbill@gmail.com da55b1857f add static to function declaration
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1677 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-08-22 13:49:46 +00:00
bernard.xiong@gmail.com 3dcb78d3e0 optimize netio code.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1674 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-08-20 14:34:05 +00:00
bernard.xiong@gmail.com 2bc131f3a9 add eth_device_linkchange function on ethnet interface.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1669 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-08-14 12:56:30 +00:00
bernard.xiong 5a825fd81a use tcpip_init_done_callback to initialize lwip stack.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1668 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-08-11 10:05:37 +00:00
bernard.xiong@gmail.com b49db5f72a made more function as static.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1660 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-08-03 15:30:40 +00:00
bernard.xiong be5f855a44 use GetCurrentDir() function to get CPATH.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1631 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-15 08:52:50 +00:00
mbbill@gmail.com 86d6c01c9e bug fix in arch implmentation
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1628 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-13 12:02:34 +00:00
mbbill@gmail.com 7121ca6467 fixd a critical issue in lwip. see issue#11
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1621 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-08 02:04:14 +00:00
bernard.xiong@gmail.com 217c6d88f5 open LWIP_NETIF_LINK_CALLBACK definitions
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1573 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-01 12:53:21 +00:00
bernard.xiong dcf5c15194 fix building script issue.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1541 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-27 02:01:58 +00:00
bernard.xiong@gmail.com 99dc4465a6 add skeleton template of network interface driver.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1502 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-14 14:28:28 +00:00
mbbill@gmail.com 70bafa328a move net/apps to lwip folder
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1484 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-10 03:57:32 +00:00
bernard.xiong@gmail.com 0513333a10 Add RT_LWIP_VER130, RT_LWIP_VER140 options.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1476 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-09 14:07:59 +00:00
mbbill@gmail.com f862baaaac FIX: ESHUTDOWN is not defined when newlib is enabled.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1435 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-05-26 12:06:14 +00:00
bernard.xiong 43448c696d fix mib2 compiling warning; add more options in lwip building script.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1188 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-12-09 07:55:07 +00:00