Lines Matching defs:hdr
218 struct ptp_header *hdr;
223 hdr = ptp_parse_header(skb, type);
224 if (!hdr)
230 return hdr;
245 struct ptp_header *hdr;
247 hdr = ptp_parse_header(skb, type);
249 return ts_seqid == ntohs(hdr->sequence_id);
326 static int is_pdelay_resp(const struct ptp_header *hdr)
328 return (hdr->tsmt & 0xf) == 3;
336 struct ptp_header *hdr;
344 hdr = mv88e6xxx_should_tstamp(chip, port, skb, type);
345 if (!hdr)
350 if (is_pdelay_resp(hdr))
472 struct ptp_header *hdr;
480 hdr = mv88e6xxx_should_tstamp(chip, port, skb, type);
481 if (!hdr)
496 ps->tx_seq_id = be16_to_cpu(hdr->sequence_id);