2014-09-16 07:32:58 +00:00
|
|
|
#
|
|
|
|
# Network configuration
|
|
|
|
#
|
|
|
|
|
|
|
|
menuconfig NET
|
|
|
|
bool "Networking support"
|
2018-02-26 15:01:02 +00:00
|
|
|
default y
|
2014-09-16 07:32:58 +00:00
|
|
|
|
|
|
|
if NET
|
|
|
|
|
2015-05-04 19:55:13 +00:00
|
|
|
config NET_RANDOM_ETHADDR
|
|
|
|
bool "Random ethaddr if unset"
|
|
|
|
help
|
|
|
|
Selecting this will allow the Ethernet interface to function
|
|
|
|
even when the ethaddr variable for that interface is unset.
|
|
|
|
A new MAC address will be generated on every boot and it will
|
|
|
|
not be added to the environment.
|
|
|
|
|
2015-09-14 13:29:46 +00:00
|
|
|
config NETCONSOLE
|
|
|
|
bool "NetConsole support"
|
|
|
|
help
|
|
|
|
Support the 'nc' input/output device for networked console.
|
|
|
|
See README.NetConsole for details.
|
|
|
|
|
2019-06-11 02:51:14 +00:00
|
|
|
config IP_DEFRAG
|
|
|
|
bool "Support IP datagram reassembly"
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Selecting this will enable IP datagram reassembly according
|
|
|
|
to the algorithm in RFC815.
|
|
|
|
|
2020-02-07 15:17:42 +00:00
|
|
|
config NET_MAXDEFRAG
|
|
|
|
int "Size of buffer used for IP datagram reassembly"
|
|
|
|
depends on IP_DEFRAG
|
|
|
|
default 16384
|
|
|
|
range 1024 65536
|
|
|
|
help
|
|
|
|
This defines the size of the statically allocated buffer
|
|
|
|
used for reassembly, and thus an upper bound for the size of
|
|
|
|
IP datagrams that can be received.
|
|
|
|
|
2019-06-11 02:51:15 +00:00
|
|
|
config TFTP_BLOCKSIZE
|
|
|
|
int "TFTP block size"
|
2019-11-23 17:58:59 +00:00
|
|
|
default 1468
|
2019-06-11 02:51:15 +00:00
|
|
|
help
|
|
|
|
Default TFTP block size.
|
2020-04-22 12:18:25 +00:00
|
|
|
The MTU is typically 1500 for ethernet, so a TFTP block of
|
|
|
|
1468 (MTU minus eth.hdrs) provides a good throughput with
|
|
|
|
almost-MTU block sizes.
|
|
|
|
You can also activate CONFIG_IP_DEFRAG to set a larger block.
|
2019-06-11 02:51:15 +00:00
|
|
|
|
2014-09-16 07:32:58 +00:00
|
|
|
endif # if NET
|