This is automatically generated documentation. Edit after the "COMMENTS" heading; changes to the main body will be lost.

StripEtherVLANHeader Element Documentation

NAME

StripEtherVLANHeader -- Click element; strips 802.1Q VLAN Ethernet header

SYNOPSIS

StripEtherVLANHeader([NATIVE_VLAN])

Ports: 1 input, 1-2 outputs
Processing: agnostic, but output 1 is push
Package: ethernet (core)

DESCRIPTION

Strips each packet's 802.1Q header. Checks the packet's outermost Ethernet type. If that type is 0x8100 (the 802.1Q type), then sets the packet's VLAN annotation to the corresponding 802.1Q field and removes the 18-byte 802.1Q header. Otherwise, the packet is not VLAN encapsulated. The element sets packet's VLAN annotation to the NATIVE_VLAN value and removes the 14-byte Ethernet header. If NATIVE_VLAN is negative, then non-802.1Q packets are dropped (or emitted from output 1). NATIVE_VLAN defaults to 0.

SEE ALSO

EtherVLANEncap

Generated by 'click-elem2man' from '../elements/ethernet/stripethervlanheader.hh:7' on 16/Jul/2011.

COMMENTS

 
elements/stripethervlanheader.txt · Last modified: 2011/07/16 22:38 (external edit)
 
Recent changes RSS feed Driven by DokuWiki