blob: 40345ced9c93d76c1262ec5c086349f3fea2249d [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
13config LWIP_ASSERT
14 bool "Enable assertions in the lwIP library"
Jerome Forissier7b38e312024-11-12 16:44:29 +010015 help
16 Compiles additional error checking code into the lwIP library. These
17 checks are related to conditions that should not happen in typical
18 use, but may be helpful to debug new features.
Jerome Forissiere0f95512024-10-16 12:03:59 +020019
20config PROT_DHCP_LWIP
21 bool
22 select PROT_UDP_LWIP
23
24config PROT_DNS_LWIP
25 bool
26 select PROT_UDP_LWIP
27
28config PROT_RAW_LWIP
29 bool
30
31config PROT_TCP_LWIP
32 bool
33
34config PROT_TCP_SACK_LWIP
35 bool "TCP SACK support"
36 depends on PROT_TCP_LWIP
37 default y
38 help
39 TCP protocol with selective acknowledgements. Improves
40 file transfer speed in wget.
41
42config PROT_UDP_LWIP
43 bool
44
45config LWIP_TCP_WND
46 int "Value of TCP_WND"
Ilias Apalodimas99618ca2024-11-10 10:28:40 +020047 default 32768 if ARCH_QEMU
Jerome Forissiere0f95512024-10-16 12:03:59 +020048 default 3000000
49 help
50 Default value for TCP_WND in the lwIP configuration
51 Lower values result in slower wget transfer speeds in
52 general, especially when the latency on the network is high,
53 but QEMU with "-net user" needs no more than a few KB or the
54 transfer will stall and eventually time out.
55
56endif # NET_LWIP