2 # Network configuration
6 bool "Networking support"
12 int "Milliseconds before trying ARP again"
15 config NET_RETRY_COUNT
16 int "Number of timeouts before giving up"
19 This variable defines the number of retries for network operations
20 like ARP, RARP, TFTP, or BOOTP before giving up the operation.
23 bool "Enable generic udp framework"
25 Enable a generic udp framework that allows defining a custom
26 handler for udp protocol.
28 config BOOTP_SEND_HOSTNAME
29 bool "Send hostname to DNS server"
31 Some DHCP servers are capable to do a dynamic update of a
32 DNS server. To do this, they need the hostname of the DHCP
34 If CONFIG_BOOTP_SEND_HOSTNAME is defined, the content
35 of the "hostname" environment variable is passed as
36 option 12 to the DHCP server.
38 config NET_RANDOM_ETHADDR
39 bool "Random ethaddr if unset"
41 Selecting this will allow the Ethernet interface to function even
42 when the ethaddr variable for that interface is unset. In this case,
43 a random MAC address in the locally administered address space is
44 generated. It will be saved to the appropriate environment variable,
48 bool "NetConsole support"
50 Support the 'nc' input/output device for networked console.
51 See README.NetConsole for details.
54 bool "Support IP datagram reassembly"
56 Selecting this will enable IP datagram reassembly according
57 to the algorithm in RFC815.
60 int "Size of buffer used for IP datagram reassembly"
65 This defines the size of the statically allocated buffer
66 used for reassembly, and thus an upper bound for the size of
67 IP datagrams that can be received.
73 Default TFTP block size.
74 The MTU is typically 1500 for ethernet, so a TFTP block of
75 1468 (MTU minus eth.hdrs) provides a good throughput with
76 almost-MTU block sizes.
77 You can also activate CONFIG_IP_DEFRAG to set a larger block.
79 config TFTP_WINDOWSIZE
80 int "TFTP window size"
83 Default TFTP window size.
84 RFC7440 defines an optional window size of transmits,
85 before an ack response is required.
86 The default TFTP implementation implies a window size of 1.
89 bool "Track TFTP transfers based on file size option"
90 depends on CMD_TFTPBOOT
91 default y if (ARCH_OMAP2PLUS || ARCH_K3)
93 By default, TFTP progress bar is increased for each received UDP
94 frame, which can lead into long time being spent for sending
95 data over the UART. Enabling this option, TFTP queries the file
96 size from server, and if supported, limits the progress bar to
97 50 characters total which fits on single line.
99 config SERVERIP_FROM_PROXYDHCP
100 bool "Get serverip value from Proxy DHCP response"
102 Allows bootfile config to be fetched from Proxy DHCP server
103 while IP is obtained from main DHCP server.
105 config SERVERIP_FROM_PROXYDHCP_DELAY_MS
106 int "# of additional milliseconds to wait for ProxyDHCP response"
109 Amount of additional time to wait for ProxyDHCP response after
110 receiving response from main DHCP server. Has no effect if
111 SERVERIP_FROM_PROXYDHCP is false.
113 config KEEP_SERVERADDR
114 bool "Write the server's MAC address to 'serveraddr'"
117 Keeps the server's MAC address, in the env 'serveraddr'
118 for passing to bootargs (like Linux's netconsole option). If this is
119 enabled, when an ARP reply is received, the server's IP address is
123 bool "Check the UDP checksum"
126 Enable this to verify the checksum on UDP packets. If the checksum
127 is wrong then the packet is discussed and an error is shown, like
128 "UDP wrong checksum 29374a23 30ff3826"
130 config BOOTP_SERVERIP
131 bool "Use the 'serverip' env var for tftp, not bootp"
133 Enable this if the TFTP server will be the 'serverip' environment
134 variable, not the BOOTP server. This affects the operation of both