FastClick

Elements / Ethernet

SetVLANAnno

sets VLAN annotation

SYNOPSIS§

SetVLANAnno(VLAN_TCI [, VLAN_PCP])

Batching: Batching natively supported
Ports: 1 input, 1 output
Processing: agnostic

DESCRIPTION§

Sets passing packets' VLAN_TCI annotations to the configured values. Set the annotation using VLAN_TCI (the whole annotation), or VLAN_ID and VLAN_PCP (setting the ID and Priority Code Point components, respectively).

ELEMENT HANDLERS§

  • vlan_tci (read/write) — Return or set the VLAN_TCI parameter.
  • vlan_id (read/write) — Return or set the VLAN_ID parameter.
  • vlan_pcp (read/write) — Return or set the VLAN_PCP parameter.

SEE ALSO§

EtherVLANEncap

Generated by click-elem2man from ../elements/ethernet/setvlananno.hh:6 on 2026/11/02.