:orphan: .. title:: NET_L2_DUMMY .. option:: CONFIG_NET_L2_DUMMY *Enable dummy l2 layer* Type: ``bool`` Help ==== Add a dummy L2 layer driver. This is usually only needed when simulating a network interface when running network stack inside QEMU. Direct dependencies =================== \ :option:`NETWORKING ` *(Includes any dependencies from ifs and menus.)* Default ======= - y if !\ :option:`NET_L2_ETHERNET ` && \ :option:`NET_TEST ` Symbols that select this symbol =============================== - \ :option:`NET_LOOPBACK ` Kconfig definition ================== .. highlight:: kconfig At ``subsys/net/l2/Kconfig:6`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:34`` → ``subsys/Kconfig:37`` → ``subsys/net/Kconfig:85`` Menu path: (Top) → Sub Systems and OS Services → Networking → Link layer and IP networking support → Link layer options .. parsed-literal:: config NET_L2_DUMMY bool "Enable dummy l2 layer" default y if !\ :option:`NET_L2_ETHERNET ` && \ :option:`NET_TEST ` depends on \ :option:`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.)*