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>
24 lines
761 B
Plaintext
24 lines
761 B
Plaintext
# Copyright (c) 2024 Nordic Semiconductor
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
menuconfig NET_PSEUDO_IFACE
|
|
bool "Pseudo network interface a.k.a any interface"
|
|
depends on NET_L2_DUMMY
|
|
select NET_L2_VIRTUAL
|
|
help
|
|
This implements a pseudo network interface that does nothing
|
|
itself. It can be used for example to hook virtual interfaces
|
|
on top of it that can act as a network packet capture handlers.
|
|
The option will create an "any" network interface which acts
|
|
as a packet sink.
|
|
|
|
if NET_PSEUDO_IFACE
|
|
|
|
module = NET_PSEUDO_IFACE
|
|
module-dep = NET_LOG
|
|
module-str = Log level for pseudo network interface
|
|
module-help = Enables pseudo interface to output debug messages.
|
|
source "subsys/net/Kconfig.template.log_config.net"
|
|
|
|
endif # NET_PSEUDO_IFACE
|