IP Functions
CAPLfunctionHasVlan
Open topic with navigation
CAPL Functions » Ethernet » Function Overview » ethernetPacket::HasVlan
See Also
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
long ethernetPacket.HasVlan();
on ethernetPacket *
{
if (this.hasVlan())
{
word vlanId;
vlanId = this.GetVlanId();
write("Received Ethernet packet with VLAN ID %d", vlanId);
}
}