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 <Zephyr>/subsys/net/l2/virtual/Kconfig:21

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:44<Zephyr>/subsys/Kconfig:39<Zephyr>/subsys/net/Kconfig:81<Zephyr>/subsys/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.)