blob: 8a67de4cf3357e89ce1664ecba4626532db1acca [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"
9
10config LWIP_ASSERT
11 bool "Enable assertions in the lwIP library"
12
13config PROT_DHCP_LWIP
14 bool
15 select PROT_UDP_LWIP
16
17config PROT_DNS_LWIP
18 bool
19 select PROT_UDP_LWIP
20
21config PROT_RAW_LWIP
22 bool
23
24config PROT_TCP_LWIP
25 bool
26
27config PROT_TCP_SACK_LWIP
28 bool "TCP SACK support"
29 depends on PROT_TCP_LWIP
30 default y
31 help
32 TCP protocol with selective acknowledgements. Improves
33 file transfer speed in wget.
34
35config PROT_UDP_LWIP
36 bool
37
38config LWIP_TCP_WND
39 int "Value of TCP_WND"
40 default 8000 if ARCH_QEMU
41 default 3000000
42 help
43 Default value for TCP_WND in the lwIP configuration
44 Lower values result in slower wget transfer speeds in
45 general, especially when the latency on the network is high,
46 but QEMU with "-net user" needs no more than a few KB or the
47 transfer will stall and eventually time out.
48
49endif # NET_LWIP