Name Date Size

..25-Oct-20244 KiB

.gitattributesH A D25-Oct-202493

.gitee/H25-Oct-20244 KiB

.gitignoreH A D25-Oct-2024708

0001-add-makefile.patchH A D25-Oct-20247.2 KiB

0002-adapt-lstack.patchH A D25-Oct-2024174 KiB

0003-fix-the-occasional-coredump-when-the-lwip-exits.patchH A D25-Oct-20241.7 KiB

0004-fix-error-of-deleting-conn-table-in-connect.patchH A D25-Oct-20243.7 KiB

0005-syn-rcvd-state-reg-conn-into-conntable.patchH A D25-Oct-2024672

0006-fix-coredump-in-etharp.patchH A D25-Oct-2024870

0007-gazelle-fix-epoll_ctl-EPOLLET-mode-error.patchH A D25-Oct-20243 KiB

0008-gazelle-fix-lwip_accept-memcpy-sockaddr-large.patchH A D25-Oct-2024741

0009-fix-stack-buffer-overflow-when-memcpy-addr.patchH A D25-Oct-20241 KiB

0010-fix-the-incomplete-release-of-the-conntable.patchH A D25-Oct-20244.6 KiB

0011-remove-gazelle-tcp-conn-func.patchH A D25-Oct-20243.1 KiB

0012-fix-incomplete-resource-release-in-lwip-close.patchH A D25-Oct-20241.3 KiB

0013-remove-gazelle-syscall-thread.patchH A D25-Oct-20243.8 KiB

0014-fix-some-compile-errors.patchH A D25-Oct-20241.9 KiB

0015-fix-tcp-port-alloc-issue.patchH A D25-Oct-2024730

0016-lstack-support-mysql-mode.patchH A D25-Oct-202427.1 KiB

0017-support-REUSEPOR-option.patchH A D25-Oct-20241.7 KiB

0018-exec-gazelle_init_sock-before-read-event.patchH A D25-Oct-20241.3 KiB

0019-gazelle-reduce-copy-in-send.patchH A D25-Oct-20241.7 KiB

0020-remove-chose_dlsym_handle-function-set-handle-to-RTL.patchH A D25-Oct-20241.7 KiB

0021-refactor-event-if-ring-is-full-the-node-is-added-to-.patchH A D25-Oct-2024950

0022-notify-app-that-sock-state-changes-to-CLOSE_WAIT.patchH A D25-Oct-20241.6 KiB

0023-refactor-event-and-checksum-offload-support.patchH A D25-Oct-202423.2 KiB

0024-refactor-pkt-read-send-performance.patchH A D25-Oct-20249.9 KiB

0025-Replace-gettid-with-syscall-SYS_gettid.patchH A D25-Oct-20241.8 KiB

0026-del-redundant-wait_close-and-move-epoll_events-pos.patchH A D25-Oct-20241 KiB

0027-modify-EISCONN-condition.patchH A D25-Oct-20241.4 KiB

0028-per-thread-reassdata-variables.patchH A D25-Oct-2024887

0029-fix-EISCONN-err-and-remove-same-customized-modificat.patchH A D25-Oct-20243.8 KiB

0030-refactor-tcp-new-port.patchH A D25-Oct-20245.5 KiB

0031-refactor-add-event-limit-send-pkts-num.patchH A D25-Oct-20242.3 KiB

0032-fix-free-pbuf-miss-data.patchH A D25-Oct-20242.1 KiB

0033-alloc-socket-fail-clean-sock.patchH A D25-Oct-20241.3 KiB

0034-add-accept4-and-epoll_create1.patchH A D25-Oct-20246.1 KiB

0035-add-writev-and-readv.patchH A D25-Oct-20241.8 KiB

0036-add-fs-secure-compilation-option.patchH A D25-Oct-2024794

0037-enable-ARP-QUEUE-to-avoid-sync-packet-dropped.patchH A D25-Oct-2024688

0038-add-tso.patchH A D25-Oct-202411.7 KiB

0039-optimize-app-thread-write-buff-block.patchH A D25-Oct-20243.2 KiB

0040-add-huge-snd_buf.patchH A D25-Oct-20243.6 KiB

0041-optimite-pcb-list-limit-send-size-and-ack-now.patchH A D25-Oct-202412.7 KiB

0042-expand-recv-win.patchH A D25-Oct-20241 KiB

