This is the mail archive of the ecos-devel@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[RFC 0/9] Updating lwip to 1.4.1


Hello,

This patch series updates LWIP to 1.4.1. It seems to work well for us, but we have not run all the tests or touched anything like all the different config possibilities. Please test and give feedback.

This patch series is generated from git (whatever happened to moving away from cvs?), hopefully people won't have a problem with that. If you want build bisectability then the first 5 patches should actually be merged into one. They are presented separately here so people can see our working when updating lwip. We have not added cdl options for absolutely every new option in lwip, just the ones we felt were needed.

Summary of the patches:

 * Patches 1-5 update the lwip version
 * Patch 6 improves the cdl menu slightly
 * Patches 7 & 8 tidy up the code
* Patch 9 fixes a bug in lwip (It was present in earlier version of lwip as well)

Best regards

Will Wagner

.../enc424j600/current/tests/netconn_test_server.c |    7 +-
 packages/net/lwip_tcpip/current/cdl/lwip_net.cdl   |  544 +++----
 packages/net/lwip_tcpip/current/doc/rawapi.txt     |   71 +-
 packages/net/lwip_tcpip/current/doc/snmp_agent.txt |    4 +-
 packages/net/lwip_tcpip/current/doc/sys_arch.txt   |   89 +-
 packages/net/lwip_tcpip/current/include/arch/cc.h  |    8 +
 .../net/lwip_tcpip/current/include/arch/sys_arch.h |   21 +-
 packages/net/lwip_tcpip/current/include/lwip.h     |    6 +-
 packages/net/lwip_tcpip/current/include/lwip/api.h |  173 ++-
 .../net/lwip_tcpip/current/include/lwip/api_msg.h  |   29 +-
 .../net/lwip_tcpip/current/include/lwip/arch.h     |  276 ++--
 .../net/lwip_tcpip/current/include/lwip/autoip.h   |    8 +-
 .../net/lwip_tcpip/current/include/lwip/debug.h    |    1 +
 packages/net/lwip_tcpip/current/include/lwip/def.h |   78 +-
 .../net/lwip_tcpip/current/include/lwip/dhcp.h     |  156 +-
 packages/net/lwip_tcpip/current/include/lwip/dns.h |   51 +-
 packages/net/lwip_tcpip/current/include/lwip/err.h |   28 +-
 .../net/lwip_tcpip/current/include/lwip/icmp.h     |   28 +-
 .../net/lwip_tcpip/current/include/lwip/igmp.h     |  100 +-
 .../net/lwip_tcpip/current/include/lwip/inet.h     |  108 +-
 .../lwip_tcpip/current/include/lwip/inet_chksum.h  |   38 +-
 .../net/lwip_tcpip/current/include/lwip/init.h     |    4 +-
 packages/net/lwip_tcpip/current/include/lwip/ip.h  |   97 +-
 .../net/lwip_tcpip/current/include/lwip/ip_addr.h  |  191 ++-
 .../net/lwip_tcpip/current/include/lwip/ip_frag.h  |   14 +-
 packages/net/lwip_tcpip/current/include/lwip/mem.h |   36 +-
 .../net/lwip_tcpip/current/include/lwip/memp_std.h |   30 +-
 .../net/lwip_tcpip/current/include/lwip/netbuf.h   |   33 +-
 .../net/lwip_tcpip/current/include/lwip/netdb.h    |   13 +
 .../net/lwip_tcpip/current/include/lwip/netif.h    |  187 ++-
 .../net/lwip_tcpip/current/include/lwip/netifapi.h |   37 +-
 packages/net/lwip_tcpip/current/include/lwip/opt.h |  363 ++++-
 .../net/lwip_tcpip/current/include/lwip/pbuf.h     |   72 +-
 packages/net/lwip_tcpip/current/include/lwip/raw.h |   47 +-
 .../net/lwip_tcpip/current/include/lwip/snmp.h     |   11 +-
 .../lwip_tcpip/current/include/lwip/snmp_asn1.h    |   16 +-
 .../net/lwip_tcpip/current/include/lwip/snmp_msg.h |   10 +-
 .../lwip_tcpip/current/include/lwip/snmp_structs.h |   38 +-
 .../net/lwip_tcpip/current/include/lwip/sockets.h  |   34 +-
 .../net/lwip_tcpip/current/include/lwip/stats.h    |   55 +-
 packages/net/lwip_tcpip/current/include/lwip/sys.h |  212 ++-
 packages/net/lwip_tcpip/current/include/lwip/tcp.h |  640 ++------
 .../net/lwip_tcpip/current/include/lwip/tcp_impl.h |  486 +++++++
 .../net/lwip_tcpip/current/include/lwip/tcpip.h    |   48 +-
 .../net/lwip_tcpip/current/include/lwip/timers.h   |  100 ++
 packages/net/lwip_tcpip/current/include/lwip/udp.h |   96 +-
 packages/net/lwip_tcpip/current/include/lwipopts.h |   14 +
 .../net/lwip_tcpip/current/include/netif/etharp.h  |   82 +-
 .../net/lwip_tcpip/current/include/netif/loopif.h  |   53 -
 .../lwip_tcpip/current/include/netif/ppp/chat.h    |  115 --
 .../net/lwip_tcpip/current/include/netif/ppp/ppp.h |  470 ------
 .../net/lwip_tcpip/current/include/netif/ppp_oe.h  |  101 +-
 .../net/lwip_tcpip/current/include/netif/slipif.h  |   30 +
 .../net/lwip_tcpip/current/include/posix/netdb.h   |   33 +
 .../lwip_tcpip/current/include/posix/sys/socket.h  |   33 +
 packages/net/lwip_tcpip/current/src/api/api_lib.c  |  518 +++++--
 packages/net/lwip_tcpip/current/src/api/api_msg.c  |  994 ++++++++-----
 packages/net/lwip_tcpip/current/src/api/err.c      |   23 +-
 packages/net/lwip_tcpip/current/src/api/netbuf.c   |   13 +-
 packages/net/lwip_tcpip/current/src/api/netdb.c    |   53 +-
 packages/net/lwip_tcpip/current/src/api/netifapi.c |   32 +-
 packages/net/lwip_tcpip/current/src/api/sockets.c  | 1175 ++++++++++-----
 packages/net/lwip_tcpip/current/src/api/tcpip.c    |  395 ++---
 packages/net/lwip_tcpip/current/src/core/def.c     |  108 ++
 packages/net/lwip_tcpip/current/src/core/dhcp.c    | 1012 +++++++------
 packages/net/lwip_tcpip/current/src/core/dns.c     |  228 ++-
 packages/net/lwip_tcpip/current/src/core/init.c    |  170 ++-
 .../net/lwip_tcpip/current/src/core/ipv4/autoip.c  |  117 +-
 .../net/lwip_tcpip/current/src/core/ipv4/icmp.c    |   42 +-
 .../net/lwip_tcpip/current/src/core/ipv4/igmp.c    |  210 +--
 .../net/lwip_tcpip/current/src/core/ipv4/inet.c    |  236 ---
 .../lwip_tcpip/current/src/core/ipv4/inet_chksum.c |   84 +-
 packages/net/lwip_tcpip/current/src/core/ipv4/ip.c |  367 +++--
 .../net/lwip_tcpip/current/src/core/ipv4/ip_addr.c |  262 +++-
 .../net/lwip_tcpip/current/src/core/ipv4/ip_frag.c |  115 +-
 packages/net/lwip_tcpip/current/src/core/mem.c     |  140 +-
 packages/net/lwip_tcpip/current/src/core/memp.c    |  138 +-
 packages/net/lwip_tcpip/current/src/core/netif.c   |  335 +++--
 packages/net/lwip_tcpip/current/src/core/pbuf.c    |  360 ++++-
 packages/net/lwip_tcpip/current/src/core/raw.c     |   49 +-
 .../lwip_tcpip/current/src/core/snmp/asn1_dec.c    |   32 +-
 .../lwip_tcpip/current/src/core/snmp/asn1_enc.c    |   56 +-
 .../net/lwip_tcpip/current/src/core/snmp/mib2.c    |  610 ++++----
 .../lwip_tcpip/current/src/core/snmp/mib_structs.c |   47 +-
 .../net/lwip_tcpip/current/src/core/snmp/msg_in.c  |  295 ++--
 .../net/lwip_tcpip/current/src/core/snmp/msg_out.c |   53 +-
 packages/net/lwip_tcpip/current/src/core/stats.c   |   59 +-
 packages/net/lwip_tcpip/current/src/core/sys.c     |  308 +---
 packages/net/lwip_tcpip/current/src/core/tcp.c     |  727 +++++++---
 packages/net/lwip_tcpip/current/src/core/tcp_in.c  |  377 +++--
 packages/net/lwip_tcpip/current/src/core/tcp_out.c | 1108 +++++++++-----
 packages/net/lwip_tcpip/current/src/core/timers.c  |  487 +++++++
 packages/net/lwip_tcpip/current/src/core/udp.c     |  376 +++--
 packages/net/lwip_tcpip/current/src/ecos/ppp.c     |    2 +-
 .../net/lwip_tcpip/current/src/ecos/sequential.c   |   45 +-
 packages/net/lwip_tcpip/current/src/ecos/simple.c  |   43 +-
 packages/net/lwip_tcpip/current/src/ecos/sio.c     |   38 +-
 .../net/lwip_tcpip/current/src/ecos/sys_arch.c     |  271 +++-
 packages/net/lwip_tcpip/current/src/netif/etharp.c | 1029 +++++++------
 .../net/lwip_tcpip/current/src/netif/ethernetif.c  |    1 -
 packages/net/lwip_tcpip/current/src/netif/loopif.c |   66 -
 .../net/lwip_tcpip/current/src/netif/ppp/auth.c    |  955 ++++++++----
 .../net/lwip_tcpip/current/src/netif/ppp/auth.h    |    2 +-
 .../net/lwip_tcpip/current/src/netif/ppp/chap.c    |  499 +++----
 .../net/lwip_tcpip/current/src/netif/ppp/chap.h    |   82 +-
 .../net/lwip_tcpip/current/src/netif/ppp/chat.c    |  332 -----
 .../net/lwip_tcpip/current/src/netif/ppp/chpms.c   |  182 +--
 .../net/lwip_tcpip/current/src/netif/ppp/chpms.h   |    8 +-
 .../net/lwip_tcpip/current/src/netif/ppp/fsm.c     |  489 +++----
 .../net/lwip_tcpip/current/src/netif/ppp/fsm.h     |   90 +-
 .../net/lwip_tcpip/current/src/netif/ppp/ipcp.c    |  297 ++--
 .../net/lwip_tcpip/current/src/netif/ppp/ipcp.h    |   64 +-
 .../net/lwip_tcpip/current/src/netif/ppp/lcp.c     |  498 ++++---
 .../net/lwip_tcpip/current/src/netif/ppp/lcp.h     |   72 +-
 .../net/lwip_tcpip/current/src/netif/ppp/magic.c   |   16 +-
 .../net/lwip_tcpip/current/src/netif/ppp/magic.h   |   14 +-
 .../net/lwip_tcpip/current/src/netif/ppp/md5.c     |  110 +-
 .../net/lwip_tcpip/current/src/netif/ppp/md5.h     |   10 +-
 .../net/lwip_tcpip/current/src/netif/ppp/pap.c     |  258 ++--
 .../net/lwip_tcpip/current/src/netif/ppp/pap.h     |   55 +-
