blob: 6c47b7d69c5a5a58b0a3886d6bf718b1ecd1f40a [file] [log] [blame]
Masahiro Yamadaf3e12b72014-09-16 16:32:58 +09001#
2# Network configuration
3#
4
5menuconfig NET
6 bool "Networking support"
Michal Simek2f785a12018-02-26 16:01:02 +01007 default y
Masahiro Yamadaf3e12b72014-09-16 16:32:58 +09008
9if NET
10
Adam Ford499c9f72020-07-03 09:00:14 -050011config 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
Joe Hershberger2dc2b5d2015-05-04 14:55:13 -050021config 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
Bernhard Nortmanndeea30d2015-09-14 15:29:46 +020029config NETCONSOLE
30 bool "NetConsole support"
31 help
32 Support the 'nc' input/output device for networked console.
33 See README.NetConsole for details.
34
Marek Vasuta61efd82019-06-11 04:51:14 +020035config 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
Rasmus Villemoesa94b3ac2020-02-07 15:17:42 +000042config 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
Marek Vasut09b93a62019-06-11 04:51:15 +020052config TFTP_BLOCKSIZE
53 int "TFTP block size"
Andre Przywaraca234052019-11-23 17:58:59 +000054 default 1468
Marek Vasut09b93a62019-06-11 04:51:15 +020055 help
56 Default TFTP block size.
Patrick Delaunay1e51f3e2020-04-22 14:18:25 +020057 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.
Marek Vasut09b93a62019-06-11 04:51:15 +020061
Masahiro Yamadaf3e12b72014-09-16 16:32:58 +090062endif # if NET