Kconfig 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. menu "LWIP"
  2. config L2_TO_L3_COPY
  3. bool "Enable copy between Layer2 and Layer3 packets"
  4. default n
  5. help
  6. If this feature is enabled, all traffic from layer2(WIFI Driver) will be
  7. copied to a new buffer before sending it to layer3(LWIP stack), freeing
  8. the layer2 buffer.
  9. Please be notified that the total layer2 receiving buffer is fixed and
  10. ESP32 currently supports 25 layer2 receiving buffer, when layer2 buffer
  11. runs out of memory, then the incoming packets will be dropped in hardware.
  12. The layer3 buffer is allocated from the heap, so the total layer3 receiving
  13. buffer depends on the available heap size, when heap runs out of memory,
  14. no copy will be sent to layer3 and packet will be dropped in layer2.
  15. Please make sure you fully understand the impact of this feature before
  16. enabling it.
  17. config LWIP_MAX_SOCKETS
  18. int "Max number of open sockets"
  19. range 1 32
  20. default 10
  21. help
  22. Sockets take up a certain amount of memory, and allowing fewer
  23. sockets to be open at the same time conserves memory. Specify
  24. the maximum amount of sockets here. The valid value is from 1
  25. to 16.
  26. config LWIP_THREAD_LOCAL_STORAGE_INDEX
  27. int "Index for thread-local-storage pointer for lwip"
  28. default 0
  29. help
  30. Specify the thread-local-storage-pointer index for lwip
  31. use.
  32. config LWIP_SO_REUSE
  33. bool "Enable SO_REUSEADDR option"
  34. default n
  35. help
  36. Enabling this option allows binding to a port which remains in
  37. TIME_WAIT.
  38. config LWIP_SO_RCVBUF
  39. bool "Enable SO_RCVBUF option"
  40. default n
  41. help
  42. Enabling this option allows checking for available data on a netconn.
  43. config LWIP_DHCP_MAX_NTP_SERVERS
  44. int "Maximum number of NTP servers"
  45. default 1
  46. range 1 16
  47. help
  48. Set maximum number of NTP servers used by LwIP SNTP module.
  49. First argument of sntp_setserver/sntp_setservername functions
  50. is limited to this value.
  51. config LWIP_IP_FRAG
  52. bool "Enable fragment outgoing IP packets"
  53. default n
  54. help
  55. Enabling this option allows fragmenting outgoing IP packets if their size
  56. exceeds MTU.
  57. config LWIP_IP_REASSEMBLY
  58. bool "Enable reassembly incoming fragmented IP packets"
  59. default n
  60. help
  61. Enabling this option allows reassemblying incoming fragmented IP packets.
  62. config TCP_MAXRTX
  63. int "Maximum number of retransmissions of data segments"
  64. default 12
  65. range 3 12
  66. help
  67. Set maximum number of retransmissions of data segments.
  68. config TCP_SYNMAXRTX
  69. int "Maximum number of retransmissions of SYN segments"
  70. default 6
  71. range 3 12
  72. help
  73. Set maximum number of retransmissions of SYN segments.
  74. config LWIP_DHCP_DOES_ARP_CHECK
  75. bool "Enable an ARP check on the offered address"
  76. default y
  77. help
  78. Enabling this option allows check if the offered IP address is not already
  79. in use by another host on the network.
  80. endmenu