.../net/lwip_tcpip/current/src/netif/ppp/ppp.c | 1531 +++++++++-----------
 .../net/lwip_tcpip/current/src/netif/ppp/ppp.h     |  201 +++
 .../lwip_tcpip/current/src/netif/ppp/ppp_impl.h    |  363 +++++
 .../net/lwip_tcpip/current/src/netif/ppp/ppp_oe.c  |  349 ++---
 .../lwip_tcpip/current/src/netif/ppp/pppdebug.h    |   55 +-
 .../net/lwip_tcpip/current/src/netif/ppp/randm.c   |  131 +-
 .../net/lwip_tcpip/current/src/netif/ppp/randm.h   |   18 +-
 .../net/lwip_tcpip/current/src/netif/ppp/record.c  |  127 --
 .../net/lwip_tcpip/current/src/netif/ppp/record.h  |   50 -
 .../net/lwip_tcpip/current/src/netif/ppp/timesys.c |  155 --
 .../net/lwip_tcpip/current/src/netif/ppp/timesys.h |   87 --
 packages/net/lwip_tcpip/current/src/netif/ppp/vj.c |  270 ++--
 packages/net/lwip_tcpip/current/src/netif/ppp/vj.h |   27 +-
 .../lwip_tcpip/current/src/netif/ppp/vjbsdhdr.h    |   75 -
 packages/net/lwip_tcpip/current/src/netif/slipif.c |  395 +++--
 .../lwip_tcpip/current/tests/httpd_sequential.c    |    5 +-
 packages/net/lwip_tcpip/current/tests/tcpecho.c    |    6 +-
 packages/net/lwip_tcpip/current/tests/udpecho.c    |    2 +-
 138 files changed, 15401 insertions(+), 11310 deletions(-)
 create mode 100644 packages/net/lwip_tcpip/current/include/lwip/tcp_impl.h
 create mode 100644 packages/net/lwip_tcpip/current/include/lwip/timers.h
 delete mode 100644 packages/net/lwip_tcpip/current/include/netif/loopif.h
