Searched refs:ptp_header (Results 1 – 18 of 18) sorted by relevance
| /linux/include/linux/ |
| H A D | ptp_classify.h | 68 struct ptp_header { struct 109 struct ptp_header *ptp_parse_header(struct sk_buff *skb, unsigned int type); 121 static inline u8 ptp_get_msgtype(const struct ptp_header *hdr, in ptp_get_msgtype() 168 struct ptp_header *hdr, s64 correction) in ptp_header_update_correction() 219 static inline struct ptp_header *ptp_parse_header(struct sk_buff *skb, in ptp_parse_header() 224 static inline u8 ptp_get_msgtype(const struct ptp_header *hdr, in ptp_get_msgtype() 239 struct ptp_header *hdr, s64 correction) in ptp_header_update_correction()
|
| /linux/net/core/ |
| H A D | ptp_classifier.c | 110 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()
|
| H A D | flow_dissector.c | 1474 struct ptp_header *hdr, _hdr; in __skb_flow_dissect() 1483 nhoff += sizeof(struct ptp_header); in __skb_flow_dissect()
|
| /linux/drivers/net/phy/ |
| H A D | microchip_rds_ptp.c | 349 struct ptp_header *ptp_header; in mchp_rds_ptp_get_sig_rx() local 357 ptp_header = ptp_parse_header(skb, type); in mchp_rds_ptp_get_sig_rx() 358 if (!ptp_header) in mchp_rds_ptp_get_sig_rx() 363 *sig = (__force u16)(ntohs(ptp_header->sequence_id)); in mchp_rds_ptp_get_sig_rx() 916 struct ptp_header *ptp_header; in mchp_rds_ptp_get_sig_tx() local 923 ptp_header = ptp_parse_header(skb, type); in mchp_rds_ptp_get_sig_tx() 924 if (!ptp_header) in mchp_rds_ptp_get_sig_tx() 927 *sig = (__force u16)(ntohs(ptp_header->sequence_id)); in mchp_rds_ptp_get_sig_tx()
|
| H A D | micrel.c | 3307 struct ptp_header *ptp_header; in lan8814_get_sig_rx() local 3312 ptp_header = ptp_parse_header(skb, type); in lan8814_get_sig_rx() 3315 if (!ptp_header) in lan8814_get_sig_rx() 3318 *sig = (__force u16)(ntohs(ptp_header->sequence_id)); in lan8814_get_sig_rx() 3990 struct ptp_header *ptp_header; in lan8814_get_sig_tx() local 3994 ptp_header = ptp_parse_header(skb, type); in lan8814_get_sig_tx() 3996 if (!ptp_header) in lan8814_get_sig_tx() 3999 *sig = (__force u16)(ntohs(ptp_header->sequence_id)); in lan8814_get_sig_tx() 5177 struct ptp_header *header = ptp_parse_header(skb, type); in lan8841_rxtstamp()
|
| H A D | dp83640.c | 797 struct ptp_header *hdr; in match()
|
| /linux/drivers/ptp/ |
| H A D | ptp_ines.c | 454 struct ptp_header *hdr; in ines_match() 684 struct ptp_header *hdr; in is_sync_pdelay_resp()
|
| /linux/net/dsa/ |
| H A D | tag_ksz.c | 207 struct ptp_header *ptp_hdr; in ksz_xmit_timestamp()
|
| /linux/drivers/net/ethernet/microchip/sparx5/ |
| H A D | sparx5_ptp.c | 155 struct ptp_header *header; in sparx5_ptp_classify()
|
| /linux/drivers/net/ethernet/ti/ |
| H A D | cpts.c | 437 struct ptp_header *hdr; in cpts_skb_get_mtype_seqid()
|
| H A D | am65-cpts.c | 899 struct ptp_header *hdr; in am65_skb_get_mtype_seqid()
|
| /linux/drivers/net/ethernet/microchip/lan966x/ |
| H A D | lan966x_ptp.c | 331 struct ptp_header *header; in lan966x_ptp_classify()
|
| /linux/drivers/net/ethernet/broadcom/bnxt/ |
| H A D | bnxt_ptp.c | 40 struct ptp_header *hdr; in bnxt_ptp_parse()
|
| /linux/drivers/net/ethernet/mellanox/mlxsw/ |
| H A D | spectrum_ptp.c | 490 struct ptp_header *hdr; in mlxsw_sp_ptp_parse()
|
| /linux/drivers/net/ethernet/freescale/enetc/ |
| H A D | enetc.c | 166 struct ptp_header *hdr; in enetc_ptp_parse() 189 *body_offset = (u8 *)hdr + sizeof(struct ptp_header) - base; in enetc_ptp_parse()
|
| /linux/drivers/net/ethernet/freescale/dpaa2/ |
| H A D | dpaa2-eth.c | 766 struct ptp_header *hdr; in dpaa2_eth_ptp_parse() 790 *origintimestamp_offset = (u8 *)hdr + sizeof(struct ptp_header) - base; in dpaa2_eth_ptp_parse()
|
| /linux/drivers/net/ethernet/cadence/ |
| H A D | macb_main.c | 1144 struct ptp_header *hdr; in ptp_one_step_sync()
|
| /linux/drivers/net/ethernet/marvell/mvpp2/ |
| H A D | mvpp2_main.c | 4114 struct ptp_header *hdr; in mvpp2_tx_hw_tstamp()
|