Jerome Forissier | e0f9551 | 2024-10-16 12:03:59 +0200 | [diff] [blame] | 1 | # |
| 2 | # Network configuration (with lwIP stack) |
| 3 | # |
| 4 | |
| 5 | if NET_LWIP |
| 6 | |
| 7 | config LWIP_DEBUG |
| 8 | bool "Enable debug traces in the lwIP library" |
Jerome Forissier | 7b38e31 | 2024-11-12 16:44:29 +0100 | [diff] [blame] | 9 | help |
| 10 | Prints messages to the console regarding network packets that go in |
| 11 | and out of the lwIP library. |
Jerome Forissier | e0f9551 | 2024-10-16 12:03:59 +0200 | [diff] [blame] | 12 | |
Jerome Forissier | 5b2e273 | 2025-03-06 15:32:22 +0100 | [diff] [blame] | 13 | config LWIP_DEBUG_RXTX |
| 14 | bool "Dump packets sent and received by lwIP" |
| 15 | help |
| 16 | Performs an hexadecimal & ASCII dump of the data received and sent by |
| 17 | the lwIP network stack. |
| 18 | |
Jerome Forissier | e0f9551 | 2024-10-16 12:03:59 +0200 | [diff] [blame] | 19 | config LWIP_ASSERT |
| 20 | bool "Enable assertions in the lwIP library" |
Jerome Forissier | 7b38e31 | 2024-11-12 16:44:29 +0100 | [diff] [blame] | 21 | help |
| 22 | Compiles additional error checking code into the lwIP library. These |
| 23 | checks are related to conditions that should not happen in typical |
| 24 | use, but may be helpful to debug new features. |
Jerome Forissier | e0f9551 | 2024-10-16 12:03:59 +0200 | [diff] [blame] | 25 | |
| 26 | config PROT_DHCP_LWIP |
| 27 | bool |
| 28 | select PROT_UDP_LWIP |
| 29 | |
| 30 | config PROT_DNS_LWIP |
| 31 | bool |
| 32 | select PROT_UDP_LWIP |
| 33 | |
| 34 | config PROT_RAW_LWIP |
| 35 | bool |
| 36 | |
| 37 | config PROT_TCP_LWIP |
| 38 | bool |
| 39 | |
| 40 | config PROT_TCP_SACK_LWIP |
| 41 | bool "TCP SACK support" |
| 42 | depends on PROT_TCP_LWIP |
| 43 | default y |
| 44 | help |
| 45 | TCP protocol with selective acknowledgements. Improves |
| 46 | file transfer speed in wget. |
| 47 | |
| 48 | config PROT_UDP_LWIP |
| 49 | bool |
| 50 | |
| 51 | config LWIP_TCP_WND |
| 52 | int "Value of TCP_WND" |
Ilias Apalodimas | 99618ca | 2024-11-10 10:28:40 +0200 | [diff] [blame] | 53 | default 32768 if ARCH_QEMU |
Jerome Forissier | e0f9551 | 2024-10-16 12:03:59 +0200 | [diff] [blame] | 54 | default 3000000 |
| 55 | help |
| 56 | Default value for TCP_WND in the lwIP configuration |
| 57 | Lower values result in slower wget transfer speeds in |
| 58 | general, especially when the latency on the network is high, |
| 59 | but QEMU with "-net user" needs no more than a few KB or the |
| 60 | transfer will stall and eventually time out. |
| 61 | |
| 62 | endif # NET_LWIP |