Kconfig 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  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 even
  26. when the ethaddr variable for that interface is unset. In this case,
  27. a random MAC address in the locally administered address space is
  28. generated. It will be saved to the appropriate environment variable,
  29. too.
  30. config NETCONSOLE
  31. bool "NetConsole support"
  32. help
  33. Support the 'nc' input/output device for networked console.
  34. See README.NetConsole for details.
  35. config IP_DEFRAG
  36. bool "Support IP datagram reassembly"
  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. config KEEP_SERVERADDR
  89. bool "Write the server's MAC address to 'serveraddr'"
  90. default y if SANDBOX
  91. help
  92. Keeps the server's MAC address, in the env 'serveraddr'
  93. for passing to bootargs (like Linux's netconsole option). If this is
  94. enabled, when an ARP reply is received, the server's IP address is
  95. written there.
  96. config UDP_CHECKSUM
  97. bool "Check the UDP checksum"
  98. default y if SANDBOX
  99. help
  100. Enable this to verify the checksum on UDP packets. If the checksum
  101. is wrong then the packet is discussed and an error is shown, like
  102. "UDP wrong checksum 29374a23 30ff3826"
  103. config BOOTP_SERVERIP
  104. bool "Use the 'serverip' env var for tftp, not bootp"
  105. help
  106. Enable this if the TFTP server will be the 'serverip' environment
  107. variable, not the BOOTP server. This affects the operation of both
  108. bootp and tftp.
  109. endif # if NET