mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 03:00:34 +03:00
Merge branch 'feature/add_parse_packet_and_sniff_certain_number_of_packet_function_to_simple_sniffer' into 'master'
Support sniffer packets in memory, added example test Closes IDF-3210 See merge request espressif/esp-idf!13595
This commit is contained in:
@@ -33,6 +33,10 @@ menu "Example Configuration"
|
||||
depends on APPTRACE_DEST_TRAX
|
||||
help
|
||||
Store pcap file to host via JTAG interface.
|
||||
config SNIFFER_PCAP_DESTINATION_MEMORY
|
||||
bool "Memory"
|
||||
help
|
||||
Store pcap file to memory.
|
||||
endchoice
|
||||
|
||||
if SNIFFER_PCAP_DESTINATION_SD
|
||||
@@ -64,6 +68,14 @@ menu "Example Configuration"
|
||||
Specify maximum name length of pcap file.
|
||||
endif
|
||||
|
||||
if SNIFFER_PCAP_DESTINATION_MEMORY
|
||||
config SNIFFER_PCAP_MEMORY_SIZE
|
||||
int "Memory size of the '.pcap' file in memory"
|
||||
default 4096
|
||||
help
|
||||
Max memory size to storage packet in memory.
|
||||
endif
|
||||
|
||||
config SNIFFER_WORK_QUEUE_LEN
|
||||
int "Length of sniffer work queue"
|
||||
default 128
|
||||
|
||||
Reference in New Issue
Block a user