Searched refs:ptp_header (Results 1 – 14 of 14) 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 | 1479 struct ptp_header *hdr, _hdr; in __skb_flow_dissect() 1488 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 | 3425 struct ptp_header *ptp_header; in lan8814_get_sig_rx() local 3430 ptp_header = ptp_parse_header(skb, type); in lan8814_get_sig_rx() 3433 if (!ptp_header) in lan8814_get_sig_rx() 3436 *sig = (__force u16)(ntohs(ptp_header->sequence_id)); in lan8814_get_sig_rx() 4108 struct ptp_header *ptp_header; in lan8814_get_sig_tx() local 4112 ptp_header = ptp_parse_header(skb, type); in lan8814_get_sig_tx() 4114 if (!ptp_header) in lan8814_get_sig_tx() 4117 *sig = (__force u16)(ntohs(ptp_header->sequence_id)); in lan8814_get_sig_tx() 5296 struct ptp_header *header = ptp_parse_header(skb, type); in lan8841_rxtstamp()
|
| H A D | dp83640.c | 792 struct ptp_header *hdr; in match()
|
| /linux/net/dsa/ |
| H A D | tag_ksz.c | 150 struct ptp_header *ptp_hdr; in ksz_xmit_timestamp() 417 struct ptp_header *ptp_hdr; in ksz8463_rcv()
|
| /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/drivers/net/dsa/microchip/ |
| H A D | ksz_ptp.c | 559 struct ptp_header *ptp_hdr; in ksz_port_rxtstamp() 599 struct ptp_header *hdr; in ksz_port_txtstamp() 668 struct ptp_header *hdr; in ksz8463_set_pdelayresp_flag()
|
| /linux/drivers/net/ethernet/ti/ |
| H A D | cpts.c | 437 struct ptp_header *hdr; in cpts_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/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()
|