blob: d28a8a7df947871855bab3f1f2e5e8c594f406a3 [file] [log] [blame]
Jerome Forissiere0f95512024-10-16 12:03:59 +02001#
2# Network configuration (with lwIP stack)
3#
4
5if NET_LWIP
6
7config LWIP_DEBUG
8 bool "Enable debug traces in the lwIP library"
Jerome Forissier7b38e312024-11-12 16:44:29 +01009 help
10 Prints messages to the console regarding network packets that go in
11 and out of the lwIP library.
Jerome Forissiere0f95512024-10-16 12:03:59 +020012
Jerome Forissier5b2e2732025-03-06 15:32:22 +010013config 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 Forissiere0f95512024-10-16 12:03:59 +020019config LWIP_ASSERT
20 bool "Enable assertions in the lwIP library"
Jerome Forissier7b38e312024-11-12 16:44:29 +010021 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 Forissiere0f95512024-10-16 12:03:59 +020025
26config PROT_DHCP_LWIP
27 bool
28 select PROT_UDP_LWIP
29
30config PROT_DNS_LWIP
31 bool
32 select PROT_UDP_LWIP
33
34config PROT_RAW_LWIP
35 bool
36
37config PROT_TCP_LWIP
38 bool
39
40config 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
48config PROT_UDP_LWIP
49 bool
50
51config LWIP_TCP_WND
52 int "Value of TCP_WND"
Ilias Apalodimas99618ca2024-11-10 10:28:40 +020053 default 32768 if ARCH_QEMU
Jerome Forissiere0f95512024-10-16 12:03:59 +020054 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
62endif # NET_LWIP