Convert CONFIG_BOOTP_SEND_HOSTNAME to Kconfig
[platform/kernel/u-boot.git] / net / Kconfig
1 #
2 # Network configuration
3 #
4
5 menuconfig NET
6         bool "Networking support"
7         default y
8
9 if NET
10
11 config BOOTP_SEND_HOSTNAME
12         bool "Send hostname to DNS server"
13         help
14           Some DHCP servers are capable to do a dynamic update of a
15           DNS server. To do this, they need the hostname of the DHCP
16           requester.
17           If CONFIG_BOOTP_SEND_HOSTNAME is defined, the content
18           of the "hostname" environment variable is passed as
19           option 12 to the DHCP server.
20
21 config NET_RANDOM_ETHADDR
22         bool "Random ethaddr if unset"
23         help
24           Selecting this will allow the Ethernet interface to function
25           even when the ethaddr variable for that interface is unset.
26           A new MAC address will be generated on every boot and it will
27           not be added to the environment.
28
29 config NETCONSOLE
30         bool "NetConsole support"
31         help
32           Support the 'nc' input/output device for networked console.
33           See README.NetConsole for details.
34
35 config IP_DEFRAG
36         bool "Support IP datagram reassembly"
37         default n
38         help
39           Selecting this will enable IP datagram reassembly according
40           to the algorithm in RFC815.
41
42 config NET_MAXDEFRAG
43         int "Size of buffer used for IP datagram reassembly"
44         depends on IP_DEFRAG
45         default 16384
46         range 1024 65536
47         help
48           This defines the size of the statically allocated buffer
49           used for reassembly, and thus an upper bound for the size of
50           IP datagrams that can be received.
51
52 config TFTP_BLOCKSIZE
53         int "TFTP block size"
54         default 1468
55         help
56           Default TFTP block size.
57           The MTU is typically 1500 for ethernet, so a TFTP block of
58           1468 (MTU minus eth.hdrs) provides a good throughput with
59           almost-MTU block sizes.
60           You can also activate CONFIG_IP_DEFRAG to set a larger block.
61
62 endif   # if NET