Skip to main content
Open topic with navigation

CAPL Functions » Ethernet » Function Overview » ethernetPacket::protocol::optional-structure::Clear

ethernetPacket::protocol::optional-structure::Clear

Valid for: CANoe DE • CANoe4SW DE

Method Syntax

long ethernetPacket.<protocol>.<optional-structure>.Clear();

Description

Removes a protocol option from the Ethernet packet.

Parameters

Return Values

  • 0: Success
  • -1: Error

Example