RTND_CAPABILITY_CLOCK

The RTND_CAPABILITY_CLOCK structure describes the interface's clock-related capability.

Syntax

Copy
typedef struct RTND_CAPABILITY_CLOCK{
  ULONG NbHardwareClocks;
  ULONG NbEgressTimestampRegisters;
  BOOL TimestampAllIngressSupported;
  BOOL TimestampPtpv1IngressSupported;
  BOOL TimestampPtpv2UdpIngressSupported;
  BOOL TimestampPtpv2EthIngressSupported;
  BOOL TimestampPtpv2IngressSupported;
  BOOL NonStandardUdpPortSupported;
  BOOL NonStandardEtherTypeSupported;
}RRTND_CAPABILITY_CLOCK;

Fields

NbHardwareClocks

The number of hardware clocks present on the interface. The value is 0 if the interface doesn't support hardware timestamping.

NbEgressTimestampRegisters

The number of hardware registers that can be used simultaneously to hold egress timestamps. This is used by the NL2 to determine how many Transmit Queues can transmit to-be-timestamped frames simultaneously.

TimestampAllIngressSupported

TRUE if the interface supports timestamping all received frames.

TimestampPtpv1IngressSupported

TRUE if the interface supports detecting PTPv1 event frames and timestamping them only.

TimestampPtpv2UdpIngressSupported

TRUE if the interface supports detecting PTPv2 over UDP event frames and timestamping them only.

TimestampPtpv2EthIngressSupported

TRUE if the interface supports detecting PTPv2 over ETH event frames and timestamping them only.

TimestampPtpv2IngressSupported

TRUE if the interface supports detecting PTPv2 over both UDP and ETH event frames and timestamping them only.

NonStandardUdpPortSupported

TRUE if the interface supports changing the UDP port used to detect PTPv1 events and PTPv2 over UDP events.

NonStandardEtherTypeSupported

TRUE if the interface supports changing the EtherType used to detect PTPv2 over ETH events.

Requirements

Minimum supported version Header

eRTOS 1.0 SDK

Rtnd.h

See Also: