The latest development version of this page may be more current than this released 2.7.5 version.

CONFIG_NET_L2_VIRTUAL_MAX_NAME_LEN

Max length of the virtual L2 layer name

Type: int

Help

Indicate the max name length, including the terminating NULL byte.
Reduce this value to conserve memory.

Direct dependencies

NET_L2_VIRTUAL && NETWORKING

(Includes any dependencies from ifs and menus.)

Default

  • 32

Kconfig definition

At subsys/net/l2/virtual/Kconfig:21

Included via Kconfig:8Kconfig.zephyr:44subsys/Kconfig:39subsys/net/Kconfig:87subsys/net/l2/Kconfig:69

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

config NET_L2_VIRTUAL_MAX_NAME_LEN
    int "Max length of the virtual L2 layer name"
    range 8 128
    default 32
    depends on NET_L2_VIRTUAL && NETWORKING
    help
      Indicate the max name length, including the terminating NULL byte.
      Reduce this value to conserve memory.

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