This is the documentation for the latest (master) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.
CONFIG_NET_VLAN

Enable virtual lan support

Type: bool

Help

Enables virtual lan (VLAN) support for Ethernet.

Direct dependencies

NET_L2_ETHERNET && NETWORKING

(Includes any dependencies from ifs and menus.)

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

At subsys/net/l2/ethernet/Kconfig:27

Included via Kconfig:8Kconfig.zephyr:34subsys/Kconfig:32subsys/net/Kconfig:85subsys/net/l2/Kconfig:69

Menu path: (Top) → Sub Systems and OS Services → Networking → Link layer and IP networking support → Link layer options → Enable Ethernet support

config NET_VLAN
    bool "Enable virtual lan support"
    depends on NET_L2_ETHERNET && NETWORKING
    help
      Enables virtual lan (VLAN) support for Ethernet.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)