libptpmgmt  1.4
libptpmgmt library that provides the functionality of linuxptp pmc
sig.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: LGPL-3.0-or-later
2  SPDX-FileCopyrightText: Copyright © 2021 Erez Geva <ErezGeva2@gmail.com> */
3 
12 #ifndef __PTPMGMT_C_SIG_H
13 #define __PTPMGMT_C_SIG_H
14 
15 #include "c/types.h"
16 
17 #ifdef __cplusplus
18 extern "C" {
19 #endif
20 
21 #ifndef SWIG
28  const void *tlvData;
29 };
30 #endif /* SWIG */
39 };
49  uint8_t *dataField;
50 };
54 };
63 };
88 };
98  uint8_t flags1;
105  uint8_t flags2;
106 };
129 };
133 };
145 };
148 
153 };
163 };
174  uint8_t computedFlags;
177 };
178 
184 };
197 };
202 };
241  uint8_t daylightSaving;
246  uint8_t leapSecondJump;
247 };
259 };
268 };
269 
270 #ifdef __cplusplus
271 }
272 #endif
273 
274 #endif /* __PTPMGMT_C_SIG_H */
ptpmgmt_mng_vals_e
Management TLVs ID.
Definition: mngIds.h:28
Types, enumerators, and structers used by C interface to PTP management messages.
ptpmgmt_msgType_e
Definition: types.h:122
ptpmgmt_managementErrorId_e
Definition: types.h:207
ptpmgmt_SMPTEmasterLockingStatus_e
Definition: types.h:335
Integer32_t jumpSeconds
Definition: sig.h:59
UInteger48_t timeOfNextJump
Definition: sig.h:60
UInteger8_t keyField
Definition: sig.h:57
Integer32_t currentOffset
Definition: sig.h:58
struct ptpmgmt_PTPText_t displayName
Definition: sig.h:62
Definition: sig.h:199
Integer32_t scaledCumulativeRateRatio
Definition: sig.h:201
Definition: types.h:412
struct ptpmgmt_TimeInterval_t maxTransientInaccuracy
Definition: sig.h:73
Float64_t varTransientInaccuracy
Definition: sig.h:75
struct ptpmgmt_TimeInterval_t maxStaticMediumInaccuracy
Definition: sig.h:85
struct ptpmgmt_TimeInterval_t maxDynamicInaccuracy
Definition: sig.h:77
UInteger8_t bcHopCount
Definition: sig.h:66
Float64_t varDynamicInaccuracy
Definition: sig.h:79
struct ptpmgmt_TimeInterval_t maxGmInaccuracy
Definition: sig.h:69
UInteger8_t tcHopCount
Definition: sig.h:67
Float64_t varStaticMediumInaccuracy
Definition: sig.h:87
Float64_t varGmInaccuracy
Definition: sig.h:71
Float64_t varStaticInstanceInaccuracy
Definition: sig.h:83
struct ptpmgmt_TimeInterval_t maxStaticInstanceInaccuracy
Definition: sig.h:81
Definition: sig.h:90
uint8_t flags2
Definition: sig.h:105
uint8_t flags1
Definition: sig.h:98
enum ptpmgmt_managementErrorId_e managementErrorId
Definition: sig.h:37
enum ptpmgmt_mng_vals_e managementId
Definition: sig.h:36
struct ptpmgmt_PTPText_t displayData
Definition: sig.h:38
Definition: sig.h:26
const void * tlvData
Definition: sig.h:28
enum ptpmgmt_mng_vals_e managementId
Definition: sig.h:27
Octet_t organizationSubType[3]
Definition: sig.h:48
Octet_t organizationId[3]
Definition: sig.h:47
uint8_t * dataField
Definition: sig.h:49
Definition: sig.h:52
struct ptpmgmt_ClockIdentity_t * pathSequence
Definition: sig.h:53
uint8_t delayRespMessageAvailability
Definition: sig.h:128
uint8_t syncMessageAvailability
Definition: sig.h:118
Definition: sig.h:131
struct ptpmgmt_PortAddress_t portProtocolAddress
Definition: sig.h:132
Definition: types.h:439
Definition: types.h:421
Definition: types.h:416
struct ptpmgmt_Timestamp_t delayOriginTimestamp
Definition: sig.h:254
struct ptpmgmt_TimeInterval_t totalCorrectionField
Definition: sig.h:256
UInteger16_t sequenceId
Definition: sig.h:252
struct ptpmgmt_Timestamp_t delayResponseTimestamp
Definition: sig.h:258
struct ptpmgmt_PortIdentity_t sourcePortIdentity
Definition: sig.h:265
struct ptpmgmt_SLAVE_DELAY_TIMING_DATA_NP_rec_t * list
Definition: sig.h:267
Integer32_t scaledNeighborRateRatio
Definition: sig.h:162
struct ptpmgmt_TimeInterval_t offsetFromMaster
Definition: sig.h:158
struct ptpmgmt_TimeInterval_t meanPathDelay
Definition: sig.h:160
UInteger16_t sequenceId
Definition: sig.h:156
uint8_t computedFlags
Definition: sig.h:174
struct ptpmgmt_PortIdentity_t sourcePortIdentity
Definition: sig.h:167
struct ptpmgmt_SLAVE_RX_SYNC_COMPUTED_DATA_rec_t * list
Definition: sig.h:176
struct ptpmgmt_Timestamp_t syncEventIngressTimestamp
Definition: sig.h:144
Integer32_t scaledCumulativeRateOffset
Definition: sig.h:142
struct ptpmgmt_Timestamp_t syncOriginTimestamp
Definition: sig.h:138
UInteger16_t sequenceId
Definition: sig.h:136
struct ptpmgmt_TimeInterval_t totalCorrectionField
Definition: sig.h:140
struct ptpmgmt_PortIdentity_t syncSourcePortIdentity
Definition: sig.h:150
struct ptpmgmt_SLAVE_RX_SYNC_TIMING_DATA_rec_t * list
Definition: sig.h:152
struct ptpmgmt_Timestamp_t eventEgressTimestamp
Definition: sig.h:183
UInteger16_t sequenceId
Definition: sig.h:181
struct ptpmgmt_SLAVE_TX_EVENT_TIMESTAMPS_rec_t * list
Definition: sig.h:196
enum ptpmgmt_msgType_e eventMessageType
Definition: sig.h:194
struct ptpmgmt_PortIdentity_t sourcePortIdentity
Definition: sig.h:188
UInteger32_t defaultSystemFrameRate_denominator
Definition: sig.h:214
Octet_t organizationId[3]
Definition: sig.h:209
Integer32_t previousJamLocalOffset
Definition: sig.h:240
uint8_t daylightSaving
Definition: sig.h:241
UInteger32_t defaultSystemFrameRate_numerator
Definition: sig.h:212
Integer32_t currentLocalOffset
Definition: sig.h:219
UInteger48_t timeOfNextJump
Definition: sig.h:226
UInteger48_t timeOfPreviousJam
Definition: sig.h:236
enum ptpmgmt_SMPTEmasterLockingStatus_e masterLockingStatus
Definition: sig.h:216
Octet_t organizationSubType[3]
Definition: sig.h:210
uint8_t leapSecondJump
Definition: sig.h:246
Integer32_t jumpSeconds
Definition: sig.h:221
uint8_t timeAddressFlags
Definition: sig.h:217
UInteger48_t timeOfNextJam
Definition: sig.h:231
Definition: types.h:403
Definition: types.h:407
uint16_t UInteger16_t
Definition: types.h:40
uint64_t UInteger48_t
Definition: types.h:44
uint8_t UInteger8_t
Definition: types.h:38
uint32_t UInteger32_t
Definition: types.h:42
uint8_t Octet_t
Definition: types.h:62
int32_t Integer32_t
Definition: types.h:54
double Float64_t
Definition: types.h:64