<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.