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

NETWORKING

(Includes any dependencies from ifs and menus.)

Default

Symbols that select this symbol

Kconfig definition

At <Zephyr>/subsys/net/l2/Kconfig:6

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:34<Zephyr>/subsys/Kconfig:34<Zephyr>/subsys/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.)