Skip to main contentOpen topic with navigation
CAPL Functions » Ethernet » Function Overview » EthernetMacsecSecureEntity::GetTxSCStats
EthernetMacsecSecureEntity::GetTxSCStats
Valid for: CANoe DE
Method Syntax
byte EthernetMacsecSecureEntity.GetTxSCStats(EthernetMacsecSCI sci, MacsecSCTransmitStats& txStats);
Description
Returns the secure channel’s transmit statistic variables.
Parameters
- sci: The id of the secure channel to be queried
- txStats: Reference parameter where the transmit 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
—