Merge tag 'u-boot-stm32-20211012' of https://source.denx.de/u-boot/custodians/u-boot-stm
[platform/kernel/u-boot.git] / net / Kconfig
index 6c47b7d..7a2d145 100644 (file)
@@ -8,6 +8,12 @@ menuconfig NET
 
 if NET
 
+config PROT_UDP
+       bool "Enable generic udp framework"
+       help
+         Enable a generic udp framework that allows defining a custom
+         handler for udp protocol.
+
 config BOOTP_SEND_HOSTNAME
        bool "Send hostname to DNS server"
        help
@@ -34,7 +40,6 @@ config NETCONSOLE
 
 config IP_DEFRAG
        bool "Support IP datagram reassembly"
-       default n
        help
          Selecting this will enable IP datagram reassembly according
          to the algorithm in RFC815.
@@ -59,4 +64,38 @@ config TFTP_BLOCKSIZE
          almost-MTU block sizes.
          You can also activate CONFIG_IP_DEFRAG to set a larger block.
 
+config TFTP_WINDOWSIZE
+       int "TFTP window size"
+       default 1
+       help
+         Default TFTP window size.
+         RFC7440 defines an optional window size of transmits,
+         before an ack response is required.
+         The default TFTP implementation implies a window size of 1.
+
+config TFTP_TSIZE
+       bool "Track TFTP transfers based on file size option"
+       depends on CMD_TFTPBOOT
+       default y if (ARCH_OMAP2PLUS || ARCH_K3)
+       help
+         By default, TFTP progress bar is increased for each received UDP
+         frame, which can lead into long time being spent for sending
+         data over the UART. Enabling this option, TFTP queries the file
+         size from server, and if supported, limits the progress bar to
+         50 characters total which fits on single line.
+
+config SERVERIP_FROM_PROXYDHCP
+       bool "Get serverip value from Proxy DHCP response"
+       help
+         Allows bootfile config to be fetched from Proxy DHCP server
+               while IP is obtained from main DHCP server.
+
+config SERVERIP_FROM_PROXYDHCP_DELAY_MS
+       int "# of additional milliseconds to wait for ProxyDHCP response"
+       default 100
+       help
+         Amount of additional time to wait for ProxyDHCP response after
+               receiving response from main DHCP server. Has no effect if
+               SERVERIP_FROM_PROXYDHCP is false.
+
 endif   # if NET