flexPTP 1.0
An IEEE 1588 PTP implementation designed for microcontrollers
Loading...
Searching...
No Matches
common.h
Go to the documentation of this file.
1
10#ifndef FLEXPTP_COMMON
11#define FLEXPTP_COMMON
12
13#include "ptp_types.h"
14
19
24
31
37void ptp_send_pdelay_resp(const RawPtpMessage *pMsg);
38
46void ptp_compute_mean_path_delay_e2e(const TimestampI *pTs, const uint64_t *pCf, TimestampI *pMPD);
47
55void ptp_compute_mean_path_delay_p2p(const TimestampI *pTs, const uint64_t *pCf, TimestampI *pMPD);
56
60void ptp_common_reset();
61
62#endif /* FLEXPTP_COMMON */
void ptp_send_pdelay_resp_follow_up(const RawPtpMessage *pMsg)
Definition: common.c:61
void ptp_common_reset()
Definition: common.c:156
void ptp_compute_mean_path_delay_p2p(const TimestampI *pTs, const uint64_t *pCf, TimestampI *pMPD)
Definition: common.c:141
void ptp_compute_mean_path_delay_e2e(const TimestampI *pTs, const uint64_t *pCf, TimestampI *pMPD)
Definition: common.c:128
void ptp_send_delay_req_message()
Definition: common.c:39
void ptp_init_delay_req_header()
Definition: common.c:20
void ptp_send_pdelay_resp(const RawPtpMessage *pMsg)
Definition: common.c:91
This module defines the fundamental PTP message and state machine type, flags, bitfields and the PTP ...
Raw PTP message structure.
Definition: ptp_types.h:162
Timestamp (signed)
Definition: timeutils.h:29