This is automatically generated documentation. Edit after the "COMMENTS" heading; changes to the main body will be lost.
VLANEncap -- Click element; add VLAN information to Ethernet packets
VLANEncap([VLAN_TCI, VLAN_PCP, <keywords>])
Ports: 1 input, 1 output
Package: ethernet (core)
Expects Ethernet-encapsulated packets as input. Adds an 802.1Q shim header. The resulting packet looks like an Ethernet packet with type 0x8100. The VLAN arguments define the VLAN ID and priority code point. VLAN_TCI is a 16-bit VLAN TCI, including both the VLAN ID and the VLAN PCP. VLAN_TCI may also be the string "ANNO"; in ANNO mode, the encapsulated VLAN TCI is read from the input packet's VLAN_TCI annotation. You may also set the VLAN_ID and VLAN_PCP separately via keywords. If you want to add a full Ethernet 802.1Q header, use EtherVLANEncap. Keyword arguments are:
Generated by 'click-elem2man' from '../elements/ethernet/vlanencap.hh:7' on 16/Jul/2011.