CONFIG_NET_GPTP_VLAN_TAG

VLAN tag to use

Type: int

Help

The VLAN tag to use when sending and receiving gPTP messages. The default value 4095 (0x0fff) means unspecified tag which is not a valid value. This means that you need to set the tag to a valid value.

Direct dependencies

NET_GPTP_VLAN && NET_GPTP && NET_L2_ETHERNET && NETWORKING

(Includes any dependencies from ifs and menus.)

Default

  • 4095

Kconfig definition

At <Zephyr>/subsys/net/l2/ethernet/gptp/Kconfig:125

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:34<Zephyr>/subsys/Kconfig:34<Zephyr>/subsys/net/Kconfig:85<Zephyr>/subsys/net/l2/Kconfig:69<Zephyr>/subsys/net/l2/ethernet/Kconfig:76

Menu path: (Top) → Sub Systems and OS Services → Networking → Link layer and IP networking support → Link layer options → Enable Ethernet support → Enable IEEE 802.1AS (gPTP) support [EXPERIMENTAL] → Run gPTP over VLAN link

config NET_GPTP_VLAN_TAG
    int "VLAN tag to use"
    default 4095
    depends on NET_GPTP_VLAN && NET_GPTP && NET_L2_ETHERNET && NETWORKING
    help
      The VLAN tag to use when sending and receiving gPTP messages.
      The default value 4095 (0x0fff) means unspecified tag which is
      not a valid value. This means that you need to set the tag to
      a valid value.

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