RAD_GPTP_SETTINGS Structure
This structure defines various settings for the gPTP
typedef struct __declspec (align(2))
{
uint32_t neighborPropDelayThresh;
uint32_t sys_phc_sync_interval;
int8_t logPDelayReqInterval;
int8_t logSyncInterval;
int8_t logAnnounceInterval;
uint8_t profile;
uint8_t priority1;
uint8_t clockclass;
uint8_t clockaccuracy;
uint8_t priority2;
uint16_t offset_scaled_log_variance;
uint8_t gPTPportRole;
uint8_t gptpEnabledPort;
uint32_t rsvd0;
uint32_t rsvd1;
uint32_t rsvd2;
uint32_t rsvd3;
}RAD_GPTP_SETTINGS;
<StructLayout(LayoutKind.Sequential, Pack:=2)> Public Structure RAD_GPTP_SETTINGS
Dim neighborPropDelayThresh As UInt32
Dim sys_phc_sync_interval As UInt32
Dim logPDelayReqInterval As Byte
Dim logSyncInterval As Byte
Dim logAnnounceInterval As Byte
Dim profile As Byte
Dim priority1 As Byte
Dim clockclass As Byte
Dim clockaccuracy As Byte
Dim priority2 As Byte
Dim offset_scaled_log_variance As UInt16
Dim gPTPportRole As Byte
Dim gptpEnabledPort As Byte
Dim rsvd0 As UInt32
Dim rsvd1 As UInt32
Dim rsvd2 As UInt32
Dim rsvd3 As UInt32
End Structure
[StructLayout(LayoutKind.Sequential,Pack=2)]
public struct RAD_GPTP_SETTINGS
{
public UInt32 neighborPropDelayThresh;
public UInt32 sys_phc_sync_interval;
public byte logPDelayReqInterval;
public byte logSyncInterval;
public byte logAnnounceInterval;
public byte profile;
public byte priority1;
public byte clockclass;
public byte clockaccuracy;
public byte priority2;
public UInt16 offset_scaled_log_variance;
public byte gPTPportRole;
public byte gptpEnabledPort;
public UInt32 rsvd0;
public UInt32 rsvd1;
public UInt32 rsvd2;
public UInt32 rsvd3;
}
Remarks
Last updated