Lines Matching full:correction
75 __be64 correction; member
155 * ptp_header_update_correction - Update PTP header's correction field
159 * @correction: new correction value
161 * This updates the correction field of a PTP header and updates the UDP
163 * one-step P2P that does not already modify the correction field of Pdelay_Req
168 struct ptp_header *hdr, s64 correction) in ptp_header_update_correction() argument
173 /* previous correction value is required for checksum update. */ in ptp_header_update_correction()
174 memcpy(&correction_old, &hdr->correction, sizeof(correction_old)); in ptp_header_update_correction()
176 /* write new correction value */ in ptp_header_update_correction()
177 put_unaligned_be64((u64)correction, &hdr->correction); in ptp_header_update_correction()
191 hdr->correction, in ptp_header_update_correction()
239 struct ptp_header *hdr, s64 correction) in ptp_header_update_correction() argument