Lines Matching refs:gptp_hdr
539 static struct gptp_hdr *check_gptp_msg(struct net_if *iface, in check_gptp_msg()
544 struct gptp_hdr *gptp_hdr; in check_gptp_msg() local
565 gptp_hdr = (struct gptp_hdr *)pkt->frags->frags->data; in check_gptp_msg()
567 gptp_hdr = (struct gptp_hdr *)(pkt->frags->data + eth_hlen); in check_gptp_msg()
570 return gptp_hdr; in check_gptp_msg()
573 static bool need_timestamping(struct gptp_hdr *hdr) in need_timestamping()
584 static void update_pkt_priority(struct gptp_hdr *hdr, struct net_pkt *pkt) in update_pkt_priority()
648 static inline void timestamp_tx_pkt(Gmac *gmac, struct gptp_hdr *hdr, in timestamp_tx_pkt()
668 static inline void timestamp_rx_pkt(Gmac *gmac, struct gptp_hdr *hdr, in timestamp_rx_pkt()
708 struct gptp_hdr *hdr; in tx_completed()
1343 struct gptp_hdr *hdr; in eth_rx()
1421 struct gptp_hdr *hdr; in eth_tx()