flexPTP
1.0
An IEEE 1588 PTP implementation designed for microcontrollers
Loading...
Searching...
No Matches
bmca.h
Go to the documentation of this file.
1
9
#ifndef FLEXPTP_SBMC_H_
10
#define FLEXPTP_SBMC_H_
11
12
#include "
ptp_types.h
"
13
22
int
ptp_select_better_master
(
PtpMasterProperties
* pMP1,
PtpMasterProperties
* pMP2);
23
30
void
ptp_handle_announce_msg
(
PtpAnnounceBody
*pAnn,
PtpHeader
*pHeader);
31
35
void
ptp_bmca_init
();
36
40
void
ptp_bmca_destroy
();
41
45
void
ptp_bmca_reset
();
46
50
void
ptp_bmca_tick
();
51
52
#endif
/* FLEXPTP_SBMC_H_ */
ptp_bmca_destroy
void ptp_bmca_destroy()
Definition:
bmca.c:205
ptp_bmca_tick
void ptp_bmca_tick()
Definition:
bmca.c:72
ptp_bmca_init
void ptp_bmca_init()
Definition:
bmca.c:191
ptp_bmca_reset
void ptp_bmca_reset()
Definition:
bmca.c:209
ptp_handle_announce_msg
void ptp_handle_announce_msg(PtpAnnounceBody *pAnn, PtpHeader *pHeader)
Definition:
bmca.c:135
ptp_select_better_master
int ptp_select_better_master(PtpMasterProperties *pMP1, PtpMasterProperties *pMP2)
Definition:
bmca.c:31
ptp_types.h
This module defines the fundamental PTP message and state machine type, flags, bitfields and the PTP ...
PtpAnnounceBody
Contents of a PTP Announce message without the common PTP header.
Definition:
ptp_types.h:236
PtpHeader
PTP message header structure.
Definition:
ptp_types.h:73
src
flexptp
bmca.h
Generated by
1.9.6