Skip to main contentOpen topic with navigation
CAPL Functions » Ethernet » Function Overview » EthernetMacsecSecureEntity::GetValidateFrames
EthernetMacsecSecureEntity::GetValidateFrames
Valid for: CANoe DE
Method Syntax
byte EthernetMacsecSecureEntity.GetValidateFrames(EthernetMacsecValidateFrames& validateFrames);
Description
Returns the ValidateFrames setting. The value will be one of:
- Disabled – Unencrypted frames will not be validated. Instead, the SecTAG and ICV will just be stripped if present. Invalid encrypted frames will never be forwarded.
- Checked – MACsec frame Validation takes place, but invalid, unencrypted frames will still be forwarded. Invalid encrypted frames will never be forwarded.
- Strict – Invalid frames will always be dropped.
Parameters
- validateFrames: The reference parameter where the queried value will be returned.
Return Values
- byte: 1 if the call succeeded, 0 otherwise.
Example
—