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
15#ifdef __cplusplus
16extern "C" {
17#endif
18
23
28
35
41void ptp_send_pdelay_resp(const RawPtpMessage *pMsg);
42
50void ptp_compute_mean_path_delay_e2e(const TimestampI *pTs, const uint64_t *pCf, TimestampI *pMPD);
51
59void ptp_compute_mean_path_delay_p2p(const TimestampI *pTs, const uint64_t *pCf, TimestampI *pMPD);
60
64void ptp_common_reset();
65
66#ifdef __cplusplus
67}
68#endif
69
70#endif /* FLEXPTP_COMMON */
void ptp_send_pdelay_resp_follow_up(const RawPtpMessage *pMsg)
Definition: common.c:69
void ptp_common_reset()
Definition: common.c:167
void ptp_compute_mean_path_delay_p2p(const TimestampI *pTs, const uint64_t *pCf, TimestampI *pMPD)
Definition: common.c:152
void ptp_compute_mean_path_delay_e2e(const TimestampI *pTs, const uint64_t *pCf, TimestampI *pMPD)
Definition: common.c:139
void ptp_send_delay_req_message()
Definition: common.c:44
void ptp_init_delay_req_header()
Definition: common.c:24
void ptp_send_pdelay_resp(const RawPtpMessage *pMsg)
Definition: common.c:101
This module defines the fundamental PTP message and state machine type, flags, bitfields and the PTP ...
Timestamp (signed)
Definition: timeutils.h:33