Ptp packet over udp/ipv4 – Altera Low Latency Ethernet 10G MAC User Manual
Page 50

Figure 3-23: PTP Packet in IEEE 802.3
flagField
correctionField
transportSpecific | messageType
reserved | versionPTP
reserved
1 Octet
1 Octet
1 Octet
2 Octets
8 Octets
reserved
4 Octets
SourcePortIdentify
10 Octets
sequenceId
2 Octets
controlField
1 Octet
logMessageInterval
1 Octet
TimeStamp
Payload
10 Octets
domainNumber
messageLength
2 Octets
1 Octet
Length/Type = 0x88F7
Source Address
Destination Address
2 Octets
6 Octets
6 Octets
MAC Header
PTP Header
0..1500/9600 Octets
CRC
Note:
(1) For packets with VLAN or Stacked VLAN tag, add 4 or 8 octets offsets before the length/type field.
4 Octets
(1)
PTP Packet over UDP/IPv4
The following figure shows the format of the PTP packet encapsulated in UDP/IPv4. Checksum calcula‐
tion is optional for the UDP/IPv4 protocol. The 1588v2 TX logic should set the checksum to zero.
3-28
PTP Packet over UDP/IPv4
UG-01144
2014.12.15
Altera Corporation
Functional Description of LL Ethernet 10G MAC