0043-add-prefetch.patchH A D25-Oct-20241.7 KiB

0044-skip-unnecessary-tcp_route.patchH A D25-Oct-20243.1 KiB

0045-add-variable-in-struct-sock.patchH A D25-Oct-2024767

0046-add-dataack-when-recv-too-many-acks-with-data.patchH A D25-Oct-20242.8 KiB

0047-reduce-struct-pbuf-size.patchH A D25-Oct-2024647

0048-listen-pcb-also-use-pcb_if.patchH A D25-Oct-20241.1 KiB

0049-expand-recv-mbox-size.patchH A D25-Oct-20242 KiB

0050-lwip-reuse-ip-port.patchH A D25-Oct-20247.9 KiB

0051-lwip-add-need_tso_send.patchH A D25-Oct-20242.3 KiB

0052-lwip_fnctl-only-support-F_SETFL-F_GETFL.patchH A D25-Oct-2024876

0053-cleancode-improve-lwipopts.h-readability.patchH A D25-Oct-202469.4 KiB

0054-reduce-cpu-usage-when-send.patchH A D25-Oct-2024780

0055-add-pbuf-lock-when-aggregate-pbuf.patchH A D25-Oct-20241.4 KiB

0056-fix-tso-small-packet-drop-in-kernel-server.patchH A D25-Oct-202411.2 KiB

0057-same-node-gazellectl-a.patchH A D25-Oct-202414 KiB

0058-lwip-send-recv-thread-bind-numa.patchH A D25-Oct-2024652

0059-fix-last_unsent-last_unacked.patchH A D25-Oct-20243.8 KiB

0060-lwip-add-udp-multicast.patchH A D25-Oct-20249.9 KiB

0061-fix-pbuf-leak-in-udp-connection.patchH A D25-Oct-2024796

0062-drop-netbuf-in-recv_udp-to-fix-mem-overflow.patchH A D25-Oct-20248 KiB

0063-optimize-avoid-too-many-empty-acks-in-tcp_input.patchH A D25-Oct-2024822

0064-fix-udp-send-recv-in-multiple-queue.patchH A D25-Oct-20244.8 KiB

0065-fix-udp-recvmbox-size-not-set.patchH A D25-Oct-2024558

0066-adapt-to-dpdk-19.11-and-dpdk-21.11.patchH A D25-Oct-20244.8 KiB

0067-fix-null-pointer-when-all-zero-address-listen.patchH A D25-Oct-20243.2 KiB

0068-enable-UDP-CKSUM-in-lwip.patchH A D25-Oct-20241.1 KiB

0069-add-error-check-in-hugepage_init-and-sys_mbox_free.patchH A D25-Oct-20242.1 KiB

0070-add-CHECKSUM_UDP-when-not-support-OFFLOAD_UDP_CHECKS.patchH A D25-Oct-20246.9 KiB

0071-fix-pbuf-tot_len-incorrect-after-pbuf_split_64k-is-c.patchH A D25-Oct-20241.1 KiB

0072-add-O_NONBLOCK-and-FIONBIO-when-not-defined.patchH A D25-Oct-2024413

0073-lstack_lwip-external-api-start-with-do_lwip_-prefix.patchH A D25-Oct-20248.2 KiB

0074-gazelle-offloads-are-registered-to-lwip.patchH A D25-Oct-20248.9 KiB

0075-adapt-read-write-for-rtc-mode.patchH A D25-Oct-202414.3 KiB

0076-fix-recvmsg-return-EINVAL.patchH A D25-Oct-20241.4 KiB

0077-adpat-event-for-rtc-mode.patchH A D25-Oct-20243.6 KiB

0078-posix_api-support-select.patchH A D25-Oct-20241.4 KiB

0079-enable-vlan-define.patchH A D25-Oct-20241.1 KiB

0080-enable-ipv6.patchH A D25-Oct-202415.6 KiB

0081-ip6-hdr.patchH A D25-Oct-202413.6 KiB

0082-add-vlanid-in-netif.patchH A D25-Oct-20243.4 KiB

0083-lwipopts-add-lwip-debug-log-macro.patchH A D25-Oct-20242.1 KiB

0084-add-tcpslowtmr-log-and-tcpfasttmr-cnt.patchH A D25-Oct-20246 KiB

