Skip to main content
Open topic with navigation CAPL Functions » Ethernet » Function Overview » ethernetPacket::SetDestinationIPAddress

ethernetPacket::SetDestinationIPAddress

Valid for: CANoe DE • CANoe4SW DE

Method Syntax

Description

Set destination IP address of ethernetPacket by an ip_Address variable. Note: The ethernetPacket must contain IPv4 or IPv6 protocol.

Parameters

  • address: IP address is assigned to this variable.

Return Values

  • 0: success
  • -1: No IPv4 or IPv6 protocol available in packet.

Example