ethernetPacket::GetDestinationIPAddress
Valid for: CANoe DE • CANoe4SW DEMethod Syntax
Description
Assigns the destination IP address to an ip_Address variable. Note: The ethernetPacket must contain IPv4 or IPv6 protocol. UseethernetPacket::<protocol>.IsAvailable() before calling this method.
Parameters
- address: IP address is assigned to this variable.
Return Values
- 0: success
- -1: No IPv4 or IPv6 protocol available in packet.