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.
Default¶
- y if ! - NET_L2_ETHERNET&&- NET_TEST
Symbols that select this symbol¶
Kconfig definition¶
At <Zephyr Subsystem>/net/l2/Kconfig:6
Included via Kconfig:8 → Kconfig.zephyr:44 → <Zephyr Subsystem>/Kconfig:39 → <Zephyr Subsystem>/net/Kconfig:85
Menu path: (Top) → Sub Systems and OS Services → Networking → Link layer and IP networking support → Link layer options
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.)