Searched refs:ptp_hdr (Results 1 – 2 of 2) sorted by relevance
203 struct ptp_header *ptp_hdr; in ksz_xmit_timestamp() local218 ptp_hdr = ptp_parse_header(skb, ptp_type); in ksz_xmit_timestamp()219 if (!ptp_hdr) in ksz_xmit_timestamp()222 correction = (s64)get_unaligned_be64(&ptp_hdr->correction); in ksz_xmit_timestamp()231 ptp_header_update_correction(skb, ptp_type, ptp_hdr, 0); in ksz_xmit_timestamp()
463 struct ptp_header *ptp_hdr; in ksz_port_rxtstamp() local478 ptp_hdr = ptp_parse_header(skb, type); in ksz_port_rxtstamp()479 if (!ptp_hdr) in ksz_port_rxtstamp()482 ptp_msg_type = ptp_get_msgtype(ptp_hdr, type); in ksz_port_rxtstamp()491 correction = (s64)get_unaligned_be64(&ptp_hdr->correction); in ksz_port_rxtstamp()494 ptp_header_update_correction(skb, type, ptp_hdr, correction); in ksz_port_rxtstamp()