cleancode: improve lwipopts.h readability

Signed-off-by: Lemmy Huang <huangliming5@huawei.com>
(cherry picked from commit 04dd2b870c21f4754e516aba2018e95f95884882)
This commit is contained in:
Lemmy Huang 2023-03-09 16:08:25 +08:00 committed by openeuler-sync-bot
parent 489297e492
commit 59398c3f38
2 changed files with 2258 additions and 1 deletions

File diff suppressed because it is too large Load Diff

View File

@ -4,7 +4,7 @@
Summary: lwip is a small independent implementation of the TCP/IP protocol suite
Name: lwip
Version: 2.1.3
Release: 43
Release: 44
License: BSD
URL: http://savannah.nongnu.org/projects/lwip/
Source0: http://download.savannah.nongnu.org/releases/lwip/%{name}-%{version}.zip
@ -64,6 +64,7 @@ Patch9048: 0049-expand-recv-mbox-size.patch
Patch9049: 0050-lwip-reuse-ip-port.patch
Patch9050: 0051-lwip-add-need_tso_send.patch
Patch9051: 0052-lwip_fnctl-only-support-F_SETFL-F_GETFL.patch
Patch9052: 0053-cleancode-improve-lwipopts.h-readability.patch
BuildRequires: gcc-c++ dos2unix dpdk-devel
@ -132,6 +133,7 @@ find %{_builddir}/%{name}-%{version} -type f -exec dos2unix -q {} \;
%patch9049 -p1
%patch9050 -p1
%patch9051 -p1
%patch9052 -p1
%build
cd %{_builddir}/%{name}-%{version}/src
@ -147,6 +149,9 @@ cd %{_builddir}/%{name}-%{version}/src
%{_libdir}/liblwip.a
%changelog
* Thu Mar 9 2023 Lemmy Huang <huangliming5@huawei.com> - 2.1.3-44
- cleancode: improve lwipopts.h readability
* Tue Wed 22 2023 jiangheng <jiangheng14@huawei.com> - 2.1.3-43
- lwip_fnctl only suport F_SETFL,F_GETFL, other opt return 0 for compitable