Lines Matching full:ptp
3 * PTP 1588 support
5 * This file implements a BPF that recognizes PTP event messages.
16 #define PTP_CLASS_NONE 0x00 /* not a PTP event message */
46 /* PTP header flag fields */
81 * ptp_classify_raw - classify a PTP packet
85 * determine the PTP class. In case the skb does not contain any
86 * PTP protocol data, PTP_CLASS_NONE will be returned, otherwise
93 * ptp_parse_header - Get pointer to the PTP v2 header
103 * Return: Pointer to the ptp v2 header or NULL if not found
108 * ptp_get_msgtype - Extract ptp message type from given header
109 * @hdr: ptp header
112 * This function returns the message type for a given ptp header. It takes care
113 * of the different ptp header versions (v1 or v2).
123 /* msg type is located at the control field for ptp v1 */ in ptp_get_msgtype()
133 * ptp_msg_is_sync - Evaluates whether the given skb is a PTP Sync message
137 * This function evaluates whether the given skb is a PTP Sync message.