0085-add-lwip-log-tcp_rst-tcp_abandon-tcp_abort.patchH A D25-Oct-20248.7 KiB

0086-log-add-errevent-log-and-tcp-exception-statistics.patchH A D25-Oct-20242.6 KiB

0087-support-vlan-offload.patchH A D25-Oct-20241.9 KiB

0088-modify-log-info-err.patchH A D25-Oct-20244.8 KiB

0089-add-struct-gz-addr.patchH A D25-Oct-20243.3 KiB

0090-frag-fix-coredump-when-get-netif.patchH A D25-Oct-20241 KiB

0091-add-fd-log-info-and-fix-wrong-port-log-info.patchH A D25-Oct-20244.6 KiB

0092-fix-the-coredump-issue-when-UDP-traffic-is-sent.patchH A D25-Oct-2024846

0093-modfiy-accept-null-pointer-when-new-conn-receive-RST-packet-in-listening.patchH A D25-Oct-20241.1 KiB

0094-lwip-log-fix-reversed-port-in-tcp_input.patchH A D25-Oct-20243.1 KiB

0095-event_callback-del-errevent-log-if-err-is-ERR_OK.patchH A D25-Oct-2024987

0096-tcp_send_fin-add-the-fin-to-the-last-unsent-segment.patchH A D25-Oct-2024949

0097-Mod-the-issue-that-2w-connection-unable-to-establish.patchH A D25-Oct-202411.1 KiB

0098-remove-duplicate-lwip-log.patchH A D25-Oct-2024904

0099-fix-rte_ring_create-time-consuming.patchH A D25-Oct-20244.2 KiB

backport-Add-outgoing-VLAN-PCP-support.patchH A D25-Oct-20245.1 KiB

backport-fix-compiling-ETHARP_SUPPORT_VLAN.patchH A D25-Oct-20241.2 KiB

backport-tcp-fix-sequence-number-comparison.patchH A D25-Oct-20241.7 KiB

backport-tcp-tighten-up-checks-for-received-SYN.patchH A D25-Oct-20242.1 KiB

BUILD.gnH A D25-Oct-20242 KiB

bundle.jsonH A D25-Oct-20241.1 KiB

CHANGELOGH A D25-Oct-2024180.8 KiB

CMakeLists.txtH A D25-Oct-2024763

COPYINGH A D25-Oct-20241.5 KiB

doc/H25-Oct-20244 KiB

FEATURESH A D25-Oct-20241.3 KiB

FILESH A D25-Oct-2024213

lwip-2.1.3.tar.xzH A D25-Oct-20244 MiB

lwip.gniH A D25-Oct-20246.8 KiB

lwip.specH A D25-Oct-202417.7 KiB

OAT.xmlH A D25-Oct-20246 KiB

pax_global_headerH A D25-Oct-202452

READMEH A D25-Oct-20243.9 KiB

README.OpenSourceH A D25-Oct-2024826

README_en.mdH A D25-Oct-20243.9 KiB

src/H25-Oct-20244 KiB

test/H25-Oct-20244 KiB

UPGRADINGH A D25-Oct-202412.1 KiB

README

