Home
last modified time | relevance | path

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

/linux/include/linux/
A Dptp_classify.h61 struct ptp_header { struct
102 struct ptp_header *ptp_parse_header(struct sk_buff *skb, unsigned int type);
114 static inline u8 ptp_get_msgtype(const struct ptp_header *hdr, in ptp_get_msgtype()
138 static inline struct ptp_header *ptp_parse_header(struct sk_buff *skb, in ptp_parse_header()
143 static inline u8 ptp_get_msgtype(const struct ptp_header *hdr, in ptp_get_msgtype()
/linux/net/core/
A 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()
A Dflow_dissector.c1270 struct ptp_header *hdr, _hdr; in __skb_flow_dissect()
/linux/drivers/net/dsa/hirschmann/
A Dhellcreek_hwtstamp.c157 static struct ptp_header *hellcreek_should_tstamp(struct hellcreek *hellcreek, in hellcreek_should_tstamp()
163 struct ptp_header *hdr; in hellcreek_should_tstamp()
175 static u64 hellcreek_get_reserved_field(const struct ptp_header *hdr) in hellcreek_get_reserved_field()
180 static void hellcreek_clear_reserved_field(struct ptp_header *hdr) in hellcreek_clear_reserved_field()
319 struct ptp_header *hdr; in hellcreek_get_rxts()
381 struct ptp_header *hdr; in hellcreek_port_txtstamp()
424 struct ptp_header *hdr; in hellcreek_port_rxtstamp()
/linux/drivers/net/dsa/mv88e6xxx/
A Dhwtstamp.c217 static struct ptp_header *mv88e6xxx_should_tstamp(struct mv88e6xxx_chip *chip, in mv88e6xxx_should_tstamp()
222 struct ptp_header *hdr; in mv88e6xxx_should_tstamp()
249 struct ptp_header *hdr; in seq_match()
330 static int is_pdelay_resp(const struct ptp_header *hdr) in is_pdelay_resp()
340 struct ptp_header *hdr; in mv88e6xxx_port_rxtstamp()
476 struct ptp_header *hdr; in mv88e6xxx_port_txtstamp()
/linux/drivers/net/phy/
A Dnxp-c45-tja11xx.c177 struct ptp_header *header;
333 static bool nxp_c45_match_ts(struct ptp_header *header, in nxp_c45_match_ts()
497 struct ptp_header *header = ptp_parse_header(skb, type); in nxp_c45_rxtstamp()
A Ddp83640.c814 struct ptp_header *hdr; in match()
975 struct ptp_header *hdr; in is_sync()
/linux/drivers/ptp/
A Dptp_ines.c438 struct ptp_header *hdr; in ines_match()
672 struct ptp_header *hdr; in is_sync_pdelay_resp()
/linux/drivers/net/ethernet/broadcom/bnxt/
A Dbnxt_ptp.c25 struct ptp_header *hdr; in bnxt_ptp_parse()
/linux/drivers/net/ethernet/ti/
A Dcpts.c449 struct ptp_header *hdr; in cpts_skb_get_mtype_seqid()
A Dam65-cpts.c753 struct ptp_header *hdr; in am65_skb_get_mtype_seqid()
/linux/drivers/net/ethernet/mellanox/mlxsw/
A Dspectrum_ptp.c318 struct ptp_header *hdr; in mlxsw_sp_ptp_parse()
/linux/drivers/net/ethernet/mscc/
A Docelot.c744 struct ptp_header *hdr; in ocelot_ptp_is_onestep_sync()
834 struct ptp_header *hdr; in ocelot_validate_ptp_skb()
/linux/drivers/net/ethernet/freescale/enetc/
A 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/drivers/net/ethernet/freescale/dpaa2/
A Ddpaa2-eth.c662 struct ptp_header *hdr; in dpaa2_eth_ptp_parse()
686 *origintimestamp_offset = (u8 *)hdr + sizeof(struct ptp_header) - base; in dpaa2_eth_ptp_parse()
/linux/drivers/net/ethernet/marvell/mvpp2/
A Dmvpp2_main.c4081 struct ptp_header *hdr; in mvpp2_tx_hw_tstamp()

Completed in 55 milliseconds