Skip to main content
Open topic with navigation CAPL Functions » Ethernet » Function Overview » IP_Address

IP_Address

Valid for: CANoe DE • CANoe4SW DE • CANoe:lite DE • CANoe4SW:lite DE

Function Syntax

IP_Address <addr> <var name>; // form 1 IP_Address <var name>; //form 2

Method Syntax

Description

Initializes a variable of type IP_Address with a concrete IP address (form 1) or without an IP Address (form 2).

Parameters

  • addr: An IPv4 or IPv6 address.
  • var name: Character string defining the object’s variable name.

Selectors

  • IPv4Address: Accesses the IPv4 address’ value. See byte-order of IP address.
    • Type: dword
    • Access Limitation: —
  • ScopeID: ScopeID for an IPv6 address.
    • Type: dword
    • Access Limitation: —

Example