Skip to main content

Documentation Index

Fetch the complete documentation index at: https://notevil.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

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