delete mode 100644 packages/net/lwip_tcpip/current/include/netif/ppp/chat.h
 delete mode 100644 packages/net/lwip_tcpip/current/include/netif/ppp/ppp.h
 create mode 100644 packages/net/lwip_tcpip/current/include/posix/netdb.h
create mode 100644 packages/net/lwip_tcpip/current/include/posix/sys/socket.h
 create mode 100644 packages/net/lwip_tcpip/current/src/core/def.c
 create mode 100644 packages/net/lwip_tcpip/current/src/core/timers.c
 delete mode 100644 packages/net/lwip_tcpip/current/src/netif/loopif.c
 delete mode 100644 packages/net/lwip_tcpip/current/src/netif/ppp/chat.c
 create mode 100644 packages/net/lwip_tcpip/current/src/netif/ppp/ppp.h
create mode 100644 packages/net/lwip_tcpip/current/src/netif/ppp/ppp_impl.h
 delete mode 100644 packages/net/lwip_tcpip/current/src/netif/ppp/record.c
 delete mode 100644 packages/net/lwip_tcpip/current/src/netif/ppp/record.h
 delete mode 100644 packages/net/lwip_tcpip/current/src/netif/ppp/timesys.c
 delete mode 100644 packages/net/lwip_tcpip/current/src/netif/ppp/timesys.h
delete mode 100644 packages/net/lwip_tcpip/current/src/netif/ppp/vjbsdhdr.h



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]