Commit Graph

213 Commits

Author SHA1 Message Date
armink 548f0e9e8f [LWIP] Remove `src/netif/slipif.c` on `lwip-2.0.2/SConscript`. 2017-08-20 10:08:26 +08:00
armink 22c7660dfb [LWIP] Remove `RT_USING_NETUTILS` in LwIP 2.0.2 SConscript. 2017-08-19 22:46:19 +08:00
armink 83616c9f2b [LWIP] Add tftp max file name len config to LwIP 2.0.2 `lwipopts.h` . 2017-08-19 20:22:08 +08:00
armink 38ca426626 [LWIP] Fix lwip 2.0.2 TFTP server file name trans error. 2017-08-19 20:20:05 +08:00
armink a97d70066b [LWIP] Add LwIP apps SConscript. 2017-08-18 12:10:28 +08:00
armink 871297747a [LWIP] Move net apps to `LwIP/src/apps`. 2017-08-18 11:53:11 +08:00
armink 5910ae4170 [NET] Add telnet app to netutils. 2017-08-18 11:32:25 +08:00
Bernard Xiong 9388f7882f Merge pull request #808 from armink/fix_lwipopts
[LWIP] Update LwIP 2.0.2 opts header file for rtt.
2017-08-18 07:56:02 +08:00
armink e6f6d9ea81 [LWIP] Update LwIP 2.0.2 opts header file for rtt. 2017-08-18 07:51:22 +08:00
armink 501f9814f1 [LWIP] Add lwip 2.0.2 TFTP server to SConscript. 2017-08-17 15:59:58 +08:00
armink b1362405e2 [LWIP] Add TFTP server to LWIP 2.0.2 . 2017-08-17 15:56:33 +08:00
armink c01352da91 [LWIP] Fix lwip 2.0.2 TFTP server file name trans error. 2017-08-17 13:31:10 +08:00
armink 640fd7d872 [Net] Add `RT_USING_NETUTILS` to LwIP 2.0.2 SConscript. 2017-08-10 16:54:42 +08:00
armink ca6b74200c [Net] Add telnet test app to LwIP 2.0.2 . 2017-08-10 16:54:00 +08:00
armink 1d4db58916 [Net] Add ping test app to LwIP 2.0.2. 2017-08-10 16:41:20 +08:00
armink 0742338fa7 [LWIP] Fix lwip 2.0.2 link status problem when the eth isn't linkup at the first time. 2017-08-01 11:35:42 +08:00
bernard ae6ca7bb02 KConfig cleanup. 2017-06-06 18:18:44 +08:00
Bernard Xiong e760d655b1 Merge pull request #735 from JianRuiqian/master
[lwIP] Update ethernetif.c
2017-05-15 23:24:45 +08:00
ruiqian da9688df86 Update dhcp_server.c 2017-05-15 22:27:51 +08:00
ruiqian 8c52d5fdf2 Update ethernetif.c 2017-05-15 13:18:41 +08:00
xools 8be3552036 refine BYTE_ORDER macro 2017-04-22 22:42:36 -07:00
xools 3cad43fc05 add lwip-2.0.2 compile compatibility 2017-04-22 22:39:09 -07:00
armink c8ae11c428 [Modbus] Add KConfig for Modbus. 2017-04-14 13:39:28 +08:00
armink be18a1d0e7 [Modbus] Update the code to the latest version. 2017-04-12 19:27:42 +08:00
HuangXiHans 9487f68f2b Add lwip-2.0.2 TCP/IP Stack 2017-03-27 11:00:48 +08:00
bernard 355b926e89 [lwIP] fix lwip 2.0.0 compiling issue. 2017-01-31 13:18:03 +08:00
bernard 924fc4fa88 [net] Add KConfig for net. 2017-01-31 11:55:49 +08:00
bernard cb61d1ffbc [lwIP] update net/SConscript for lwip 2.0.0 2017-01-31 11:22:52 +08:00
bernard 685c189d0b [lwIP] remove lwip-head and add lwip-2.0.0 2017-01-31 11:08:58 +08:00
Urey 8979d70a69 Update ethernetif.c
if device->eth_rx is NULL ,rx thread will hard fault...
2016-09-23 17:00:31 +08:00
Bernard Xiong c5bf3fa2d1 [lwIP] remove compiling warning. 2016-05-29 11:36:20 +08:00
Bernard Xiong 9f08d09ae1 [lwIP] merge TCP_OVERSIZE code. 2016-05-20 14:19:50 +08:00
Bernard Xiong 050da8a60d [lwIP] Chang the default options in lwIP.
committed by FH.
2016-05-20 12:27:29 +08:00
Bernard Xiong 36edc2c441 [lwIP] Add EAPOL type packet. 2016-05-20 12:23:19 +08:00
Bernard Xiong 53c18358b4 [lwIP] remove lwip-1.4.0 2016-05-10 09:48:05 +08:00
Bernard Xiong b46ebbf56d [build] remove hard coded path issue in SConscript 2016-05-10 09:34:05 +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
He Chunhui 7290ff5d76 fix typo 2016-03-16 08:03:33 +00:00
He Chunhui 0fc0ed1bb1 fix copy-paste bug
This bug causes buffer overrun.
2016-03-16 08:00:33 +00:00
He Chunhui 5439580833 fix incompatible unit in LWIP_NAT_TMR_INTERVAL_SEC
LWIP_NAT_TMR_INTERVAL_SEC defined in ipv4_nat.h is in miliseconds,
but ip_nat_check_timeout() thinks it's in seconds.

