Skip to main content
Open topic with navigation

ethGetMacsecSecureEntity

CAPL Functions » Ethernet » Function Overview » ethGetMacsecSecureEntity

Tool Availability

Valid for: CANoe DE

Function Syntax

Description

Returns the MACsec Secure Entity associated with the given measurement port. The measurement port must have an existing MACsec configuration to get a valid MACsec secure entity.

Parameters

  • port: A measurement port with an existing MACsec configuration.

Return Values

  • EthernetMacsecSecureEntity: The MACsec secure entity. Check with its property isValid if the call succeeded.

Example