Commit | Line | Data |
---|---|---|
ed36323f MY |
1 | # |
2 | # Network configuration | |
3 | # | |
4 | ||
5 | menuconfig NET | |
6 | bool "Networking support" | |
3b3ea2c5 | 7 | default y |
ed36323f MY |
8 | |
9 | if NET | |
10 | ||
b43ea1bf PR |
11 | config PROT_UDP |
12 | bool "Enable generic udp framework" | |
13 | help | |
14 | Enable a generic udp framework that allows defining a custom | |
15 | handler for udp protocol. | |
16 | ||
3275f26b AF |
17 | config BOOTP_SEND_HOSTNAME |
18 | bool "Send hostname to DNS server" | |
19 | help | |
20 | Some DHCP servers are capable to do a dynamic update of a | |
21 | DNS server. To do this, they need the hostname of the DHCP | |
22 | requester. | |
23 | If CONFIG_BOOTP_SEND_HOSTNAME is defined, the content | |
24 | of the "hostname" environment variable is passed as | |
25 | option 12 to the DHCP server. | |
26 | ||
bef1014b JH |
27 | config NET_RANDOM_ETHADDR |
28 | bool "Random ethaddr if unset" | |
29 | help | |
30 | Selecting this will allow the Ethernet interface to function | |
31 | even when the ethaddr variable for that interface is unset. | |
32 | A new MAC address will be generated on every boot and it will | |
33 | not be added to the environment. | |
34 | ||
26660748 BN |
35 | config NETCONSOLE |
36 | bool "NetConsole support" | |
37 | help | |
38 | Support the 'nc' input/output device for networked console. | |
39 | See README.NetConsole for details. | |
40 | ||
3f6bcdf6 MV |
41 | config IP_DEFRAG |
42 | bool "Support IP datagram reassembly" | |
43 | default n | |
44 | help | |
45 | Selecting this will enable IP datagram reassembly according | |
46 | to the algorithm in RFC815. | |
47 | ||
215df01d RV |
48 | config NET_MAXDEFRAG |
49 | int "Size of buffer used for IP datagram reassembly" | |
50 | depends on IP_DEFRAG | |
51 | default 16384 | |
52 | range 1024 65536 | |
53 | help | |
54 | This defines the size of the statically allocated buffer | |
55 | used for reassembly, and thus an upper bound for the size of | |
56 | IP datagrams that can be received. | |
57 | ||
b618b370 MV |
58 | config TFTP_BLOCKSIZE |
59 | int "TFTP block size" | |
16cdc2da | 60 | default 1468 |
b618b370 MV |
61 | help |
62 | Default TFTP block size. | |
421de7fe PD |
63 | The MTU is typically 1500 for ethernet, so a TFTP block of |
64 | 1468 (MTU minus eth.hdrs) provides a good throughput with | |
65 | almost-MTU block sizes. | |
66 | You can also activate CONFIG_IP_DEFRAG to set a larger block. | |
b618b370 | 67 | |
cc6b87ec RF |
68 | config TFTP_WINDOWSIZE |
69 | int "TFTP window size" | |
70 | default 1 | |
71 | help | |
72 | Default TFTP window size. | |
73 | RFC7440 defines an optional window size of transmits, | |
74 | before an ack response is required. | |
75 | The default TFTP implementation implies a window size of 1. | |
76 | ||
ed36323f | 77 | endif # if NET |