Lines Matching full:ptp
3 * PTP 1588 support
5 * This file implements a BPF that recognizes PTP event messages.
20 #define PTP_CLASS_NONE 0x00 /* not a PTP event message */
50 /* PTP header flag fields */
85 * ptp_classify_raw - classify a PTP packet
89 * determine the PTP class. In case the skb does not contain any
90 * PTP protocol data, PTP_CLASS_NONE will be returned, otherwise
97 * ptp_parse_header - Get pointer to the PTP v2 header
107 * Return: Pointer to the ptp v2 header or NULL if not found
112 * ptp_get_msgtype - Extract ptp message type from given header
113 * @hdr: ptp header
116 * This function returns the message type for a given ptp header. It takes care
117 * of the different ptp header versions (v1 or v2).
127 /* msg type is located at the control field for ptp v1 */ in ptp_get_msgtype()
155 * ptp_header_update_correction - Update PTP header's correction field
158 * @hdr: ptp header
161 * This updates the correction field of a PTP header and updates the UDP
200 * ptp_msg_is_sync - Evaluates whether the given skb is a PTP Sync message
204 * This function evaluates whether the given skb is a PTP Sync message.