mirror of
https://github.com/espressif/esp-idf.git
synced 2024-09-20 10:46:02 -04:00
69dbc36a1c
Menuconfig add an option to copy the packet from layer2 (WIFI driver) to layer3 (LWIP), default not copy
49 lines
1.3 KiB
Plaintext
49 lines
1.3 KiB
Plaintext
menu "LWIP"
|
|
|
|
config L2_TO_L3_COPY
|
|
bool "Enable copy between Layer2 and Layer3 packets"
|
|
default 0
|
|
help
|
|
If this feature is enabled, then all traffic from layer2(WIFI Driver)
|
|
to layer3(LWIP stack) will make a copy, the layer2 buffer will be
|
|
freed and the copy will be sent to layer3. Please make sure you fully
|
|
understand this feature before you enable this feature.
|
|
|
|
|
|
config LWIP_MAX_SOCKETS
|
|
int "Max number of open sockets"
|
|
range 1 16
|
|
default 4
|
|
help
|
|
Sockets take up a certain amount of memory, and allowing fewer
|
|
sockets to be open at the same time conserves memory. Specify
|
|
the maximum amount of sockets here. The valid value is from 1
|
|
to 16.
|
|
|
|
config LWIP_THREAD_LOCAL_STORAGE_INDEX
|
|
int "Index for thread-local-storage pointer for lwip"
|
|
default 0
|
|
help
|
|
Specify the thread-local-storage-pointer index for lwip
|
|
use.
|
|
|
|
config LWIP_SO_REUSE
|
|
bool "Enable SO_REUSEADDR option"
|
|
default 0
|
|
help
|
|
Enabling this option allows binding to a port which remains in
|
|
TIME_WAIT.
|
|
|
|
config LWIP_DHCP_MAX_NTP_SERVERS
|
|
int "Maximum number of NTP servers"
|
|
default 1
|
|
range 1 16
|
|
help
|
|
Set maxumum number of NTP servers used by LwIP SNTP module.
|
|
First argument of sntp_setserver/sntp_setservername functions
|
|
is limited to this value.
|
|
|
|
endmenu
|
|
|
|
|