Skip to main content
Open topic with navigation CAPL Functions » Ethernet » Function Overview » EthernetMacsecSecureEntity::GetRxSCStats

EthernetMacsecSecureEntity::GetRxSCStats

Valid for: CANoe DE

Method Syntax

byte EthernetMacsecSecureEntity.GetRxSCStats(EthernetMacsecSCI sci, MacsecSCReceiveStats& rxStats);

Description

Returns the secure channel’s receive statistic variables.

Parameters

  • sci: The id of the secure channel to be queried.
  • rxStats: Reference parameter where the receive statistics will be returned.

Return Values

  • byte: 1 if the call succeeded, 0 otherwise. Note that currently only the MACsec software implementation supports statistics according to IEEE802.1AE. The hardware secure entity will always return 0.

Example