27 lines
721 B
Diff
27 lines
721 B
Diff
From b619f034c74d53bd6d8b572cb47fdb58fd90d7ae Mon Sep 17 00:00:00 2001
|
|
From: yangchen <yangchen145@huawei.com>
|
|
Date: Wed, 6 Mar 2024 11:00:56 +0800
|
|
Subject: [PATCH] support udp pkglen > mtu: modify IP_REASS_MAX_PBUFS
|
|
|
|
---
|
|
src/include/lwipopts.h | 3 +++
|
|
1 file changed, 3 insertions(+)
|
|
|
|
diff --git a/src/include/lwipopts.h b/src/include/lwipopts.h
|
|
index 28b8aca..d067dea 100644
|
|
--- a/src/include/lwipopts.h
|
|
+++ b/src/include/lwipopts.h
|
|
@@ -171,6 +171,9 @@
|
|
|
|
#define IP_HLEN 20
|
|
|
|
+/* the max pbuf num of a udp pbuf chain is ((65535 + MBUF_MAX_DATA_LEN - 1) / MBUF_MAX_DATA_LEN) */
|
|
+#define IP_REASS_MAX_PBUFS 46
|
|
+
|
|
/*
|
|
-------------------------------------
|
|
----------- IPv6 options -----------
|
|
--
|
|
2.33.0
|
|
|