3bd43ea865
Allow user to create a kitchen sink pseudo a.k.a any network interface that one is only able to write to. This might seem unnecessary, but it is possible to attach virtual network interfaces on top of this pseudo interface. These virtual interfaces could then process the data for example for packet capture purposes. Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
13 lines
273 B
CMake
13 lines
273 B
CMake
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
zephyr_library()
|
|
zephyr_library_compile_definitions_ifdef(
|
|
CONFIG_NEWLIB_LIBC __LINUX_ERRNO_EXTENSIONS__
|
|
)
|
|
|
|
zephyr_library_sources_ifdef(CONFIG_NET_L2_DUMMY dummy.c)
|
|
|
|
if(CONFIG_NET_PSEUDO_IFACE)
|
|
add_subdirectory(any)
|
|
endif()
|