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 | 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 | micrel.c | 3265 struct ptp_header *ptp_header; in lan8814_get_sig_rx() local 3270 ptp_header = ptp_parse_header(skb, type); in lan8814_get_sig_rx() 3273 if (!ptp_header) in lan8814_get_sig_rx() 3276 *sig = (__force u16)(ntohs(ptp_header->sequence_id)); in lan8814_get_sig_rx() 3948 struct ptp_header *ptp_header; in lan8814_get_sig_tx() local 3952 ptp_header = ptp_parse_header(skb, type); in lan8814_get_sig_tx() 3954 if (!ptp_header) in lan8814_get_sig_tx() 3957 *sig = (__force u16)(ntohs(ptp_header->sequence_id)); in lan8814_get_sig_tx() 5125 struct ptp_header *header = ptp_parse_header(skb, type); in lan8841_rxtstamp()
|
| /linux/net/dsa/ |
| H A D | tag_ksz.c | 207 struct ptp_header *ptp_hdr; in ksz_xmit_timestamp()
|
| /linux/drivers/net/dsa/microchip/ |
| H A D | ksz_ptp.c | 457 struct ptp_header *ptp_hdr; in ksz_port_rxtstamp() 497 struct ptp_header *hdr; in ksz_port_txtstamp()
|
| /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/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 | 1146 struct ptp_header *hdr; in ptp_one_step_sync()
|