All pages
Powered by GitBook
1 of 1

Loading...

port_identity Structure

This structure defines port_Identity for gPTP

typedef struct __declspec (align(1))
{
   uint64_t clock_identity;
   uint16_t port_number;
}port_identity; 
<StructLayout(LayoutKind.Sequential, Pack:=1)> Public Structure port_identity
   Dim clock_identity As UInt64
   Dim port_number As UInt16
End Structure [StructLayout(LayoutKind.Sequential,Pack=1)]
[StructLayout(LayoutKind.Sequential,Pack=1)]
public struct port_identity
{
   public UInt64 clock_identity;
   public UInt16 port_number;
}

Remarks

Item
Description

clock_identity

clockIdentity attribute is defined in 7.5.2.2 of IEEE Std 1588-2019

port_number

portNumber represents the PTP ports on the network.