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 subsys/net/l2/ethernet/gptp/Kconfig:125

Included via Kconfig:8Kconfig.zephyr:44subsys/Kconfig:22subsys/net/Kconfig:78subsys/net/l2/Kconfig:69subsys/net/l2/ethernet/Kconfig:76

Menu path: (Top) → 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.)