:orphan: .. title:: CONFIG_NET_L2_DUMMY .. kconfig:: CONFIG_NET_L2_DUMMY CONFIG_NET_L2_DUMMY ################### *Enable dummy l2 layer* Type: ``bool`` Help ==== .. code-block:: none Add a dummy L2 layer driver. This is usually only needed when simulating a network interface when running network stack inside QEMU. Direct dependencies =================== \ :kconfig:`NETWORKING ` *(Includes any dependencies from ifs and menus.)* Default ======= - y if !\ :kconfig:`NET_L2_ETHERNET ` && \ :kconfig:`NET_TEST ` Symbols that select this symbol =============================== - \ :kconfig:`NET_LOOPBACK ` Kconfig definition ================== At ``/net/l2/Kconfig:6`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:44`` → ``/Kconfig:39`` → ``/net/Kconfig:85`` Menu path: (Top) → Sub Systems and OS Services → Networking → Link layer and IP networking support → Link layer options .. code-block:: kconfig config NET_L2_DUMMY bool "Enable dummy l2 layer" default y if !NET_L2_ETHERNET && NET_TEST depends on NETWORKING help Add a dummy L2 layer driver. This is usually only needed when simulating a network interface when running network stack inside QEMU. *(The 'depends on' condition includes propagated dependencies from ifs and menus.)*