46cb5c0bd1
Add support for capturing arbitrary data via the cooked mode (sll) capture API. The actual packet capture is done using net_capture_data() function, the packet capture infrastructure does not need any changes. Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
11 lines
240 B
CMake
11 lines
240 B
CMake
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
zephyr_include_directories(.)
|
|
zephyr_include_directories(${ZEPHYR_BASE}/subsys/net/ip)
|
|
|
|
zephyr_library_sources(capture.c)
|
|
|
|
if(CONFIG_NET_CAPTURE_COOKED_MODE)
|
|
zephyr_library_sources(cooked.c)
|
|
endif()
|