Open topic with navigation CAPL Functions » Ethernet » Function Overview » ethernetPacket::RemoveVlanDocumentation Index
Fetch the complete documentation index at: https://notevil.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
ethernetPacket::RemoveVlan
Valid for: CANoe DE • CANoe4SW DEMethod Syntax
long ethernetPacket.RemoveVlan();// form 1long ethernetPacket.RemoveVlan(dword vlanIndex);// form 2
Description
Removes a VLAN tag from an Ethernet packet. To remove a specific VLAN tag from a double-tagged packet form 2 can be used.Parameters
- vlanIndex: Index of the VLAN tag for double-tagged VLANs. Index 0 is the inner VLAN, index 1 the outer VLAN. Range 0..2