Enhanced Three-Speed Ethernet Controllers
sample point is a consistent number of bit times relative to the SFD detection. Thus, the offset from the
[1558] specified sample point can be accounted for in the PTP software implementation.
15.6.6.4
PTP Packet Parsing
PTP packets are typically embedded within a UDP payload with special IP source and destination address
and special source and destination ports numbers. Special fields of interest of a PTP packet are listed in
Table
15-159.
Octet
Layer
(Offset from
the SFD)
Ethernet
12-13
IP header
22
IP header
23
IP header
26-29
IP header
30-33
UDP
34-35
header
UDP
36-37
header
UDP data
74
MPC8313E PowerQUICC II Pro Integrated Processor Family Reference Manual, Rev. 3
15-182
Table 15-159. PTP Payload Special Fields
Field
Length/Packet
Time to live
IP Protocol
Source IP Address
IANA defines 4 multicast
address for the PTP packet
Destination IP Address
IANA defines 4 multicast
address for the PTP packet
Source port number
Destination port number
Control
eTSEC filer
Value
PID
ETY-RQPFR[P
0x0800
ID=0111]
RBIFX- choose
0x00
an arbitrary
extraction byte
L4P-RQPFR[P
0x11
ID=1011]
SIA-RQPFR[PI
D=1101]
224.0.1.129
224.0.1.130
DIA-RQPFR[PI
224.0.1.131
D=1100]
224.0.1.132
SPT-RQPFR[P
ID=1011]
319
DPT-RQPFR[P
320
ID=1011]
0x0
0x1
RBIFX- choose
0x2
an arbitrary
0x3
extraction byte
0x4
Comments
IPv4
Must be 0
UDP
DefaultPTPdomain
AlternatePTPdomain1
AlternatePTPdomain2
AlternatePTPdomain3
EventPort
GeneralPort
Sync
Delay_req
Follow_up
Delay_resp
Management
Freescale Semiconductor