
Chapter 7: Functional Description 7–27
IEEE 1588v2
February 2014 Altera Corporation 10-Gbps Ethernet MAC MegaCore Function User Guide
7.9.4.3. PTP Packet over UDP/IPv6
Figure 7–16 shows the format of the PTP packet transported over the UDP/IPv6
protocol. Checksum calculation is mandatory for the UDP/IPv6 protocol. You must
extend 2 bytes at the end of the UDP payload of the PTP packet. The MAC function
modifies the extended bytes to ensure that the UDP checksum remains
uncompromised.
Figure 7–16. PTP Packet over UDP/IPv6
Note to Figure 7–16:
(1) For packets with VLAN or Stacked VLAN tag, add 4 or 8 octets offsets before the length/type field.
Version | Traffic Class | Flow Label
Payload Length
4 Octet
2 Octets
Source IP Address16 Octets
Destination IP Address16 Octets
Source Port2 Octets
Destination Port = 319 / 3202 Octets
Hop Limit
Next Header = 0x111 Octet
1 Octet
Length/Type = 0x86DD
Source Address
Destination Address
2 Octets
6 Octets
6 Octets
Checksum
Length
2 Octets
2 Octets
flagField
correctionField
transportSpecific | messageType
reserved | versionPTP
reserved
1 Octet
1 Octet
1 Octet
2 Octets
8 Octets
reserved4 Octets
SourcePortIdentify10 Octets
sequenceId2 Octets
controlField1 Octet
logMessageInterval1 Octet
TimeStamp
Payload
10 Octets
0..1500/9600 Octets
extended bytes2 Octets
CRC4 Octets
domainNumber
messageLength2 Octets
1 Octet
MAC Header
UDP Header
IP Header
PTP Header
(1)
Kommentare zu diesen Handbüchern