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 */
72 * ptp_classify_raw - classify a PTP packet
76 * determine the PTP class. In case the skb does not contain any
77 * PTP protocol data, PTP_CLASS_NONE will be returned, otherwise
84 * ptp_parse_header - Get pointer to the PTP v2 header
94 * Return: Pointer to the ptp v2 header or NULL if not found
99 * ptp_get_msgtype - Extract ptp message type from given header
100 * @hdr: ptp header
103 * This function returns the message type for a given ptp header. It takes care
104 * of the different ptp header versions (v1 or v2).
114 /* msg type is located at the control field for ptp v1 */ in ptp_get_msgtype()