mbgtools-lx  4.2.8
NTP interface definitions

Modules

 NTP Leap Bits
 

Data Structures

struct  shmTime
 Structure of NTP's shared memory segment. More...
 

Macros

#define MAX_SHM_REFCLOCKS   4
 Number of units (refclocks) supported by the SMH segment. More...
 
#define MAX_SHM_UNIT_OFFSET   128
 Max. Number of SHM unit offset. More...
 
#define NTPD_BASE   0x4e545030
 Basic SHM unit identifier (unit 0) More...
 

Detailed Description

Note
These definitions have been copied from the NTP source code (http://www.ntp.org)

Macro Definition Documentation

◆ MAX_SHM_REFCLOCKS

#define MAX_SHM_REFCLOCKS   4

Number of units (refclocks) supported by the SMH segment.

Definition at line 106 of file ntp_shm.h.

Referenced by do_mbgsvctasks(), and main().

◆ MAX_SHM_UNIT_OFFSET

#define MAX_SHM_UNIT_OFFSET   128

Max. Number of SHM unit offset.

Definition at line 112 of file ntp_shm.h.

Referenced by main().

◆ NTPD_BASE

#define NTPD_BASE   0x4e545030

Basic SHM unit identifier (unit 0)

"NTP0"

Definition at line 118 of file ntp_shm.h.

Referenced by getShmTime().