Kconfig 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. #
  2. # Network configuration
  3. #
  4. menuconfig NET
  5. bool "Networking support"
  6. default y
  7. if NET
  8. config PROT_UDP
  9. bool "Enable generic udp framework"
  10. help
  11. Enable a generic udp framework that allows defining a custom
  12. handler for udp protocol.
  13. config BOOTP_SEND_HOSTNAME
  14. bool "Send hostname to DNS server"
  15. help
  16. Some DHCP servers are capable to do a dynamic update of a
  17. DNS server. To do this, they need the hostname of the DHCP
  18. requester.
  19. If CONFIG_BOOTP_SEND_HOSTNAME is defined, the content
  20. of the "hostname" environment variable is passed as
  21. option 12 to the DHCP server.
  22. config NET_RANDOM_ETHADDR
  23. bool "Random ethaddr if unset"
  24. help
  25. Selecting this will allow the Ethernet interface to function
  26. even when the ethaddr variable for that interface is unset.
  27. A new MAC address will be generated on every boot and it will
  28. not be added to the environment.
  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. config IP_DEFRAG
  35. bool "Support IP datagram reassembly"
  36. default n
  37. help
  38. Selecting this will enable IP datagram reassembly according
  39. to the algorithm in RFC815.
  40. config NET_MAXDEFRAG
  41. int "Size of buffer used for IP datagram reassembly"
  42. depends on IP_DEFRAG
  43. default 16384
  44. range 1024 65536
  45. help
  46. This defines the size of the statically allocated buffer
  47. used for reassembly, and thus an upper bound for the size of
  48. IP datagrams that can be received.
  49. config TFTP_BLOCKSIZE
  50. int "TFTP block size"
  51. default 1468
  52. help
  53. Default TFTP block size.
  54. The MTU is typically 1500 for ethernet, so a TFTP block of
  55. 1468 (MTU minus eth.hdrs) provides a good throughput with
  56. almost-MTU block sizes.
  57. You can also activate CONFIG_IP_DEFRAG to set a larger block.
  58. config TFTP_WINDOWSIZE
  59. int "TFTP window size"
  60. default 1
  61. help
  62. Default TFTP window size.
  63. RFC7440 defines an optional window size of transmits,
  64. before an ack response is required.
  65. The default TFTP implementation implies a window size of 1.
  66. config TFTP_TSIZE
  67. bool "Track TFTP transfers based on file size option"
  68. depends on CMD_TFTPBOOT
  69. default y if (ARCH_OMAP2PLUS || ARCH_K3)
  70. help
  71. By default, TFTP progress bar is increased for each received UDP
  72. frame, which can lead into long time being spent for sending
  73. data over the UART. Enabling this option, TFTP queries the file
  74. size from server, and if supported, limits the progress bar to
  75. 50 characters total which fits on single line.
  76. config SERVERIP_FROM_PROXYDHCP
  77. bool "Get serverip value from Proxy DHCP response"
  78. help
  79. Allows bootfile config to be fetched from Proxy DHCP server
  80. while IP is obtained from main DHCP server.
  81. config SERVERIP_FROM_PROXYDHCP_DELAY_MS
  82. int "# of additional milliseconds to wait for ProxyDHCP response"
  83. default 100
  84. help
  85. Amount of additional time to wait for ProxyDHCP response after
  86. receiving response from main DHCP server. Has no effect if
  87. SERVERIP_FROM_PROXYDHCP is false.
  88. endif # if NET