⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ptpd.h

📁 IEEE 1588-2002编程源码
💻 H
字号:
/* ptpd.h */#ifndef PTPD_H#define PTPD_H#include "constants.h"#include "dep/constants_dep.h"#include "dep/datatypes_dep.h"#include "datatypes.h"#include "dep/ptpd_dep.h"/* arith.c */UInteger32 crc_algorithm(const Octet*,Integer16);Integer16 log2_256(UInteger32);void sub_pos_times(TimeRepresentation*,TimeRepresentation*,TimeRepresentation*);void add_pos_times(TimeRepresentation*,TimeRepresentation*,TimeRepresentation*);void subTime(TimeRepresentation*,TimeRepresentation*,TimeRepresentation*);void addTime(TimeRepresentation*,TimeRepresentation*,TimeRepresentation*);void divTime(TimeRepresentation*,TimeRepresentation*,Integer32);/* bmc.c */UInteger8 bmc(ForeignMasterRecord*,RunTimeOpts*,PtpClock*);void M1(PtpClock*);void S1(MsgHeader*,MsgSync*,PtpClock*);/* protocol.c */void protocol(RunTimeOpts*,PtpClock*);/* timer.c */void timerUpdate(Integer16,IntervalTimer*);void timerStop(UInteger16,IntervalTimer*);void timerStart(UInteger16,UInteger16,IntervalTimer*);Boolean timerExpired(UInteger16,IntervalTimer*);#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -