Skip to main content
Open topic with navigation

EthernetMacsecSecureEntity::GetReplayProtection

CAPL Functions » Ethernet » Function Overview » EthernetMacsecSecureEntity::GetReplayProtection Valid for: CANoe DE

Method Syntax

byte EthernetMacsecSecureEntity.GetReplayProtection(byte replayProtect, dword replayWindow);

Description

Returns the replay protection settings. The parameter replayProtect indicates whether replay protection shall take place, replayWindow is the acceptable difference between the previous and the current frames’s packet numbers.

Parameters

  • replayProtect: The reference parameter where the queried value will be returned.
  • replayWindow: The reference parameter where the queried value will be returned.

Return Values

  • byte: 1 if the call succeeded, 0 otherwise.

Example