With this bug, all nat entries will expire immediately when
ip_nat_check_timeout() is called.

Note sys_timeout() is in miliseconds.
2016-03-16 07:43:38 +00:00
aozima 8131ea9c30 fixed Lwip bug: Assert on TCP netconn_write with sndtimeout set
ref: http://savannah.nongnu.org/bugs/?38219
2016-03-02 20:41:14 +08:00
Bernard Xiong 6809547491 [lwIP] Add ETHIF_LINK_AUTOUP/PHYUP flag to ethernet interface 2015-10-15 23:10:59 +08:00
Bernard Xiong 6ee8244a19 [lwIP] export more symbols 2015-09-02 11:23:23 +08:00
Bernard Xiong 2ad2acf577 [net] Fix the options setting issue in lwIP 1.4.1. 2015-08-03 16:17:06 +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
Bernard Xiong 9fa2a04a64 Merge pull request #471 from hduffddybz/master
The problem of finding ethernet interface
2015-05-09 10:05:35 +08:00
yuanbin e9c489d02b modify indentation 2015-05-08 19:02:19 +08:00
yuanbin 877a679b26 netif find error 2015-05-07 18:57:43 +08:00
Bernard Xiong 59da84d85a [lwIP] Remove some default setting; User can re-define these settings or use the default setting in lwip opts.h file 2015-05-07 01:16:49 +00:00
Bernard Xiong dcc6e39816 [lwIP] Use lock scheduler instead of disable interrupt for lwIP porting. 2015-05-04 20:37:41 +08:00
Bernard Xiong 854d8866d3 [DFS] fix the compiling issue under Keil MDK. 2015-05-02 22:53:08 +08:00
Bernard Xiong 8dfc80b4a2 [DFS] Add lwIP file system interface for DFS 2015-05-01 08:19:52 +00:00
armink 278ae90e84 [modbus]removed version number on directory. 2015-02-06 10:19:32 +08:00
armink b3290f6eed [modbus]changed tabs to spaces. 2015-02-05 21:22:18 +08:00
armink dec67c3a29 [modbus]fix port file's head file. 2015-02-05 20:54:32 +08:00
armink 7355879119 [modbus]update SConscript 2015-02-05 19:44:26 +08:00
armink 2a14e4071c [modbus]port modbus master and slave by rtt device framework. 2015-02-05 19:44:25 +08:00
armink d8bbb5f126 [modbus]update modbus master and slave source code to lastest. 2015-02-05 19:44:24 +08:00
bernard 622e6d8238 [lwIP] Add Router and DNS server information in DHCP server. 2015-01-31 20:51:21 +08:00
bernard 3e31d349ea [lwIP] fix the pbuf q=NULL issue in ip_nat_input. 2015-01-31 20:44:53 +08:00
bernard 72298bac32 Merge remote-tracking branch 'bernard/master' 2015-01-31 14:48:31 +08:00
bernard 1f2a6e3a89 [lwIP] fix compiling warning in NAT. 2015-01-31 14:48:19 +08:00
Bernard Xiong a1252f67f5 [lwIP] Add DHCP server implementation 2015-01-31 10:48:28 +08:00
Bernard Xiong 7e11b8eb62 [lwIP] Add NAT readme 2015-01-29 13:47:57 +00:00
Bernard Xiong 627d025cda [lwIP] Modify the ip.c to support NAT 2015-01-29 09:48:48 +00:00
Bernard Xiong 068e2f95a1 [lwIP] remove IP_INPUT_HOOK 2015-01-29 15:01:26 +08:00
Bernard Xiong 3da0f4ec09 [lwIP] Add NAT for lwIP 2015-01-26 06:36:00 +00:00
Bernard Xiong 15231efaff [lwIP] Add IPv4 input hook 2015-01-26 06:35:08 +00:00
hduffddybz 5694c77bcf add judge of RT_USING_LWIP_HEAD 2014-08-30 11:10:50 +08:00
hduffddybz 838cdbe660 change code style 2014-08-30 11:04:13 +08:00
hduffddybz 5a7d40f80e add conditional compilation of ipv6 source file 2014-08-30 11:02:14 +08:00
hduffddybz c9aba13f40 update lwip git head 2014-08-30 10:59:33 +08:00
hduffddybz 53ff02b563 add ipv6 support 2014-08-26 22:32:40 -08:00
root 0ddc739a18 add some comments of lwip porting 2014-07-10 23:18:03 -08:00
bernard b0c94dc4d9 [lwIP] Fix the usage issue of NETIF_LINK_CALLBACK. 2014-06-27 14:49:51 +08:00
bernard 7dbb4dc939 [lwIP] Add LWIP_NO_RX_THREAD/LWIP_NO_TX_THREAD options for lwIP. 2014-06-26 15:55:45 +08:00
Bernard Xiong d10444337b [lwIP] code cleanup 2014-06-24 15:14:39 +08:00
Bernard Xiong bf733ae2aa [LwIP] Fix the MEMP_NUM_TCP_SEG issue. 2014-06-24 14:49:33 +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 31446eab4c [Kernel] application module can support arguments 2014-01-11 16:33:31 +08:00
bernard 3142811644 [lwIP] Add more RT-Thread options into lwIP 2014-01-04 07:55:25 +08:00
Grissiom 61ffa2c438 freemodbus: fix eol
On Windows platform, please set `autocrlf = true` and on Linux, please
set `autocrlf = input`.
2013-11-06 21:47:49 +08:00
armink 615579ccf1 add SConscript for freemodbus
Signed-off-by: armink <armink.ztl@gmail.com>
2013-11-06 14:16:24 +08:00
armink b280a940c4 add modbus master to freemodbus
Signed-off-by: armink <armink.ztl@gmail.com>
2013-11-06 09:34:24 +08:00
Bernard Xiong 1dd7e05336 fix lwip 1.4.1 compiling error when enable component init 2013-06-30 22:50:33 +08:00
Bernard Xiong 1172b47d1e add sys_now() function porting 2013-06-30 22:37:05 +08:00
Bernard Xiong 86c9ea1117 Use lwIP 1.4.1 as the default TCP/IP protocol stack 2013-06-30 21:46:14 +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
Bernard Xiong 1eb6e23c43 add lwip 1.4.1 source code 2013-01-09 00:13:42 -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