#[repr(u8)]pub enum TlvType {
Show 27 variants
Reserved(u16),
Management,
ManagementErrorStatus,
OrganizationExtension,
RequestUnicastTransmission,
GrantUnicastTransmission,
CancelUnicastTransmission,
AcknowledgeCancelUnicastTransmission,
PathTrace,
AlternateTimeOffsetIndicator,
Legacy(u16),
Experimental(u16),
OrganizationExtensionPropagate,
EnhancedAccuracyMetrics,
OrganizationExtensionDoNotPropagate,
L1Sync,
PortCommunicationAvailability,
ProtocolAddress,
SlaveRxSyncTimingData,
SlaveRxSyncComputedData,
SlaveTxEventTimestamps,
CumulativeRateRatio,
Pad,
Authentication,
CsptpStatus,
CsptpRequest,
CsptpResponse,
}Expand description
The type of a given TLV.
For more detials, see IEEE1588-2019 section 14.1.1 / Table 52.
Variants§
Reserved(u16)
Reserved for future use
Management
The management TLV.
ManagementErrorStatus
The ManagementErrorStatus TLV
OrganizationExtension
An organization extension TLV.
These have an additional set of identifiers identifying the actual type in the TLV data itself.
RequestUnicastTransmission
A TLV containing a request for unicast transmission.
GrantUnicastTransmission
A grant for unicast transmission.
CancelUnicastTransmission
A request to cancel unicast transmission.
AcknowledgeCancelUnicastTransmission
Acknowledgement of unicast transmission cancelation.
PathTrace
Path tracing data.
AlternateTimeOffsetIndicator
Information for computing a different timescale.
Legacy(u16)
TLV types used in previous versions of the standard.
Experimental(u16)
TLV identifiers inteded for experimentation.
OrganizationExtensionPropagate
An organization extension TLV that needs to be propagated on announce messages.
These have an additional set of identifiers identifying the actual type in the TLV data itself.
EnhancedAccuracyMetrics
Enhanced accury metrics.
OrganizationExtensionDoNotPropagate
An organization extension TLV that must not be propagated on announce messages.
These have an additional set of identifiers identifying the actual type in the TLV data itself.
L1Sync
Data for Layer 1 synchronization.
PortCommunicationAvailability
Information about port communication capabilities.
ProtocolAddress
Protocol address of the sending PTP port
SlaveRxSyncTimingData
Timing data on received messages from time receiver monitoring.
SlaveRxSyncComputedData
Computed data from time receiver monitoring.
SlaveTxEventTimestamps
Timing data on sent message from time receiver monitoring.
CumulativeRateRatio
Cumulative frequency transfer data.
Pad
Padding.
Authentication
Message authentication.
CsptpStatus
CSPTP Status
CsptpRequest
CSPTP Request
CsptpResponse
CSPTP Response