1INTRODUCTION
2
3lwIP is a small independent implementation of the TCP/IP protocol suite.
4
5The focus of the lwIP TCP/IP implementation is to reduce the RAM usage
6while still having a full scale TCP. This making lwIP suitable for use
7in embedded systems with tens of kilobytes of free RAM and room for
8around 40 kilobytes of code ROM.
9
10lwIP was originally developed by Adam Dunkels at the Computer and Networks
11Architectures (CNA) lab at the Swedish Institute of Computer Science (SICS)
12and is now developed and maintained by a worldwide network of developers.
13
14FEATURES
15
16  * IP (Internet Protocol, IPv4 and IPv6) including packet forwarding over
17    multiple network interfaces
18  * ICMP (Internet Control Message Protocol) for network maintenance and debugging
19  * IGMP (Internet Group Management Protocol) for multicast traffic management
20  * MLD (Multicast listener discovery for IPv6). Aims to be compliant with 
21    RFC 2710. No support for MLDv2
22  * ND (Neighbor discovery and stateless address autoconfiguration for IPv6).
23    Aims to be compliant with RFC 4861 (Neighbor discovery) and RFC 4862
24    (Address autoconfiguration)
25  * DHCP, AutoIP/APIPA (Zeroconf) and (stateless) DHCPv6
26  * UDP (User Datagram Protocol) including experimental UDP-lite extensions
27  * TCP (Transmission Control Protocol) with congestion control, RTT estimation
28    fast recovery/fast retransmit and sending SACKs
29  * raw/native API for enhanced performance
30  * Optional Berkeley-like socket API
31  * TLS: optional layered TCP ("altcp") for nearly transparent TLS for any
32    TCP-based protocol (ported to mbedTLS) (see changelog for more info)
33  * PPPoS and PPPoE (Point-to-point protocol over Serial/Ethernet)
34  * DNS (Domain name resolver incl. mDNS)
35  * 6LoWPAN (via IEEE 802.15.4, BLE or ZEP)
36
37
38APPLICATIONS
39
40  * HTTP server with SSI and CGI (HTTPS via altcp)
41  * SNMPv2c agent with MIB compiler (Simple Network Management Protocol), v3 via altcp
42  * SNTP (Simple network time protocol)
43  * NetBIOS name service responder
44  * MDNS (Multicast DNS) responder
45  * iPerf server implementation
46  * MQTT client (TLS support via altcp)
47
48
49LICENSE
50
51lwIP is freely available under a BSD license.
52
53
54DEVELOPMENT
55
56lwIP has grown into an excellent TCP/IP stack for embedded devices,
57and developers using the stack often submit bug fixes, improvements,
58and additions to the stack to further increase its usefulness.
59
60Development of lwIP is hosted on Savannah, a central point for
61software development, maintenance and distribution. Everyone can
62help improve lwIP by use of Savannah's interface, Git and the
63mailing list. A core team of developers will commit changes to the
64Git source tree.
65
66The lwIP TCP/IP stack is maintained in the 'lwip' Git module and
67contributions (such as platform ports) are in the 'contrib' Git module.
68
69See doc/savannah.txt for details on Git server access for users and
70developers.
71
72The current Git trees are web-browsable:
73  http://git.savannah.gnu.org/cgit/lwip.git
74  http://git.savannah.gnu.org/cgit/lwip/lwip-contrib.git
75
76Submit patches and bugs via the lwIP project page:
77  http://savannah.nongnu.org/projects/lwip/
78
79Continuous integration builds (GCC, clang):
80  https://travis-ci.org/yarrick/lwip-merged
81
82
83DOCUMENTATION
84
85Self documentation of the source code is regularly extracted from the current
86Git sources and is available from this web page:
87  http://www.nongnu.org/lwip/
88
89There is now a constantly growing wiki about lwIP at
90  http://lwip.wikia.com/wiki/LwIP_Wiki
91
92Also, there are mailing lists you can subscribe at
93  http://savannah.nongnu.org/mail/?group=lwip
94plus searchable archives:
95  http://lists.nongnu.org/archive/html/lwip-users/
96  http://lists.nongnu.org/archive/html/lwip-devel/
97
98lwIP was originally written by Adam Dunkels:
99  http://dunkels.com/adam/
100
101Reading Adam's papers, the files in docs/, browsing the source code
102documentation and browsing the mailing list archives is a good way to
103become familiar with the design of lwIP.
104
105Adam Dunkels <adam@sics.se>
106Leon Woestenberg <leon.woestenberg@gmx.net>
107

README.OpenSource

1[
2    {
3        "Name"                  : "openEuler:lwip",
4        "License"               : "BSD 3-Clause License",
5        "License File"          : "COPYING",
6        "Version Number"        : "2.1.3-102.oe2203sp3",
7        "Owner"                 : "wangmihu@huawei.com",
8        "Upstream URL"          : "https://repo.openeuler.org/openEuler-22.03-LTS/update/source/Packages/lwip-2.1.3-39.oe2203sp1.src.rpm",
9        "Description"           : "lwIP is a small independent implementation of the TCP/IP protocol suite that has been initially developed by Adam Dunkels. The focus of the lwIP TCP/IP implementation is to reduce resource usage while still having a full scale TCP. This makes lwIP suitable for use in embedded systems with tens of kilobytes of free RAM and room for around 40 kilobytes of code ROM."
10    }
11]
12

README_en.md

1# INTRODUCTION
2
3lwIP is a small independent implementation of the TCP/IP protocol suite.
4
5The focus of the lwIP TCP/IP implementation is to reduce the RAM usage
6while still having a full scale TCP. This making lwIP suitable for use
7in embedded systems with tens of kilobytes of free RAM and room for
8around 40 kilobytes of code ROM.
9
10lwIP was originally developed by Adam Dunkels at the Computer and Networks
11Architectures (CNA) lab at the Swedish Institute of Computer Science (SICS)
12and is now developed and maintained by a worldwide network of developers.
13
14# FEATURES
15
16  * IP (Internet Protocol, IPv4 and IPv6) including packet forwarding over
17    multiple network interfaces
18  * ICMP (Internet Control Message Protocol) for network maintenance and debugging
19  * IGMP (Internet Group Management Protocol) for multicast traffic management
20  * MLD (Multicast listener discovery for IPv6). Aims to be compliant with 
21    RFC 2710. No support for MLDv2
22  * ND (Neighbor discovery and stateless address autoconfiguration for IPv6).
23    Aims to be compliant with RFC 4861 (Neighbor discovery) and RFC 4862
24    (Address autoconfiguration)
25  * DHCP, AutoIP/APIPA (Zeroconf) and (stateless) DHCPv6
26  * UDP (User Datagram Protocol) including experimental UDP-lite extensions
27  * TCP (Transmission Control Protocol) with congestion control, RTT estimation
28    fast recovery/fast retransmit and sending SACKs
29  * raw/native API for enhanced performance
30  * Optional Berkeley-like socket API
31  * TLS: optional layered TCP ("altcp") for nearly transparent TLS for any
32    TCP-based protocol (ported to mbedTLS) (see changelog for more info)
33  * PPPoS and PPPoE (Point-to-point protocol over Serial/Ethernet)
34  * DNS (Domain name resolver incl. mDNS)
35  * 6LoWPAN (via IEEE 802.15.4, BLE or ZEP)
36
37
38# APPLICATIONS
39
40  * HTTP server with SSI and CGI (HTTPS via altcp)
41  * SNMPv2c agent with MIB compiler (Simple Network Management Protocol), v3 via altcp
42  * SNTP (Simple network time protocol)
43  * NetBIOS name service responder
44  * MDNS (Multicast DNS) responder
45  * iPerf server implementation
46  * MQTT client (TLS support via altcp)
47
48
49# LICENSE
50
51lwIP is freely available under a BSD license.
52
53
54# DEVELOPMENT
55
56lwIP has grown into an excellent TCP/IP stack for embedded devices,
57and developers using the stack often submit bug fixes, improvements,
58and additions to the stack to further increase its usefulness.
59
60Development of lwIP is hosted on Savannah, a central point for
61software development, maintenance and distribution. Everyone can
62help improve lwIP by use of Savannah's interface, Git and the
63mailing list. A core team of developers will commit changes to the
64Git source tree.
65
66The lwIP TCP/IP stack is maintained in the 'lwip' Git module and
67contributions (such as platform ports) are in the 'contrib' Git module.
68
69See doc/savannah.txt for details on Git server access for users and
70developers.
71
72The current Git trees are web-browsable:
73  http://git.savannah.gnu.org/cgit/lwip.git
74  http://git.savannah.gnu.org/cgit/lwip/lwip-contrib.git
75
76Submit patches and bugs via the lwIP project page:
77  http://savannah.nongnu.org/projects/lwip/
78
79Continuous integration builds (GCC, clang):
80  https://travis-ci.org/yarrick/lwip-merged
81
82
83# DOCUMENTATION
84
85Self documentation of the source code is regularly extracted from the current
86Git sources and is available from this web page:
87  http://www.nongnu.org/lwip/
88
89There is now a constantly growing wiki about lwIP at
90  http://lwip.wikia.com/wiki/LwIP_Wiki
91
92Also, there are mailing lists you can subscribe at
93  http://savannah.nongnu.org/mail/?group=lwip
94plus searchable archives:
95  http://lists.nongnu.org/archive/html/lwip-users/
96  http://lists.nongnu.org/archive/html/lwip-devel/
97
98lwIP was originally written by Adam Dunkels:
99  http://dunkels.com/adam/
100
101Reading Adam's papers, the files in docs/, browsing the source code
102documentation and browsing the mailing list archives is a good way to
103become familiar with the design of lwIP.
104
105Adam Dunkels <adam@sics.se>
106Leon Woestenberg <leon.woestenberg@gmx.net>
107