Home
last modified time | relevance | path

Searched refs:ptp_header (Results 1 – 21 of 21) sorted by relevance

/linux-6.1.9/include/linux/
Dptp_classify.h64 struct ptp_header { struct
105 struct ptp_header *ptp_parse_header(struct sk_buff *skb, unsigned int type);
117 static inline u8 ptp_get_msgtype(const struct ptp_header *hdr, in ptp_get_msgtype()
152 static inline struct ptp_header *ptp_parse_header(struct sk_buff *skb, in ptp_parse_header()
157 static inline u8 ptp_get_msgtype(const struct ptp_header *hdr, in ptp_get_msgtype()
/linux-6.1.9/net/core/
Dptp_classifier.c110 struct ptp_header *ptp_parse_header(struct sk_buff *skb, unsigned int type) in ptp_parse_header()
133 if (ptr + sizeof(struct ptp_header) > skb->data + skb->len) in ptp_parse_header()
136 return (struct ptp_header *)ptr; in ptp_parse_header()
142 struct ptp_header *hdr; in ptp_msg_is_sync()
Dflow_dissector.c1360 struct ptp_header *hdr, _hdr; in __skb_flow_dissect()
/linux-6.1.9/drivers/net/dsa/hirschmann/
Dhellcreek_hwtstamp.c153 static struct ptp_header *hellcreek_should_tstamp(struct hellcreek *hellcreek, in hellcreek_should_tstamp()
159 struct ptp_header *hdr; in hellcreek_should_tstamp()
171 static u64 hellcreek_get_reserved_field(const struct ptp_header *hdr) in hellcreek_get_reserved_field()
176 static void hellcreek_clear_reserved_field(struct ptp_header *hdr) in hellcreek_clear_reserved_field()
315 struct ptp_header *hdr; in hellcreek_get_rxts()
377 struct ptp_header *hdr; in hellcreek_port_txtstamp()
420 struct ptp_header *hdr; in hellcreek_port_rxtstamp()
/linux-6.1.9/drivers/net/dsa/mv88e6xxx/
Dhwtstamp.c213 static struct ptp_header *mv88e6xxx_should_tstamp(struct mv88e6xxx_chip *chip, in mv88e6xxx_should_tstamp()
218 struct ptp_header *hdr; in mv88e6xxx_should_tstamp()
245 struct ptp_header *hdr; in seq_match()
326 static int is_pdelay_resp(const struct ptp_header *hdr) in is_pdelay_resp()
336 struct ptp_header *hdr; in mv88e6xxx_port_rxtstamp()
472 struct ptp_header *hdr; in mv88e6xxx_port_txtstamp()
/linux-6.1.9/drivers/net/phy/
Dmicrel.c2297 struct ptp_header *ptp_header; in lan8814_get_sig_rx() local
2302 ptp_header = ptp_parse_header(skb, type); in lan8814_get_sig_rx()
2305 *sig = (__force u16)(ntohs(ptp_header->sequence_id)); in lan8814_get_sig_rx()
2599 struct ptp_header *ptp_header; in lan8814_get_sig_tx() local
2603 ptp_header = ptp_parse_header(skb, type); in lan8814_get_sig_tx()
2605 *sig = (__force u16)(ntohs(ptp_header->sequence_id)); in lan8814_get_sig_tx()
Dnxp-c45-tja11xx.c200 struct ptp_header *header;
359 static bool nxp_c45_match_ts(struct ptp_header *header, in nxp_c45_match_ts()
717 struct ptp_header *header = ptp_parse_header(skb, type); in nxp_c45_rxtstamp()
Dbcm-phy-ptp.c390 struct ptp_header *header; in bcm_ptp_rxtstamp()
749 struct ptp_header *hdr; in bcm_ptp_txtstamp()
Ddp83640.c814 struct ptp_header *hdr; in match()
/linux-6.1.9/drivers/ptp/
Dptp_ines.c434 struct ptp_header *hdr; in ines_match()
668 struct ptp_header *hdr; in is_sync_pdelay_resp()
/linux-6.1.9/drivers/net/ethernet/mscc/
Docelot_ptp.c624 struct ptp_header *hdr; in ocelot_ptp_is_onestep_sync()
714 struct ptp_header *hdr; in ocelot_validate_ptp_skb()
/linux-6.1.9/drivers/net/ethernet/microchip/sparx5/
Dsparx5_ptp.c153 struct ptp_header *header; in sparx5_ptp_classify()
/linux-6.1.9/drivers/net/ethernet/microchip/lan966x/
Dlan966x_ptp.c112 struct ptp_header *header; in lan966x_ptp_classify()
/linux-6.1.9/drivers/net/ethernet/ti/
Dcpts.c449 struct ptp_header *hdr; in cpts_skb_get_mtype_seqid()
Dam65-cpts.c753 struct ptp_header *hdr; in am65_skb_get_mtype_seqid()
/linux-6.1.9/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ptp.c39 struct ptp_header *hdr; in bnxt_ptp_parse()
/linux-6.1.9/drivers/net/ethernet/freescale/enetc/
Denetc.c98 struct ptp_header *hdr; in enetc_ptp_parse()
121 *body_offset = (u8 *)hdr + sizeof(struct ptp_header) - base; in enetc_ptp_parse()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_ptp.c501 struct ptp_header *hdr; in mlxsw_sp_ptp_parse()
/linux-6.1.9/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-eth.c732 struct ptp_header *hdr; in dpaa2_eth_ptp_parse()
756 *origintimestamp_offset = (u8 *)hdr + sizeof(struct ptp_header) - base; in dpaa2_eth_ptp_parse()
/linux-6.1.9/drivers/net/ethernet/cadence/
Dmacb_main.c1130 struct ptp_header *hdr; in ptp_one_step_sync()
/linux-6.1.9/drivers/net/ethernet/marvell/mvpp2/
Dmvpp2_main.c4084 struct ptp_header *hdr; in mvpp2_tx_hw_tstamp()